eslint prime config
This commit is contained in:
parent
620ec1f08e
commit
b9ae168b6e
|
@ -1,4 +1,4 @@
|
|||
extends: [eslint:recommended, plugin:jasmine/recommended]
|
||||
extends: [eslint:recommended, google, plugin:jasmine/recommended]
|
||||
parserOptions:
|
||||
ecmaVersion: 2018
|
||||
sourceType: "module"
|
||||
|
@ -7,7 +7,6 @@ plugins:
|
|||
env:
|
||||
jasmine: true
|
||||
rules:
|
||||
indent: [error, 4]
|
||||
require-jsdoc: 0
|
||||
no-undef: 0
|
||||
max-len: 0
|
||||
|
@ -23,3 +22,9 @@ rules:
|
|||
no-empty: [error, allowEmptyCatch: true]
|
||||
complexity: 0
|
||||
max-depth: 0
|
||||
comma-dangle: 0
|
||||
bracketSpacing: 0
|
||||
space-infix-ops: 1
|
||||
prefer-const: 0
|
||||
curly: ["error", "multi-or-nest"]
|
||||
indent: [error, 4]
|
Loading…
Reference in New Issue