Skip to content

Commit

Permalink
Disable new rules from ESLint-related upgrades
Browse files Browse the repository at this point in the history
The package version upgrades in previous commits introduced some new
rules. Disabling them for now.

Command used:

    npx eslint src --format json \
        | jq -r '.[] | .messages[] | .ruleId' \
        | sort | uniq
  • Loading branch information
victorlin committed Nov 28, 2022
1 parent ab6fc64 commit ae1b242
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,34 @@ rules:
jsx-quotes: off
no-use-before-define: ["error", { "functions": false }]
no-return-await: off
# <<< These were enabled by extension and plugin upgrades in https://github.com/nextstrain/auspice/pull/1602. Disabling for now.
function-paren-newline: off
import/no-cycle: off
import/no-useless-path-segments: off
import/order: off
jsx-a11y/anchor-is-valid: off
jsx-a11y/click-events-have-key-events: off
lines-between-class-members: off
max-classes-per-file: off
no-compare-neg-zero: off
no-else-return: off
no-multiple-empty-lines: off
no-restricted-globals: off
no-unused-vars: off
prefer-object-spread: off
react/button-has-type: off
react/default-props-match-prop-types: off
react/jsx-closing-tag-location: off
react/jsx-curly-brace-presence: off
react/jsx-curly-newline: off
react/jsx-one-expression-per-line: off
react/jsx-props-no-spreading: off
react/jsx-wrap-multilines: off
react/no-access-state-in-setstate: off
react/no-deprecated: off
react/no-unused-state: off
react/static-property-placement: off
# >>>
parserOptions:
ecmaVersion: 6
sourceType: module
Expand Down

0 comments on commit ae1b242

Please sign in to comment.