All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
45.0.0 (2024-12-17)
- deps: adds new
typescript-type-checked
rules added intypescript-eslint
v8.15.0...
@typescript-eslint/no-unsafe-type-assertion
@typescript-eslint/related-getter-setter-pairs
- deps: update all non-major dependencies (#242) (2d3819b)
- deps: update react monorepo (major) (#243) (09bbd82)
44.0.1 (2024-09-24)
44.0.0 (2024-09-12)
- deps: rules were removed, added, and enabled for the typescript plugins.
typescript
ban-types
(removed)no-empty-interface
(removed)no-loss-of-precision
(removed)no-restricted-types
(added: error)no-var-requires
(removed)
typescript-type-checked
deprecation/deprecation
(removed)no-deprecated
(added: warning)
- deps: adds and enables new plugin rules.
react
pluginreact/forward-ref-uses-ref
typescript
plugin@typescript-eslint/no-empty-object-type
@typescript-eslint/no-unnecessary-parameter-property-assignment
@typescript-eslint/no-unsafe-function-type
@typescript-eslint/no-wrapper-object-types
typescript-type-checked
plugin@typescript-eslint/no-unnecessary-type-parameters
(warning)
43.0.0 (2024-08-12)
- throws a warning for any
@deprecated
usage
42.0.0 (2024-06-20)
41.0.0 (2024-06-12)
- deps: the upgrade to ESLint v9 requires the new flat config format. Additional features include:
- updated rule parity with eslint and all bundled plugins – jest, jsx-a11y, node, react, react-hooks, and typescript-eslint
- moved plugin peer dependencies to direct dependencies, per updated eslint documentation
See the updated README for details.
40.0.0 (2024-05-15)
- deps: updated dependency requirements
@typescript-eslint/eslint-plugin
:
- removes rule
no-new-symbol
- adds
no-new-native-nonconstructor
-
deps: update dependency eslint-plugin-n to v17 (#231)
-
deps: update dependency eslint-plugin-n to v17 (#231) (53aac80)
39.0.1 (2024-04-01)
39.0.0 (2024-03-29)
38.0.0 (2024-02-15)
- deps: updated dependency requirements
- bumped
@typescript-eslint/eslint-plugin
and@typescript-eslint/eslint-parser
minimum version requirements for ESLint, NodeJS, and TS
- deps: updated dependency requirements
- added new
@typescript-eslint/eslint-plugin
6.21.0 rules:prefer-find
- deps: update all non-major dependencies (#222) (510138d)
- deps: update typescript-eslint monorepo to v7 (#223) (baf9c81)
37.0.0 (2024-01-19)
- deps: updated dependency requirements
- added new
@typescript-eslint/eslint-plugin
6.19.0 rules:no-array-delete
andprefer-promise-reject-errors
36.0.0 (2023-12-21)
- deps: updated peer dependency requirements
- removed deprecated
eslint
8.56.0 formatting rules; see https://eslint.org/blog/2023/10/deprecating-formatting-rules/ - added new
@typescript-eslint/eslint-plugin
6.15.0 rules:no-unsafe-unary-minus
,no-useless-template-literals
,prefer-destructuring
35.0.0 (2023-09-26)
- deps: updated peer dependency requirements
- removed deprecated and added new
no-object-constructor
eslint
8.50.0 rule - added new
class-methods-use-this
@typescript-eslint/eslint-plugin
6.2.0 rule - upgraded from
yarn
tonpm
34.0.0 (2023-07-18)
-
deps: previously
@typescript-eslint
deprecated rules were deleted. See https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/#rule-breaking-changes -
deps: update typescript-eslint monorepo to v6 (major) (#211) (944909a)
33.0.0 (2023-07-12)
- deps: update all non-major dependencies (#208)
- sets @typescript-eslint/no-duplicate-type-constituents to error
- sets @typescript-eslint/no-unsafe-enum-comparison to error
32.0.0 (2023-02-02)
31.0.0 (2023-01-31)
-
deps: update all non-major dependencies (#202)
30.0.0 (2022-12-13)
- deps: deps: adds new eslint rules:
- sets no-empty-static-block to error
- sets no-new-native-nonconstructor to error
deps: adds new typescript-eslint rules:
- sets no-unsafe-declaration-merging to error
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: george treviranus [email protected]
29.0.0 (2022-10-05)
- deps: remove jest v27.0.0
jest/no-jest-import
rule
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jonathan Zempel [email protected]
-
deps: update all non-major dependencies (#198)
-
deps: update dependency eslint-plugin-jest to v27 (#200) (9b4d0b2)
28.0.0 (2022-04-11)
-
deps: update all non-major dependencies (#192)
27.0.1 (2022-02-25)
27.0.0 (2021-12-28)
- deps: - sets
eslint
peer dependency to^8.5.0
- adds
prefer-object-has-own
rule set to warning
Co-authored-by: Renovate Bot [email protected] Co-authored-by: Jonathan Zempel [email protected]
26.0.0 (2021-11-17)
- deps: add new
eslint-plugin-react
v7.27.0 rules:
no-unused-class-component-methods
no-arrow-function-lifecycle
no-invalid-html-attribute
Plugin dependency versions:
@typescript-eslint/eslint-plugin
^5.0.0@typescript-eslint/parser
^5.0.0eslint-plugin-jest
^25.2.0eslint-plugin-jsx-a11y
^6.4.0eslint-plugin-react
^7.27.0eslint-plugin-react-hooks
^4.3.0
Co-authored-by: Renovate Bot [email protected] Co-authored-by: Jonathan Zempel [email protected]
25.0.0 (2021-11-05)
- deps: upgrade to
eslint
8.1.0 with newno-unused-private-class-members
rule.
Plugin dependency versions:
@typescript-eslint/eslint-plugin
^5.0.0@typescript-eslint/parser
^5.0.0eslint-plugin-jest
^25.2.0eslint-plugin-jsx-a11y
^6.4.0eslint-plugin-react
^7.26.0eslint-plugin-react-hooks
^4.2.1-alpha
Co-authored-by: Renovate Bot [email protected] Co-authored-by: Jonathan Zempel [email protected]
24.0.0 (2021-10-19)
-
switch from
babel-eslint
to@babel/eslint-parser
(#176) -
switch from
babel-eslint
to@babel/eslint-parser
(#176) (59d9042)
23.0.0 (2021-10-16)
- deps: upgrade to
eslint
v8.0.0.
Plugin dependency versions:
@typescript-eslint/eslint-plugin
^5.0.0@typescript-eslint/parser
^5.0.0eslint-plugin-jest
^25.2.0eslint-plugin-jsx-a11y
^6.4.0eslint-plugin-react
^7.26.0eslint-plugin-react-hooks
^4.2.0
Co-authored-by: Renovate Bot [email protected] Co-authored-by: Jonathan Zempel [email protected]
- deps: add
jest/require-hook
rule.
Plugin dependency versions:
@typescript-eslint/eslint-plugin
^4.33.0eslint-plugin-jest
^24.7.0eslint-plugin-jsx-a11y
^6.4.0eslint-plugin-react
^7.26.0eslint-plugin-react-hooks
^4.2.0
Co-authored-by: Renovate Bot [email protected] Co-authored-by: Jonathan Zempel [email protected]
- deps: update all non-major dependencies (#172) (daf7799)
- deps: update dependency eslint to v8 (#173) (c22840b)
22.0.0 (2021-10-07)
- added
- @typescript-eslint/no-non-null-asserted-nullish-coalescing
- @typescript-eslint/no-restricted-imports
- jest/prefer-expect-resolves
- jest/prefer-to-be
- react/no-namespace
- add
react/prefer-exact-props
rule.
Plugin dependency versions:
- @typescript-eslint/eslint-plugin
^4.30.0
- eslint-plugin-jsx-a11y
^6.4.0
- eslint-plugin-react
^7.25.0
- eslint-plugin-react-hooks
^4.2.0
- add new rules for jest, react, and typescript (#171) (82f34e8)
- add react/prefer-exact-props rule (#165) (59964c6)
21.0.0 (2021-08-17)
- add
@typescript-eslint/prefer-return-this-type
rule.
Plugin dependency versions:
@typescript-eslint/eslint-plugin
^4.29.0eslint-plugin-jsx-a11y
^6.4.0eslint-plugin-react
^7.22.0eslint-plugin-react-hooks
^4.2.0
20.0.0 (2021-04-26)
- add
@typescript-eslint/no-unsafe-argument
rule.
Plugin dependency versions:
@typescript-eslint/eslint-plugin
^4.22.0eslint-plugin-jsx-a11y
^6.4.0eslint-plugin-react
^7.22.0eslint-plugin-react-hooks
^4.2.0
19.0.0 (2021-01-20)
- deps: add
@typescript-eslint/object-curly-spacing
rule.
Plugin dependency versions:
@typescript-eslint/eslint-plugin
^4.14.0eslint-plugin-jsx-a11y
^6.4.0eslint-plugin-react
^7.22.0eslint-plugin-react-hooks
^4.2.0
Co-authored-by: Renovate Bot [email protected] Co-authored-by: Jonathan Zempel [email protected]
18.0.0 (2021-01-06)
- deps: add
react/jsx-no-constructed-context-values
and@typescript-eslint/sort-type-union-intersection-members
rules.
Plugin dependency versions:
@typescript-eslint/eslint-plugin
^4.12.0eslint-plugin-jsx-a11y
^6.4.0eslint-plugin-react
^7.22.0eslint-plugin-react-hooks
^4.2.0
Co-authored-by: Renovate Bot [email protected] Co-authored-by: Jonathan Zempel [email protected]
17.1.0 (2021-01-04)
17.0.0 (2020-12-22)
- deps: add new
no-unsafe-optional-chaining
rule
Co-authored-by: Renovate Bot [email protected] Co-authored-by: Jonathan Zempel [email protected]
16.0.0 (2020-12-05)
-
deps: update dependency eslint to v7.14.0 (#128)
15.0.0 (2020-07-29)
-
deps: update dependency eslint to v7.5.0 (#118)
14.0.1 (2020-07-15)
14.0.0 (2020-07-07)
- deps: adds rules for
no-promise-executor-return
andno-unreachable-loop
.
Co-authored-by: Renovate Bot [email protected] Co-authored-by: Jonathan Zempel [email protected]
13.0.0 (2020-05-26)
-
deps: update dependency eslint to v7.1.0 (#108)
12.0.1 (2020-05-16)
12.0.0 (2020-05-12)
-
deps: peer dependencies require
eslint: ^7.0.0
andeslint-plugin-node: ^11.1.0
11.0.4 (2020-04-15)
space-before-function-paren
handling for async functions (#100) (14e5b88)- use default CircleCI node_modules cache (#97) (d69416a)
11.0.3 (2020-03-05)
11.0.2 (2020-03-05)
11.0.1 (2019-12-19)
11.0.0 (2019-11-25)
- deps: added
grouped-accessor-pairs
no-constructor-return
no-dupe-else-if
no-setter-return
prefer-exponentiation-operator
10.0.0 (2019-09-17)
-
deps: add new rules that require eslint 6.4.0 or greater.
9.0.0 (2019-09-03)
-
deps: add new
reportUnusedDisableDirectives
configuration setting (warns if detected)
8.0.0 (2019-08-21)
-
deps: peer dependency bumped to
eslint: ^6.2.0
and updated config will throw a lint error on inconsistentfunction-call-argument-newline
rule.
7.2.2 (2019-07-01)
7.2.1 (2019-04-02)
7.2.0 (2019-03-06)
7.1.2 (2019-02-21)
7.1.1 (2019-02-04)
7.1.0 (2019-01-09)
7.0.10 (2018-12-10)
7.0.9 (2018-11-14)
7.0.8 (2018-10-30)
7.0.7 (2018-10-15)
7.0.6 (2018-09-24)
7.0.5 (2018-09-04)
7.0.4 (2018-08-20)
7.0.3 (2018-08-15)
7.0.2 (2018-08-13)
7.0.1 (2018-08-06)
7.0.0 (2018-08-06)
- existing code may fail with the addition of the following new rule error checking:
require-unicode-regexp
no-async-promise-executor
no-misleading-character-class
require-atomic-updates
6.0.0 (2018-06-11)
-
upgrade eslint peer dependency from
4.18.x
to5.x
. -
set
parserOptions: { jsx: true }
-
add
max-classes-per-file
configured to error if there is more than one -
add
prefer-object-spread
configured to warn whenObject.assign
is called using an object literal as the first argument
5.0.2 (2018-03-21)
5.0.1 (2018-03-15)
5.0.0 (2018-03-14)
- prepare for @zendeskgarden npm publish (#12) (d3130a5)
- package location has moved to the npm registry under
@zendeskgarden/eslint-config
. See the README for installation/upgrade details.
4.1.0 (2018-02-21)
4.0.0 - 2017-11-27
Changed (per #9)
- Upgrade to support eslint 4.x.
- The
eslint-plugin-sort-class-members
and rules for class member sorting.
3.0.1 - 2017-11-10
Fixed (per #7)
- Update
sort-class-members
config to be compatible with newereslint-plugin-sort-class-members
packages.
3.0.0 - 2017-05-26
Changed (per #6)
- Prepared package for registry publish as
@zendesk/eslint-config-garden
. See README for updated installation and usage. - Upgrade to support eslint 3.x.
2.1.0 - 2016-04-05
Added (per #3)
- Rules for class member sorting.
- Upgrade to support eslint 2.5.x.
2.0.1 - 2016-02-23
Fixed (per #5)
- Update
operator-linebreak
rule to "after".
2.0.0 - 2016-02-22
Changed (per #4)
- Upgrade to support eslint 2.2.x.
1.0.0 - 2016-01-04
Changed (per #2)
- Upgrade to support eslint 1.10.x.
0.2.1 - 2015-09-05
- Allow short notation type conversions.
0.2.0 - 2015-08-31
Changed (per #1)
- Require parentheses around arrow function arguments as-needed.