eslint prime config

This commit is contained in:
Carlos Jimenez 2018-10-29 15:46:14 +01:00
parent 620ec1f08e
commit b9ae168b6e
1 changed files with 7 additions and 2 deletions

View File

@ -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]