All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
5.0.0 (2024-02-16)
4.1.3 (2023-11-16)
Note: Version bump only for package @strv/eslint-config-typescript
4.1.2 (2023-07-11)
- properly configure
@typescript-eslint/parameter-properties
(2f7b4bf)
4.1.1 (2023-07-11)
- use correct options for
@typescript-eslint/restrict-plus-operands
(6e74b20)
4.1.0 (2023-07-11)
- greatly improve
@typescript-eslint/naming-convention
definition (859402b) - upgrade typescript-eslint packages to v6 release (3c2cf8c)
4.0.0 (2023-07-06)
- disable
@typescript-eslint/explicit-function-return-type
🔥 (c7b77ca) - disable
id-length
max
property (a5424d8) - upgrade eslint-plugin-import to v2.27 (c89f5e2)
- upgrade eslint-plugin-typescript & add new rules 💪 (ac7d81b)
- the new rule
@typescript-eslint/no-duplicate-enum-values
is set toerror
, potentially causing existing projects to fail on linting jobs.
3.2.0 (2022-07-18)
- upgrade all deps 💣 (cd77c39)
3.1.2 (2022-04-11)
- rule: disable consistent-return for TypeScript (e81e3b1)
3.1.1 (2022-04-04)
- rule: avoid crashes with ESLint v8.12 in no-shadow rule (21bc0d3)
- rule: disable no-confusing-void-expression rule (91ae52e)
3.1.0 (2022-03-23)
- rule: support ESLint v8, many new rules 🎉 (aaf5708)
3.0.0 (2021-09-07)
Note: Version bump only for package @strv/eslint-config-typescript
3.0.0-alpha.9 (2021-09-07)
- rule: use correct semver ranges for engines.node 🤦♂️ (5f1737f)
- repo: All packages must now be used with a minimum of Node.js 14 or 16.
- deps: Most dependencies have been upgraded to a newer major version. Most of the time these upgrades dropped support for old Node.js versions.
3.0.0-alpha.8 (2021-06-30)
- disable eslint for tsreact (8ab1a69)
3.0.0-alpha.7 (2021-05-05)
Note: Version bump only for package @strv/eslint-config-typescript
3.0.0-alpha.6 (2021-03-27)
- eslint-typescript: be more strict with some rules (5c6b32f)
- eslint-typescript: Several rules' level has been raised to
error
after a long discussion with many team members. We feel that some code patterns are really dangerous and should be flagged appropriately, even if we recognise that there might be some small, valid use-cases for some of them. The rules include:
- no-explicit-any: if you don't know the type then use
unknown
instead - no-dynamic-delete: if you need to dynamically remove properties from an object then perhaps you should use a different data store, like
Map
orSet
- no-floating-promises: always, always! handle promises, at least add a
.catch(err => console.error(err)
to them - no-for-in-array: always prefer
for-of
loop or other iteration mechanism - no-inferrable-types: save your keyboard from all these unnecessary keystrokes required to add types to variables which are obvious
- no-this-alias: don't assign
this
to a variable; use an arrow function instead - prefer-function-type: makes code more readable in some specific situations
- prefer-nullish-coalescing: it is far superior to other logical operators
- require-array-sort-compare:
Array.prototype.sort()
has a very basic default comparison logic so it's always preferred to provide explicit sorting rules.
3.0.0-alpha.5 (2021-02-03)
- eslint-typescript: upgrade plugins to latest version (9f9c9c0)
3.0.0-alpha.4 (2020-10-11)
- eslint-typescript: allow
any
type in template literal expressions (510053a)
3.0.0-alpha.3 (2020-10-09)
- eslint-typescript: prefer no-duplicate-imports rule (6527739)
3.0.0-alpha.2 (2020-10-09)
Note: Version bump only for package @strv/eslint-config-typescript
3.0.0-alpha.1 (2020-10-09)
- eslint-typescript: use correct options for consistent-type-imports (9b8eb84)
3.0.0-alpha.0 (2020-10-09)
- eslint-typescript: avoid duplicate warnings for require-await rule (d53ef6d)
- eslint-typescript: ruleset overhaul 🚀 (3c53970)
- eslint-typescript: The ruleset underwent a complete overhaul - it now requires ESLint v7, includes compatibility with TypeScript v4 and adds several new rules. Some rules have been causing duplicate issues being reported - these have been disabled.
2.3.0 (2020-03-03)
- eslint-typescript: upgrade TS-related plugins, enable new rules (69830e6)
2.2.1 (2020-03-03)
- eslint-typescript: naming-convention options (b8a1bfd)
2.2.0 (2020-02-11)
- eslint-typescript: upgrade plugin to 2.19 🚀 (48956cd)
2.1.5 (2020-02-07)
Note: Version bump only for package @strv/eslint-config-typescript
2.1.4 (2020-02-07)
- eslint-typescript: fix array-type rule options (e5efe2d)
2.1.3 (2019-09-25)
- update invalid cli option (385a0a2)
2.1.2 (2019-08-27)
Note: Version bump only for package @strv/eslint-config-typescript
2.1.1 (2019-08-27)
- eslint-typescript: disable quotes rule (not yet released) (3b58c95)
2.1.0 (2019-08-24)
- eslint-typescript: correctly recognise paths in tsconfig.json (49e7ec4)
- revisit TypeScript ruleset, upgrade to v2 (86fadc6)
2.0.0 (2019-06-22)
- drop support for Node.js 6 & 8 (4add1ff)
- explicitly mark configs as ESLint v6 compatible 🎉 (017d975)
- remove interface name prefix rule from typescript (49221f7), closes #25
- From now on, all ESLint plugins will only work on projects running Node.js 10 and above and the linter itself must be run using Node.js 10 and above.
1.1.1 (2019-05-27)
Note: Version bump only for package @strv/eslint-config-typescript
1.1.0 (2019-04-30)
- disabled no-unused-vars (a2781c0)
1.0.4 (2019-04-09)
- eslint-typescript: add missing optional ruleset (00950d1)
- eslint-typescript: declare all required deps in package.json 🤦♂️ (f88ea93)
1.0.3 (2019-04-09)
Note: Version bump only for package @strv/eslint-config-typescript
1.0.2 (2019-04-05)
- corrected faulty import for typescript config (850a135)
1.0.1 (2019-03-07)
Note: Version bump only for package @strv/eslint-config-typescript
1.0.0 (2019-03-04)
Note: Version bump only for package @strv/eslint-config-typescript
- extend typescript ruleset from the base one (8768ccc)