Skip to content
Permalink
Browse files
Update linter settings
  • Loading branch information
pastorpv committed Nov 25, 2019
1 parent a714b96 commit 6c8d61a034eed79012b6cdaee62f81a531932a61
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
@@ -0,0 +1,5 @@

docs/**
node_modules/**
coverage/**
public/**
@@ -8,7 +8,9 @@
"jest": true
},
"parserOptions": {
"ecmaVersion": 8
"ecmaVersion": 2018,
"noInlineConfig": true,
"reportUnusedDisableDirectives": true
},
"rules": {
"arrow-body-style": "error",
@@ -27,7 +29,7 @@
"max-depth": ["error", 3],
"max-len": ["warn", { "code": 120, "tabWidth": 4 }],
"max-lines": ["warn", {"max": 150, "skipBlankLines": true, "skipComments": true}],
"max-lines-per-function": ["error", 20],
"max-lines-per-function": ["warn", {"max": 20, "skipBlankLines": true, "skipComments": true}],
"max-nested-callbacks": ["error", 4],
"max-params": ["error", 5],
"max-statements": ["error", 20],
@@ -60,7 +62,7 @@
"space-before-function-paren": ["error", "never"],
"strict": ["error", "global"],
"yoda": "error"
},
},
"overrides": [{
"files": [ "*.test.js", "*.spec.js", "*.steps.js" ],
"rules": {

0 comments on commit 6c8d61a

Please sign in to comment.