-
-
Notifications
You must be signed in to change notification settings - Fork 909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check eslint-plugin-unicorn rules to enable/configure/disable #2439
Labels
Milestone
Comments
ST-DDT
added
p: 1-normal
Nothing urgent
s: needs decision
Needs team/maintainer decision
c: infra
Changes to our infrastructure or project setup
labels
Oct 7, 2023
Created PR #2419 for |
Created PR #2421 for Note: The rule is contested. |
Created PR #2440 for |
Created PR #2441 for |
Created PR #2492 for |
Created PR #2510 for |
This was referenced Feb 9, 2024
This was referenced Mar 5, 2024
This was referenced Apr 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Followup on #2418
Currently all the following rules are disabled because they cause issues in the code:
Undecided
unicorn/consistent-function-scoping
unicorn/no-object-as-default-parameter
unicorn/prefer-export-from
unicorn/prefer-string-slice
#2814unicorn/prevent-abbreviations
Last updated: 2023-10-07
Rejected
unicorn/import-style
unicorn/no-nested-ternary
unicorn/no-null
unicorn/no-zero-fractions
unicorn/numeric-separators-style
unicorn/number-literal-case
unicorn/prefer-ternary
Accepted
unicorn/catch-error-name
unicorn/consistent-destructuring
unicorn/escape-case
unicorn/explicit-length-check
unicorn/filename-case
unicorn/no-array-callback-reference
unicorn/no-array-for-each
unicorn/no-array-reduce
unicorn/no-array-push-push
unicorn/no-await-expression-member
unicorn/no-console-spaces
unicorn/no-for-loop
unicorn/no-hex-escape
unicorn/no-instanceof-array
unicorn/no-negated-condition
unicorn/no-new-array
unicorn/no-process-exit
unicorn/no-useless-switch-case
unicorn/prefer-array-flat-map
unicorn/prefer-array-some
unicorn/prefer-at
unicorn/prefer-code-point
unicorn/prefer-date-now
unicorn/prefer-includes
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-string-replace-all
unicorn/prefer-spread
unicorn/prefer-string-starts-ends-with
unicorn/prefer-top-level-await
unicorn/require-array-join-separator
unicorn/switch-case-braces
unicorn/text-encoding-identifier-case
Please leave a comment if you wish to tackle any of these.
Legend:
#1234
: Reference to the related PR.The above list can be updated using the following command:
The text was updated successfully, but these errors were encountered: