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: ef544223cf388970779f6a9c86e56bf9aaf16c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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',
		'no-lonely-if': 'error',
		'no-negated-condition': 'error',
		'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
		'object-curly-spacing': ['error', 'always'],
	},
}