Skip to content

Commit

Permalink
chore: tweak eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
madbence committed Oct 7, 2020
1 parent 901295d commit 9c456dd
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ globals:
SharedArrayBuffer: readonly
parserOptions:
ecmaVersion: 2018
overrides:
- files:
- 'regression-tests/*.js'
env:
jest: true
rules:

# possible errors
Expand Down Expand Up @@ -85,7 +90,7 @@ rules:
no-labels: error
no-lone-blocks: error
no-loop-func: error
no-magic-numbers: ["warn", { "ignore": [1] }]
no-magic-numbers: off
no-multi-spaces: error
no-multi-str: error
no-new: error
Expand Down Expand Up @@ -131,7 +136,7 @@ rules:
no-restricted-globals: off
no-shadow: off
no-shadow-restricted-names: off
no-undef: off
no-undef: error
no-undef-init: error
no-undefined: off
no-unused-vars: error
Expand Down Expand Up @@ -273,4 +278,4 @@ rules:
sort-imports: off
symbol-description: error
template-curly-spacing: error
yield-star-spacing: error
yield-star-spacing: error

0 comments on commit 9c456dd

Please sign in to comment.