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:
|
parserOptions:
|
||||||
ecmaVersion: 2018
|
ecmaVersion: 2018
|
||||||
sourceType: "module"
|
sourceType: "module"
|
||||||
|
@ -7,7 +7,6 @@ plugins:
|
||||||
env:
|
env:
|
||||||
jasmine: true
|
jasmine: true
|
||||||
rules:
|
rules:
|
||||||
indent: [error, 4]
|
|
||||||
require-jsdoc: 0
|
require-jsdoc: 0
|
||||||
no-undef: 0
|
no-undef: 0
|
||||||
max-len: 0
|
max-len: 0
|
||||||
|
@ -23,3 +22,9 @@ rules:
|
||||||
no-empty: [error, allowEmptyCatch: true]
|
no-empty: [error, allowEmptyCatch: true]
|
||||||
complexity: 0
|
complexity: 0
|
||||||
max-depth: 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