-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionbreakingThis change is backwards-incompatibleThis change is backwards-incompatiblecoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and featuresenhancementThis change enhances an existing feature of ESLintThis change enhances an existing feature of ESLint
Description
The version of ESLint you are using.
latest
The problem you want to solve.
update eslint:recommended and eslint-config-eslint.
Your take on the correct solution to problem.
- y: enable
- n: not enable
- ?: not sure
Name | Added in eslint version | eslint:recommended | eslint-config-eslint | Description |
---|---|---|---|---|
default-case-last | 7.0.0-alpha.0 | ? | y | enforce default clauses in switch statements to be last |
default-param-last | 6.4.0 | ? | y | enforce default parameters to be last |
function-call-argument-newline | 6.2.0 | n | y('consistent') | enforce line breaks between arguments of a function call |
grouped-accessor-pairs | 6.7.0 | n | y | require grouped accessor pairs in object literals and classes |
id-denylist | 7.4.0 | n | n | disallow specified identifiers |
no-constructor-return | 6.7.0 | y | y | disallow returning value from constructor |
*no-dupe-else-if | 6.7.0 | y | y | disallow duplicate conditions in if-else-if chains |
*no-import-assign | 6.4.0 | y | y | disallow assigning to imported bindings |
no-loss-of-precision | 7.1.0 | y | y | disallow literal numbers that lose precision |
no-nonoctal-decimal-escape | 7.14.0 | y | y | disallow \8 and \9 escape sequences in string literals |
no-promise-executor-return | 7.3.0 | y | y | disallow returning values from Promise executor functions |
no-restricted-exports | 7.0.0-alpha.0 | n | n | disallow specified names in exports |
*no-setter-return | 6.7.0 | y | y | disallow returning values from setters |
no-unreachable-loop | 7.3.0 | y | y | disallow loops with a body that allows only one iteration |
no-unsafe-optional-chaining | 7.15.0 | y | y | disallow use of optional chaining in contexts where the undefined value is not allowed |
no-useless-backreference | 7.0.0-alpha.0 | y | y | disallow useless backreferences in regular expressions |
prefer-exponentiation-operator | 6.7.0 | n | y | disallow the use of Math.pow in favor of the ** operator |
prefer-regex-literals | 6.4.0 | n | y | disallow use of the RegExp constructor in favor of regular expression literals |
is it too late to consider adding this to eslint v8.0.0? �:-(
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionbreakingThis change is backwards-incompatibleThis change is backwards-incompatiblecoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and featuresenhancementThis change enhances an existing feature of ESLintThis change enhances an existing feature of ESLint
Type
Projects
Status
Complete