Releases: patrickrgaffney/eslint-config-pat
Releases · patrickrgaffney/eslint-config-pat
v5.0.0
Changes
- pat: Add
no-constant-binary-expression
rule. - pat: Add
no-unused-private-class-members
rule. - pat: Add
prefer-object-has-own
rule. - pat/mocha: Add
mocha/no-empty-description
rule. - pat/react: Add
react/prefer-exact-props
rule. - pat/react: Add
react/hook-use-state
rule. - pat/react: Add
react/no-arrow-function-lifecycle
rule. - pat/react: Add
react/no-invalid-html-attribute
rule. - pat/react: Add
react/no-namespace
rule. - pat/react: Add
react/no-unstable-nested-components
rule. - pat/react: Add
react/no-unused-class-component-methods
rule. - pat/react: Add
react/iframe-missing-sandbox
rule. - pat/react: Add
react/jsx-key
rule. - pat/react: Add
react/jsx-newline
rule. - pat/react: Add
react/jsx-no-constructed-context-values
rule. - pat/react: Add
react/jsx-no-leaked-render
rule.
Dependencies
- require
node >= 16.x
- upgrade
[email protected]
- upgrade
[email protected]
- upgrade
[email protected]
Full Changelog: v4.6.0...v5.0.0
v4.6.0
Changes
- pat: set
ecmaVersion
option tolatest
.
Dependencies
- upgrade
[email protected]
- upgrade
[email protected]
v4.5.0
Changes
- pat: Add
enforceForJSX
option tono-unused-expressions
.
Dependencies
- upgrade
[email protected]
- upgrade
[email protected]
v4.4.1
Dependencies
- upgrade
[email protected]
v4.4.0
Added
- pat: Enable new ESLint rule
no-nonoctal-decimal-escape
. - pat: Enable new ESLint rule
no-unsafe-optional-chaining
.
Changes
- pat/node: Don't warn on import of
lodash
.
Dependencies
- upgrade
[email protected]
4.3.0
Added
- pat: Set new
ignoreDefaultValues
option onno-magic-numbers
. - pat/react: Set new
allow: as-needed
option onreact/jsx-filename-extension
.
Changes
- pat: ECMA version is now
2021
. - pat: Add all RFC-standard HTTP status codes to
no-magic-numbers
ignore list.
Fixes
pat/mocha
now extendspat
base config.
Dependencies
- upgrade
[email protected]
- upgrade
[email protected]
v4.2.0
v4.1.0
Added
- pat/mocha: new Mocha rules
no-exports
.
Changes
- pat: change
complexity
limit to 6. - pat/mocha: disable ESLint rules
no-unused-expressions
andmax-lines
.
Dependencies
- upgrade
[email protected]
- upgrade
[email protected]
v4.0.0
It should be noted that I borked the
npm version
script when updating this, hence we skipped v3.x.x entirely. More reason to eventually automate this.
This was a major, breaking change because the dependencies were moved from peerDependencies
to optionalDependencies
. Other than that it's fairly unchanged.
Changes
- pat: Enable the
allowSeparatedGroups
option to thesort-imports
rule.
Dependencies
- Move all plugins to
optionalDependencies
. This way you're only alerted to the ones you need based on which config you're using. - upgrade
[email protected]
v2.3.0
Added
- pat: new ESLint rule
no-unreachable-loop
- pat: new ESLint rule
no-promise-executor-return
Dependencies
- upgrade
[email protected]