Skip to content

Commit

Permalink
test: removes destructuring, spread, rest syntax and adds lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Reggi authored Oct 21, 2020
1 parent a6e7caf commit 79df553
Show file tree
Hide file tree
Showing 5 changed files with 5,320 additions and 3,757 deletions.
10 changes: 7 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"ecmaVersion": 2017
},
"plugins": [
"prettier"
"prettier",
"es"
],
"extends": [
"eslint:recommended",
Expand All @@ -17,9 +18,12 @@
},
"rules": {
"prettier/prettier": "error",

"es/no-destructuring": "error",
"es/no-rest-spread-properties": "error",
"es/no-spread-elements": "error",
"no-console": "off",
"eqeqeq": ["error", "always", { "null": "ignore" }],
"strict": ["error", "global"]
}
},
"ignorePatterns": ["test/benchmarks/*.js", "test/examples/*.js"]
}
Loading

0 comments on commit 79df553

Please sign in to comment.