Open Boshen opened 1 year ago
@Thiry1 Thank you! I updated the list.
There are some convention / style rules, which should be omitted from the list. We should aim for correctness rules.
@Boshen
we can check off
catch-error-name #984 error-message #992 filename-case #978 no-console-spaces #991 prefer-array-flat-map #997 throw-new-error #1005
@camc314 You are free to edit it, unless your triage permission disallows.
@camc314 You are free to edit it, unless your triage permission disallows.
yeah i can't edit unfortunatly
@Boshen
Those are now done :)
text-encoding-identifier-case https://github.com/web-infra-dev/oxc/pull/1051 switch-case-braces https://github.com/web-infra-dev/oxc/pull/1054 require-number-to-fixed-digits-argument https://github.com/web-infra-dev/oxc/pull/1073
FYI I'm working on numeric-separators-style in #1490
eslint-plugin-unicorn(explicit-length-check): Use .size > 0
@NikitaIT Can you create an separate issue and provide more context?
This is tracking issue for
eslint-plugin-unicorn
.There are 123(+ 17 deprecated) rules.
To get started, run the following command:
Then register the rule in
crates/oxc_linter/src/rules.rs
and alsodeclare_all_lint_rules
at the bottom.Recommended rules
β¨: 90, π«: 0 / total: 115
| Status | Name | Docs | | :----: | :--- | :--- | | β¨ | unicorn/catch-error-name | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md | | β¨ | unicorn/consistent-empty-array-spread | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md | | β¨ | unicorn/consistent-existence-index-check | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md | | β¨ | unicorn/consistent-function-scoping | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md | | β¨ | unicorn/empty-brace-spaces | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md | | β¨ | unicorn/error-message | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md | | β¨ | unicorn/escape-case | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md | | | unicorn/expiring-todo-comments | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md | | β¨ | unicorn/explicit-length-check | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md | | β¨ | unicorn/filename-case | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md | | | unicorn/import-style | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md | | β¨ | unicorn/new-for-builtins | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md | | β¨ | unicorn/no-abusive-eslint-disable | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md | | β¨ | unicorn/no-anonymous-default-export | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md | | | unicorn/no-array-callback-reference | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md | | β¨ | unicorn/no-array-for-each | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md | | | unicorn/no-array-method-this-argument | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md | | | unicorn/no-array-push-push | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md | | β¨ | unicorn/no-array-reduce | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md | | β¨ | unicorn/no-await-expression-member | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md | | β¨ | unicorn/no-await-in-promise-methods | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md | | β¨ | unicorn/no-console-spaces | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md | | β¨ | unicorn/no-document-cookie | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md | | β¨ | unicorn/no-empty-file | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md | | | unicorn/no-for-loop | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md | | β¨ | unicorn/no-hex-escape | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md | | β¨ | unicorn/no-instanceof-array | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md | | | unicorn/no-invalid-fetch-options | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md | | β¨ | unicorn/no-invalid-remove-event-listener | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md | | β¨ | unicorn/no-length-as-slice-end | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md | | β¨ | unicorn/no-lonely-if | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md | | β¨ | unicorn/no-magic-array-flat-depth | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md | | β¨ | unicorn/no-negated-condition | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md | | β¨ | unicorn/no-negation-in-equality-check | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md | | β¨ | unicorn/no-nested-ternary | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md | | β¨ | unicorn/no-new-array | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md | | β¨ | unicorn/no-new-buffer | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md | | β¨ | unicorn/no-null | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md | | β¨ | unicorn/no-object-as-default-parameter | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md | | β¨ | unicorn/no-process-exit | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md | | β¨ | unicorn/no-single-promise-in-promise-methods | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md | | β¨ | unicorn/no-static-only-class | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md | | β¨ | unicorn/no-thenable | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md | | β¨ | unicorn/no-this-assignment | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md | | β¨ | unicorn/no-typeof-undefined | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md | | β¨ | unicorn/no-unnecessary-await | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md | | | unicorn/no-unnecessary-polyfills | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md | | β¨ | unicorn/no-unreadable-array-destructuring | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md | | β¨ | unicorn/no-unreadable-iife | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md | | β¨ | unicorn/no-useless-fallback-in-spread | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md | | β¨ | unicorn/no-useless-length-check | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md | | β¨ | unicorn/no-useless-promise-resolve-reject | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md | | β¨ | unicorn/no-useless-spread | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md | | β¨ | unicorn/no-useless-switch-case | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md | | β¨ | unicorn/no-useless-undefined | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md | | β¨ | unicorn/no-zero-fractions | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md | | β¨ | unicorn/number-literal-case | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md | | β¨ | unicorn/numeric-separators-style | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md | | β¨ | unicorn/prefer-add-event-listener | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md | | | unicorn/prefer-array-find | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md | | β¨ | unicorn/prefer-array-flat-map | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md | | β¨ | unicorn/prefer-array-flat | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md | | | unicorn/prefer-array-index-of | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md | | β¨ | unicorn/prefer-array-some | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md | | | unicorn/prefer-at | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md | | β¨ | unicorn/prefer-blob-reading-methods | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md | | β¨ | unicorn/prefer-code-point | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md | | β¨ | unicorn/prefer-date-now | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md | | | unicorn/prefer-default-parameters | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md | | β¨ | unicorn/prefer-dom-node-append | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md | | β¨ | unicorn/prefer-dom-node-dataset | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md | | β¨ | unicorn/prefer-dom-node-remove | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md | | β¨ | unicorn/prefer-dom-node-text-content | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md | | β¨ | unicorn/prefer-event-target | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md | | | unicorn/prefer-export-from | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md | | | unicorn/prefer-global-this | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md | | β¨ | unicorn/prefer-includes | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md | | | unicorn/prefer-keyboard-event-key | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md | | β¨ | unicorn/prefer-logical-operator-over-ternary | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md | | β¨ | unicorn/prefer-math-min-max | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md | | β¨ | unicorn/prefer-math-trunc | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md | | β¨ | unicorn/prefer-modern-dom-apis | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md | | β¨ | unicorn/prefer-modern-math-apis | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md | | | unicorn/prefer-module | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md | | β¨ | unicorn/prefer-native-coercion-functions | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md | | | unicorn/prefer-negative-index | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md | | β¨ | unicorn/prefer-node-protocol | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md | | β¨ | unicorn/prefer-number-properties | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md | | | unicorn/prefer-object-from-entries | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md | | β¨ | unicorn/prefer-optional-catch-binding | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md | | β¨ | unicorn/prefer-prototype-methods | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md | | β¨ | unicorn/prefer-query-selector | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md | | β¨ | unicorn/prefer-reflect-apply | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md | | β¨ | unicorn/prefer-regexp-test | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md | | | unicorn/prefer-set-has | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md | | β¨ | unicorn/prefer-set-size | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md | | β¨ | unicorn/prefer-spread | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md | | β¨ | unicorn/prefer-string-raw | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md | | β¨ | unicorn/prefer-string-replace-all | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md | | β¨ | unicorn/prefer-string-slice | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md | | β¨ | unicorn/prefer-string-starts-ends-with | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md | | β¨ | unicorn/prefer-string-trim-start-end | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md | | β¨ | unicorn/prefer-structured-clone | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md | | | unicorn/prefer-switch | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md | | | unicorn/prefer-ternary | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md | | | unicorn/prefer-top-level-await | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md | | β¨ | unicorn/prefer-type-error | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md | | | unicorn/prevent-abbreviations | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md | | | unicorn/relative-url-style | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md | | β¨ | unicorn/require-array-join-separator | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md | | β¨ | unicorn/require-number-to-fixed-digits-argument | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md | | β¨ | unicorn/switch-case-braces | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md | | | unicorn/template-indent | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md | | β¨ | unicorn/text-encoding-identifier-case | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md | | β¨ | unicorn/throw-new-error | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md | β¨ = Implemented, π« = No need to implementNot recommended rules
β¨: 0, π«: 0 / total: 8
| Status | Name | Docs | | :----: | :--- | :--- | | | unicorn/better-regex | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md | | | unicorn/consistent-destructuring | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md | | | unicorn/custom-error-definition | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md | | | unicorn/no-keyword-prefix | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md | | | unicorn/no-unused-properties | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md | | | unicorn/prefer-json-parse-buffer | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md | | | unicorn/require-post-message-target-origin | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md | | | unicorn/string-content | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md | β¨ = Implemented, π« = No need to implementDeprecated rules
β¨: 0, π«: 0 / total: 17
| Status | Name | Docs | | :----: | :--- | :--- | | | unicorn/import-index | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index | | | unicorn/no-array-instanceof | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof | | | unicorn/no-fn-reference-in-iterator | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator | | | unicorn/no-reduce | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce | | | unicorn/no-unsafe-regex | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex | | | unicorn/prefer-dataset | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset | | | unicorn/prefer-event-key | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key | | | unicorn/prefer-exponentiation-operator | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator | | | unicorn/prefer-flat-map | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map | | | unicorn/prefer-node-append | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append | | | unicorn/prefer-node-remove | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove | | | unicorn/prefer-object-has-own | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own | | | unicorn/prefer-replace-all | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all | | | unicorn/prefer-starts-ends-with | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with | | | unicorn/prefer-text-content | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content | | | unicorn/prefer-trim-start-end | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end | | | unicorn/regex-shorthand | https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand | β¨ = Implemented, π« = No need to implement