You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
772 B

env:
node: true
extends: 'eslint:recommended'
globals:
Promise: false
parserOptions:
ecmaVersion: 6
rules:
indent: [ 2, 2, { SwitchCase: 1 } ]
no-trailing-spaces: 2
quotes: [ 2, single, avoid-escape ]
linebreak-style: [ 2, unix ]
semi: [ 2, always ]
valid-jsdoc: [ 2, { requireReturn: false } ]
no-invalid-this: 2
no-unused-vars: [ 2, { args: none } ]
# no-console: [ 2, { allow: [ warn, error ] } ]
no-console: 0
block-scoped-var: 2
complexity: [ 2, 8 ]
curly: [ 2, multi-or-nest, consistent ]
dot-location: [ 2, property ]
dot-notation: 2
no-else-return: 2
no-eq-null: 2
no-fallthrough: 2
no-return-assign: 2
strict: [ 2, global ]
no-shadow: 1
no-use-before-define: [ 2, nofunc ]
callback-return: 2
no-path-concat: 2