Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.eslintrc.js - github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 95e9885c159bbc802edfb6ec6e8364028cf26a92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
	extends: [
		'plugin:promise/recommended',
		'plugin:vue/essential',
		'@nextcloud',
	],
	plugins: [
		'promise',
	],
	rules: {
		'arrow-parens': 'error',
		'arrow-body-style': 'error',
		'brace-style': 'error',
		'newline-per-chained-call': ['error', { ignoreChainWithDepth: 4 }],
		'no-array-constructor': 'error',
		'no-continue': 'error',
		'no-else-return': ['error', { allowElseIf: false }],
		'no-lonely-if': 'error',
		'no-negated-condition': 'error',
		'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
		'object-curly-spacing': ['error', 'always'],
		'prefer-template': 'error',
		'vue/no-unused-properties': ['error', {
			groups: ['props', 'data', 'computed', 'methods'],
			deepData: true,
			ignorePublicMembers: true,
		}],
	},
}