Skip to content

Commit

Permalink
loosen rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai Katkov committed Jan 31, 2024
1 parent 5f8af31 commit 7396a00
Show file tree
Hide file tree
Showing 5 changed files with 700 additions and 6,426 deletions.
10 changes: 4 additions & 6 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ rules:
no-constant-binary-expression: error
no-constant-condition: error
no-constructor-return: error
no-continue: error
no-control-regex: error
no-debugger: error
no-delete-var: error
Expand All @@ -129,7 +128,10 @@ rules:
no-extra-boolean-cast: error
no-fallthrough: error
no-global-assign: error
no-implicit-coercion: error
no-implicit-coercion:
- error
- allow:
- '!!'
no-inner-declarations: error
no-invalid-regexp: error
no-irregular-whitespace: error
Expand All @@ -156,9 +158,6 @@ rules:
no-proto: error
no-prototype-builtins: error
no-regex-spaces: error
no-return-assign:
- error
- always
no-script-url: error
no-self-assign: error
no-self-compare: error
Expand Down Expand Up @@ -193,7 +192,6 @@ rules:
prefer-arrow-callback: error
prefer-const: error
prefer-exponentiation-operator: error
prefer-named-capture-group: error
prefer-object-spread: error
prefer-promise-reject-errors:
- error
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ignoredRules:
- max-params
- prefer-template

# generate warnings instead of errors
# generate warnings instead of errors
relaxedRules:
- func-names
```
Expand Down
Loading

0 comments on commit 7396a00

Please sign in to comment.