Spaces:
Sleeping
Sleeping
File size: 1,183 Bytes
6655e35 | 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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | module.exports = {
extends: 'google',
env: {
node: true,
mocha: true
},
plugins: [
'pabigot'
],
rules: {
'guard-for-in': 'off',
'prefer-rest-params': 'off',
'prefer-spread': 'off',
__temporary: 'off',
'arrow-parens': ['error', 'as-needed'],
camelcase: 'off',
curly: 'error',
eqeqeq: 'error',
'max-len': ['error', {code: 120, tabWidth: 2}],
'no-constant-condition': 'off',
'no-fallthrough': ['error', {commentPattern: 'FALLTHRU'}],
'no-implicit-coercion': 'off',
'no-irregular-whitespace': ['error', {skipComments: true}],
'no-multi-spaces': ['error', {ignoreEOLComments: true}],
'operator-linebreak': ['error', 'before'],
'pabigot/affixed-ids': ['error', {
allowedSuffixes: [
'_dCel',
'_ppt'
]
}],
quotes: ['error', 'single', {
avoidEscape: true,
allowTemplateLiterals: true
}],
radix: ['error', 'as-needed'],
'require-jsdoc': 'off',
'spaced-comment': ['error', 'always', {line: {markers: ['#']}}],
'valid-jsdoc': 'off',
yoda: ['error', 'always', {exceptRange: true}]
},
parserOptions: {
sourceType: 'module'
}
}
|