Skip to content

Latest commit

 

History

History
9706 lines (9706 loc) · 441 KB

File metadata and controls

9706 lines (9706 loc) · 441 KB
effective eslint jsdoc jsx-a11y local next node react react-app regexp remix ts-strict-typed ts-stylistic-typed unicorn xo
accessor-pairs ✓+ ✓+
array-callback-return ✓+ ✓+
arrow-body-style
block-scoped-var
capitalized-comments ✓+
complexity ✓+ ✓+
default-case-last
eqeqeq ✓+ ✓+ ✓+
for-direction
func-name-matching ✓+ ✓+
func-names ✓+ ✓+
func-style ✓+ ✓+
grouped-accessor-pairs ✓+ ✓+
guard-for-in
logical-assignment-operators ✓+ ✓+
max-depth
max-lines ✓+ ✓+
max-nested-callbacks ✓+ ✓+
max-params ✓+ ✓+
new-cap ✓+ ✓+
no-alert
no-async-promise-executor
no-await-in-loop
no-bitwise
no-buffer-constructor
no-caller
no-case-declarations
no-class-assign
no-compare-neg-zero
no-cond-assign ✓+ ✓+
no-constant-binary-expression
no-constant-condition
no-constructor-return
no-control-regex
no-debugger
no-delete-var
no-dupe-else-if
no-duplicate-case
no-else-return ✓+ ✓+
no-empty ✓+ ✓+ ✓+
no-empty-character-class
no-empty-pattern
no-empty-static-block
no-eq-null
no-eval
no-ex-assign
no-extend-native
no-extra-bind
no-extra-boolean-cast
no-extra-label
no-fallthrough
no-global-assign
no-implicit-coercion
no-implicit-globals
no-inner-declarations
no-invalid-regexp
no-irregular-whitespace
no-iterator
no-label-var
no-labels ✓+ ✓+
no-lone-blocks
no-lonely-if
no-loop-func
no-misleading-character-class
no-multi-assign
no-multi-str
no-negated-condition
no-new
no-new-func
no-new-object
no-new-wrappers
no-nonoctal-decimal-escape
no-object-constructor
no-octal
no-octal-escape
no-promise-executor-return
no-proto
no-prototype-builtins
no-regex-spaces
no-restricted-globals ✓+ ✓+ ✓+
no-restricted-properties ✓+ ✓+
no-restricted-syntax ✓+ ✓+ ✓+
no-return-assign ✓+ ✓+
no-return-await
no-script-url
no-self-assign ✓+ ✓+
no-self-compare
no-sequences
no-shadow-restricted-names
no-sparse-arrays
no-template-curly-in-string
no-undef-init
no-unmodified-loop-condition
no-unneeded-ternary
no-unreachable-loop
no-unsafe-finally
no-unsafe-optional-chaining ✓+ ✓+
no-unused-expressions ✗+ ✗+ ✓+ ✗+
no-unused-labels
no-useless-backreference
no-useless-call
no-useless-catch
no-useless-computed-key ✓+ ✓+
no-useless-concat
no-useless-escape
no-useless-rename ✓+ ✓+
no-useless-return
no-var
no-void ✓+ ✓+
no-warning-comments
no-with
object-shorthand ✓+ ✓+
one-var ✓+ ✓+
operator-assignment ✓+ ✓+
prefer-arrow-callback ✓+ ✓+
prefer-const ✓+ ✓+
prefer-destructuring ✓+
prefer-exponentiation-operator
prefer-numeric-literals
prefer-object-has-own
prefer-object-spread
prefer-regex-literals ✓+ ✓+
prefer-rest-params
prefer-spread
radix
require-yield
spaced-comment ✓+ ✓+
strict ✓+ ✓+
symbol-description
unicode-bom ✓+ ✓+ ✓+
use-isnan
valid-typeof ✓+ ✓+
yoda
@typescript-eslint/adjacent-overload-signatures
@typescript-eslint/array-type ✓+ ✓+
@typescript-eslint/await-thenable
@typescript-eslint/ban-ts-comment ✓+ ✓+ ✓+
@typescript-eslint/ban-tslint-comment
@typescript-eslint/ban-types ✓+ ✓+
@typescript-eslint/class-literal-property-style ✓+ ✓+
@typescript-eslint/consistent-generic-constructors ✓+ ✓+
@typescript-eslint/consistent-indexed-object-style
@typescript-eslint/consistent-type-assertions ✓+ ✓+
@typescript-eslint/consistent-type-definitions ✓+ ✓+ ✓+
@typescript-eslint/consistent-type-exports ✓+ ✓+
@typescript-eslint/consistent-type-imports ✓+ ✓+ ✓+
@typescript-eslint/default-param-last
@typescript-eslint/dot-notation
@typescript-eslint/lines-between-class-members ✓+ ✓+
@typescript-eslint/member-ordering ✓+ ✓+
@typescript-eslint/naming-convention ✓+ ✓+ ✓+
@typescript-eslint/no-array-constructor
@typescript-eslint/no-array-delete
@typescript-eslint/no-base-to-string
@typescript-eslint/no-confusing-non-null-assertion
@typescript-eslint/no-confusing-void-expression
@typescript-eslint/no-dupe-class-members
@typescript-eslint/no-duplicate-enum-values
@typescript-eslint/no-duplicate-type-constituents
@typescript-eslint/no-dynamic-delete
@typescript-eslint/no-empty-function
@typescript-eslint/no-empty-interface ✓+ ✓+
@typescript-eslint/no-explicit-any
@typescript-eslint/no-extra-non-null-assertion
@typescript-eslint/no-extraneous-class ✓+ ✓+
@typescript-eslint/no-floating-promises ✓+ ✓+
@typescript-eslint/no-for-in-array
@typescript-eslint/no-implied-eval
@typescript-eslint/no-inferrable-types
@typescript-eslint/no-invalid-void-type
@typescript-eslint/no-loop-func
@typescript-eslint/no-loss-of-precision
@typescript-eslint/no-magic-numbers ✓+ ✓+
@typescript-eslint/no-meaningless-void-operator
@typescript-eslint/no-misused-new
@typescript-eslint/no-misused-promises ✓+ ✓+
@typescript-eslint/no-mixed-enums
@typescript-eslint/no-namespace
@typescript-eslint/no-non-null-asserted-nullish-coalescing
@typescript-eslint/no-non-null-asserted-optional-chain
@typescript-eslint/no-non-null-assertion
@typescript-eslint/no-redeclare
@typescript-eslint/no-redundant-type-constituents
@typescript-eslint/no-require-imports
@typescript-eslint/no-restricted-imports ✓+ ✓+
@typescript-eslint/no-this-alias ✓+ ✓+
@typescript-eslint/no-throw-literal ✓+ ✓+
@typescript-eslint/no-unnecessary-boolean-literal-compare
@typescript-eslint/no-unnecessary-condition
@typescript-eslint/no-unnecessary-qualifier
@typescript-eslint/no-unnecessary-type-arguments
@typescript-eslint/no-unnecessary-type-assertion
@typescript-eslint/no-unnecessary-type-constraint
@typescript-eslint/no-unsafe-argument
@typescript-eslint/no-unsafe-assignment
@typescript-eslint/no-unsafe-call
@typescript-eslint/no-unsafe-declaration-merging
@typescript-eslint/no-unsafe-enum-comparison
@typescript-eslint/no-unsafe-member-access
@typescript-eslint/no-unsafe-return
@typescript-eslint/no-unused-expressions ✓+ ✓+
@typescript-eslint/no-unused-vars ✓+ ✓+
@typescript-eslint/no-use-before-define ✓+ ✓+ ✓+
@typescript-eslint/no-useless-constructor
@typescript-eslint/no-useless-empty-export
@typescript-eslint/no-useless-template-literals
@typescript-eslint/no-var-requires
@typescript-eslint/non-nullable-type-assertion-style
@typescript-eslint/only-throw-error
@typescript-eslint/padding-line-between-statements ✓+ ✓+
@typescript-eslint/parameter-properties ✓+ ✓+
@typescript-eslint/prefer-as-const
@typescript-eslint/prefer-find
@typescript-eslint/prefer-for-of
@typescript-eslint/prefer-function-type
@typescript-eslint/prefer-includes
@typescript-eslint/prefer-literal-enum-member
@typescript-eslint/prefer-namespace-keyword
@typescript-eslint/prefer-nullish-coalescing ✓+ ✓+
@typescript-eslint/prefer-optional-chain
@typescript-eslint/prefer-promise-reject-errors
@typescript-eslint/prefer-readonly
@typescript-eslint/prefer-reduce-type-parameter
@typescript-eslint/prefer-regexp-exec
@typescript-eslint/prefer-return-this-type
@typescript-eslint/prefer-string-starts-ends-with
@typescript-eslint/prefer-ts-expect-error
@typescript-eslint/promise-function-async
@typescript-eslint/require-array-sort-compare ✓+ ✓+
@typescript-eslint/require-await
@typescript-eslint/restrict-plus-operands ✓+ ✓+ ✓+
@typescript-eslint/restrict-template-expressions ✓+ ✓+ ✓+
@typescript-eslint/return-await
@typescript-eslint/switch-exhaustiveness-check ✓+ ✓+
@typescript-eslint/triple-slash-reference ✓+ ✓+
@typescript-eslint/unbound-method
@typescript-eslint/unified-signatures ✓+ ✓+
@typescript-eslint/use-unknown-in-catch-callback-variable
jsdoc/check-access
jsdoc/check-alignment
jsdoc/check-param-names
jsdoc/check-property-names
jsdoc/check-tag-names
jsdoc/check-types
jsdoc/check-values
jsdoc/empty-tags
jsdoc/implements-on-classes
jsdoc/multiline-blocks
jsdoc/no-defaults
jsdoc/no-multi-asterisks
jsdoc/no-undefined-types
jsdoc/require-jsdoc
jsdoc/require-param
jsdoc/require-param-description
jsdoc/require-param-name
jsdoc/require-param-type
jsdoc/require-property
jsdoc/require-property-description
jsdoc/require-property-name
jsdoc/require-property-type
jsdoc/require-returns
jsdoc/require-returns-check
jsdoc/require-returns-description
jsdoc/require-returns-type
jsdoc/require-yields
jsdoc/require-yields-check
jsdoc/tag-lines
jsdoc/valid-types
jsx-a11y/alt-text ✓+
jsx-a11y/anchor-has-content ✓+
jsx-a11y/anchor-is-valid ✓+ ✓+ ✓+
jsx-a11y/aria-activedescendant-has-tabindex
jsx-a11y/aria-props
jsx-a11y/aria-proptypes
jsx-a11y/aria-role ✓+ ✓+ ✓+
jsx-a11y/aria-unsupported-elements
jsx-a11y/autocomplete-valid
jsx-a11y/click-events-have-key-events
jsx-a11y/heading-has-content
jsx-a11y/html-has-lang
jsx-a11y/iframe-has-title
jsx-a11y/img-redundant-alt
jsx-a11y/interactive-supports-focus ✓+
jsx-a11y/label-has-associated-control
jsx-a11y/lang
jsx-a11y/media-has-caption
jsx-a11y/mouse-events-have-key-events
jsx-a11y/no-access-key
jsx-a11y/no-autofocus
jsx-a11y/no-distracting-elements
jsx-a11y/no-interactive-element-to-noninteractive-role ✓+
jsx-a11y/no-noninteractive-element-interactions ✓+
jsx-a11y/no-noninteractive-element-to-interactive-role ✓+
jsx-a11y/no-noninteractive-tabindex ✓+
jsx-a11y/no-redundant-roles
jsx-a11y/no-static-element-interactions ✓+
jsx-a11y/role-has-required-aria-props
jsx-a11y/role-supports-aria-props
jsx-a11y/scope
jsx-a11y/tabindex-no-positive
n/hashbang
n/no-deprecated-api
n/no-exports-assign
n/no-extraneous-import
n/no-extraneous-require
n/no-missing-import
n/no-missing-require
n/no-process-exit
n/no-unpublished-bin
n/no-unpublished-import
n/no-unpublished-require
n/no-unsupported-features/es-builtins
n/no-unsupported-features/es-syntax ✓+
n/no-unsupported-features/node-builtins
n/process-exit-as-throw
react-hooks/exhaustive-deps
react-hooks/rules-of-hooks
react/boolean-prop-naming ✓+ ✓+
react/button-has-type
react/default-props-match-prop-types
react/display-name
react/forbid-foreign-prop-types ✓+ ✓+ ✓+
react/function-component-definition ✓+ ✓+
react/hook-use-state
react/iframe-missing-sandbox
react/jsx-boolean-value
react/jsx-curly-brace-presence ✓+
react/jsx-fragments ✓+ ✓+
react/jsx-key ✓+ ✓+
react/jsx-no-bind ✓+ ✓+
react/jsx-no-comment-textnodes
react/jsx-no-constructed-context-values
react/jsx-no-duplicate-props ✓+ ✓+
react/jsx-no-script-url
react/jsx-no-target-blank ✓+ ✓+
react/jsx-no-undef
react/jsx-no-useless-fragment
react/jsx-pascal-case ✓+ ✓+
react/jsx-sort-props ✓+ ✓+
react/jsx-uses-react
react/jsx-uses-vars
react/no-access-state-in-setstate
react/no-array-index-key
react/no-arrow-function-lifecycle
react/no-children-prop
react/no-danger
react/no-danger-with-children
react/no-deprecated
react/no-did-update-set-state
react/no-direct-mutation-state
react/no-find-dom-node
react/no-invalid-html-attribute
react/no-is-mounted
react/no-namespace
react/no-redundant-should-component-update
react/no-render-return-value
react/no-string-refs ✓+ ✓+
react/no-this-in-sfc
react/no-typos
react/no-unescaped-entities
react/no-unknown-property
react/no-unsafe
react/no-unused-prop-types
react/no-unused-state
react/prefer-read-only-props
react/prop-types
react/react-in-jsx-scope
react/require-default-props ✓+ ✓+
react/require-render-return
react/self-closing-comp
react/state-in-constructor ✓+ ✓+
react/static-property-placement
react/style-prop-object ✓+ ✓+
react/void-dom-elements-no-children
regexp/confusing-quantifier
regexp/control-character-escape
regexp/match-any
regexp/negation
regexp/no-contradiction-with-assertion
regexp/no-dupe-characters-character-class
regexp/no-dupe-disjunctions
regexp/no-empty-alternative
regexp/no-empty-capturing-group
regexp/no-empty-character-class
regexp/no-empty-group
regexp/no-empty-lookarounds-assertion
regexp/no-empty-string-literal
regexp/no-escape-backspace
regexp/no-extra-lookaround-assertions
regexp/no-invalid-regexp
regexp/no-invisible-character
regexp/no-lazy-ends
regexp/no-legacy-features
regexp/no-misleading-capturing-group
regexp/no-misleading-unicode-character
regexp/no-missing-g-flag
regexp/no-non-standard-flag
regexp/no-obscure-range
regexp/no-optional-assertion
regexp/no-potentially-useless-backreference
regexp/no-super-linear-backtracking
regexp/no-trivially-nested-assertion
regexp/no-trivially-nested-quantifier
regexp/no-unused-capturing-group
regexp/no-useless-assertions
regexp/no-useless-backreference
regexp/no-useless-character-class
regexp/no-useless-dollar-replacements
regexp/no-useless-escape
regexp/no-useless-flag
regexp/no-useless-lazy
regexp/no-useless-non-capturing-group
regexp/no-useless-quantifier
regexp/no-useless-range
regexp/no-useless-set-operand
regexp/no-useless-string-literal
regexp/no-useless-two-nums-quantifier
regexp/no-zero-quantifier
regexp/optimal-lookaround-quantifier
regexp/optimal-quantifier-concatenation
regexp/prefer-character-class
regexp/prefer-d
regexp/prefer-plus-quantifier
regexp/prefer-predefined-assertion
regexp/prefer-question-quantifier
regexp/prefer-range
regexp/prefer-set-operation
regexp/prefer-star-quantifier
regexp/prefer-unicode-codepoint-escapes
regexp/prefer-w
regexp/simplify-set-operations
regexp/sort-flags
regexp/strict
regexp/use-ignore-case
simple-import-sort/imports
unicorn/better-regex
unicorn/catch-error-name
unicorn/consistent-function-scoping
unicorn/error-message
unicorn/escape-case
unicorn/expiring-todo-comments
unicorn/explicit-length-check
unicorn/filename-case
unicorn/import-style
unicorn/new-for-builtins
unicorn/no-abusive-eslint-disable
unicorn/no-anonymous-default-export
unicorn/no-array-callback-reference
unicorn/no-array-for-each
unicorn/no-array-method-this-argument
unicorn/no-array-push-push
unicorn/no-array-reduce
unicorn/no-await-expression-member
unicorn/no-await-in-promise-methods
unicorn/no-console-spaces
unicorn/no-document-cookie
unicorn/no-empty-file
unicorn/no-for-loop
unicorn/no-hex-escape
unicorn/no-instanceof-array
unicorn/no-invalid-remove-event-listener
unicorn/no-lonely-if
unicorn/no-negated-condition
unicorn/no-new-array
unicorn/no-new-buffer
unicorn/no-null
unicorn/no-object-as-default-parameter
unicorn/no-process-exit
unicorn/no-single-promise-in-promise-methods
unicorn/no-static-only-class
unicorn/no-thenable
unicorn/no-this-assignment
unicorn/no-typeof-undefined
unicorn/no-unnecessary-await
unicorn/no-unnecessary-polyfills
unicorn/no-unreadable-array-destructuring
unicorn/no-unreadable-iife
unicorn/no-useless-fallback-in-spread
unicorn/no-useless-length-check
unicorn/no-useless-promise-resolve-reject
unicorn/no-useless-spread
unicorn/no-useless-switch-case
unicorn/no-useless-undefined
unicorn/no-zero-fractions
unicorn/numeric-separators-style
unicorn/prefer-add-event-listener
unicorn/prefer-array-find
unicorn/prefer-array-flat
unicorn/prefer-array-flat-map
unicorn/prefer-array-index-of
unicorn/prefer-array-some
unicorn/prefer-at
unicorn/prefer-blob-reading-methods
unicorn/prefer-code-point
unicorn/prefer-date-now
unicorn/prefer-default-parameters
unicorn/prefer-dom-node-append
unicorn/prefer-dom-node-dataset
unicorn/prefer-dom-node-remove
unicorn/prefer-dom-node-text-content
unicorn/prefer-event-target
unicorn/prefer-export-from
unicorn/prefer-includes
unicorn/prefer-keyboard-event-key
unicorn/prefer-logical-operator-over-ternary
unicorn/prefer-math-trunc
unicorn/prefer-modern-dom-apis
unicorn/prefer-modern-math-apis
unicorn/prefer-module
unicorn/prefer-native-coercion-functions
unicorn/prefer-negative-index
unicorn/prefer-node-protocol
unicorn/prefer-number-properties
unicorn/prefer-object-from-entries
unicorn/prefer-optional-catch-binding
unicorn/prefer-prototype-methods
unicorn/prefer-query-selector
unicorn/prefer-reflect-apply
unicorn/prefer-regexp-test
unicorn/prefer-set-has
unicorn/prefer-set-size
unicorn/prefer-spread
unicorn/prefer-string-replace-all
unicorn/prefer-string-slice
unicorn/prefer-string-starts-ends-with
unicorn/prefer-string-trim-start-end
unicorn/prefer-switch
unicorn/prefer-ternary
unicorn/prefer-top-level-await
unicorn/prefer-type-error
unicorn/prevent-abbreviations ✓+ ✓+
unicorn/relative-url-style
unicorn/require-array-join-separator
unicorn/require-number-to-fixed-digits-argument
unicorn/switch-case-braces
unicorn/text-encoding-identifier-case
unicorn/throw-new-error
unused-imports/no-unused-imports