Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-love

mightyiam287.2kMIT118.0.0TypeScript support: included

A TypeScript ESLint config that loves you

check, checker, code, code checker, code linter, code standards, code style, enforce, eslint, eslintconfig, hint, jscs, jshint, lint, policy, quality, simple, style, style checker, style linter, verify, TypeScript

readme

eslint-config-love

GitHub License .github/workflows/ci.yaml npm Dependent repos prior to rename Dependent repos GitHub Repo stars

A TypeScript ESLint config that loves you

Description

This is an ESLint shareable configuration.

  • No framework/library-specific rules
  • Safety at the cost of verbosity
  • Convention over arbitrary choice
  • No formatting rules (please use a formatter)
  • No rules that are covered by strict TypeScript

Versioning

Any change that might require a user to make changes beyond upgrading this package is considered major. For example, rule addition are obviously major. It is expected that most version bumps will be major.

Example config

Here are example ESLint configuration files.

ECMAScript Modules:

import love from 'eslint-config-love'

export default [
  {
    ...love,
    files: ['**/*.js', '**/*.ts'],
  },
]

CommonJS:

module.exports = (async function config() {
  const { default: love } = await import('eslint-config-love')

  return [
    {
      ...love,
      files: ['**/*.js', '**/*.ts'],
    },
  ]
})()

Learn how to configure ESLint.

Note: the config exported by this package sets languageOptions.parserOptions.project = true. Read about the project option here.

There are some more parserOptions you may care about.

Example command line usage:

$ npx eslint .

Disabling rules

As with any ESLint configuration, some ad-hoc disabling of rules is expected. It is further expected that the strict nature of this configuration would more frequently require the disabling of rules.

Consider minimizing the scope in which rules are disabled; prefer using eslint-disable-* comments when possible. Otherwise, rules can be disabled for a subset of files using configuration.

Contributing

This project is developed primarily in remote mob programming format. See schedule and how to apply here.

Otherwise, see CONTRIBUTING.md.

Sponsoring

To ensure the continuity of this project, consider sponsoring the author.

changelog

118.0.0 (2025-01-25)

⚠ BREAKING CHANGES

  • no-implicit-globals

Features

117.0.0 (2025-01-15)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-misused-spread, bump min plugin version

Features

  • @typescript-eslint/no-misused-spread, bump min plugin version (eb1c1df)

116.0.0 (2025-01-11)

⚠ BREAKING CHANGES

  • no-empty-static-block
  • no-dupe-else-if
  • no-console

Features

115.0.0 (2025-01-11)

⚠ BREAKING CHANGES

  • no-alert

Features

114.0.0 (2024-12-28)

⚠ BREAKING CHANGES

  • max-nested-callbacks (max: 3)

Features

  • max-nested-callbacks (max: 3) (31fe71c)

113.0.0 (2024-12-21)

⚠ BREAKING CHANGES

  • max-lines at 450
  • max-depth with max: 5
  • no-constructor-return
  • no-constant-binary-expression

Features

112.0.0 (2024-12-14)

⚠ BREAKING CHANGES

  • promise/avoid-new

Features

111.0.0 (2024-12-14)

⚠ BREAKING CHANGES

  • logical-assignment-operators

Features

  • logical-assignment-operators (a008387)

110.0.0 (2024-12-07)

⚠ BREAKING CHANGES

  • guard-for-in
  • grouped-accessor-pairs getBeforeSet
  • for-direction

Features

109.0.0 (2024-11-30)

⚠ BREAKING CHANGES

  • consistent-this

Features

108.0.0 (2024-11-30)

⚠ BREAKING CHANGES

  • add rule complexity and bump min eslint v9.12.0.

Features

107.0.0 (2024-11-23)

⚠ BREAKING CHANGES

  • eslint-comments/no-unused-enable
  • eslint-comments/no-unlimited-disable
  • eslint-comments/no-duplicate-disable

Features

  • eslint-comments/no-duplicate-disable (e60dd79)
  • eslint-comments/no-unlimited-disable (1a133b4)
  • eslint-comments/no-unused-enable (3232076)

106.0.0 (2024-11-23)

⚠ BREAKING CHANGES

  • eslint-comments/no-aggregating-enable

Features

  • eslint-comments/no-aggregating-enable (b513d3a)

105.0.0 (2024-11-23)

⚠ BREAKING CHANGES

  • eslint-comments/disable-enable-pair

Features

  • eslint-comments/disable-enable-pair (8668647)

104.0.0 (2024-11-23)

⚠ BREAKING CHANGES

  • @typescript-eslint/require-await

Features

  • @typescript-eslint/require-await (4678416)

103.0.0 (2024-11-23)

⚠ BREAKING CHANGES

  • @typescript-eslint/use-unknown-in-catch-callback-variable

Features

  • @typescript-eslint/use-unknown-in-catch-callback-variable (47b0def)

102.0.0 (2024-11-23)

⚠ BREAKING CHANGES

  • @typescript-eslint/related-getter-setter-pairs

Features

  • @typescript-eslint/related-getter-setter-pairs (586c4bf)

101.0.0 (2024-11-19)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unsafe-type-assertion and bump minimum typescript-eslint to v8.15.0.

Features

  • @typescript-eslint/no-unsafe-type-assertion (f24848b)

100.0.0 (2024-11-19)

⚠ BREAKING CHANGES

  • This config no longer turns off rules whose typescript-eslint equivalents it uses. Turning off of such rules historically made sense, but since 065ce30c322e371c5aaea9558491aac739168161 it does not. For some, this may require some turning off of rules.

Features

  • no turn off rules whose typescript-eslint equivs are used (4302e11)

99.0.0 (2024-11-16)

⚠ BREAKING CHANGES

  • @typescript-eslint/unified-signatures

Features

  • @typescript-eslint/unified-signatures (cefd3b8)

98.0.2 (2024-11-11)

Bug Fixes

98.0.1 (2024-11-11)

Bug Fixes

98.0.0 (2024-11-09)

⚠ BREAKING CHANGES

  • @typescript-eslint/switch-exhaustiveness-check

Features

  • @typescript-eslint/switch-exhaustiveness-check (e411f71)

97.0.0 (2024-11-02)

⚠ BREAKING CHANGES

  • eslint-comments/require-description

Features

  • eslint-comments/require-description (5dffe3d)

96.0.0 (2024-10-26)

⚠ BREAKING CHANGES

  • arrow-body-style
  • arrow-body-style

Features

95.0.0 (2024-10-26)

⚠ BREAKING CHANGES

  • @typescript-eslint/prefer-string-starts-ends-with

Features

  • @typescript-eslint/prefer-string-starts-ends-with (e8e262d)

94.0.0 (2024-10-26)

⚠ BREAKING CHANGES

  • @typescript-eslint/prefer-regexp-exec

Features

  • @typescript-eslint/prefer-regexp-exec (de6da5e)

93.0.0 (2024-10-26)

⚠ BREAKING CHANGES

  • @typescript-eslint/prefer-namespace-keyword

Features

  • @typescript-eslint/prefer-namespace-keyword (2c6cae5)

92.0.0 (2024-10-26)

⚠ BREAKING CHANGES

  • @typescript-eslint/prefer-literal-enum-member

Features

  • @typescript-eslint/prefer-literal-enum-member (cebe013)

91.0.0 (2024-10-26)

⚠ BREAKING CHANGES

  • @typescript-eslint/prefer-for-of

Features

  • @typescript-eslint/prefer-for-of (2c864f3)

90.0.0 (2024-10-26)

⚠ BREAKING CHANGES

  • @typescript-eslint/prefer-find

Features

  • @typescript-eslint/prefer-find (ea7a3dc)

89.0.1 (2024-10-20)

Bug Fixes

89.0.0 (2024-10-17)

⚠ BREAKING CHANGES

  • @typescript-eslint/prefer-destructuring

Features

  • @typescript-eslint/prefer-destructuring (416f108)

88.0.0 (2024-10-17)

⚠ BREAKING CHANGES

  • @typescript-eslint/prefer-as-const

Features

  • @typescript-eslint/prefer-as-const (f6dfcfd)

87.0.0 (2024-10-14)

⚠ BREAKING CHANGES

  • package is in ecmascript module format

Features

  • package is in ecmascript module format (1d0aae4), closes #1528

86.1.1 (2024-10-13)

Bug Fixes

  • add missing @typescript-eslint/utils dep (9e5dae8), closes #1801

86.1.0 (2024-10-13)

Features

86.0.0 (2024-10-13)

⚠ BREAKING CHANGES

  • linterOptions.reportUnusedDisableDirectives error

Features

  • linterOptions.reportUnusedDisableDirectives error (8ce4578), closes #1513

85.0.0 (2024-10-12)

⚠ BREAKING CHANGES

  • peerDep eslint ^9.0.0
  • dep eslint-plugin-import ^2.31.0

Features

84.1.1 (2024-10-12)

Bug Fixes

  • bump incorrect typescript-eslint peerDep (5d1261f)

84.1.0 (2024-10-05)

Features

  • no-magic-numbers.enforceConst: false (c711820), closes #1786

84.0.0 (2024-10-05)

⚠ BREAKING CHANGES

  • no-new-native-nonconstructor

Features

  • no-new-native-nonconstructor (a2b4e4b)

83.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-useless-empty-export

Features

  • @typescript-eslint/no-useless-empty-export (2fcd608)

82.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unsafe-unary-minus

Features

  • @typescript-eslint/no-unsafe-unary-minus (cd78330)

81.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unsafe-return

Features

  • @typescript-eslint/no-unsafe-return (cc8b20c)

80.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unsafe-member-access

Features

  • @typescript-eslint/no-unsafe-member-access (239ec33)

79.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unsafe-enum-comparison

Features

  • @typescript-eslint/no-unsafe-enum-comparison (3d1e6a4)

78.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unsafe-declaration-merging

Features

  • @typescript-eslint/no-unsafe-declaration-merging (1ef8375)

77.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unsafe-call

Features

  • @typescript-eslint/no-unsafe-call (770e66f)

76.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unsafe-assignment

Features

  • @typescript-eslint/no-unsafe-assignment (3ad9d35)

75.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unnecessary-type-parameters

Features

  • @typescript-eslint/no-unnecessary-type-parameters (3a6f0ce)

74.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unnecessary-type-arguments

Features

  • @typescript-eslint/no-unnecessary-type-arguments (5260a95)

73.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unnecessary-template-expression

Features

  • @typescript-eslint/no-unnecessary-template-expression (b0499ee)

72.0.0 (2024-09-28)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unnecessary-qualifier

Features

  • @typescript-eslint/no-unnecessary-qualifier (63ecc82)

71.0.0 (2024-09-21)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unnecessary-parameter-property-assignment

Features

  • @typescript-eslint/no-unnecessary-parameter-property-assignment (674dddc)

70.0.0 (2024-09-21)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-unnecessary-condition

Features

  • @typescript-eslint/no-unnecessary-condition (edc29da)

69.0.0 (2024-09-21)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-redundant-type-constituents

Features

  • @typescript-eslint/no-redundant-type-constituents (f470d44)

68.0.0 (2024-09-21)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-non-null-asserted-nullish-coalescing

Features

  • @typescript-eslint/no-non-null-asserted-nullish-coalescing (0f20905)

67.0.0 (2024-09-21)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-mixed-enums

Features

  • @typescript-eslint/no-mixed-enums (da072ba)

66.0.0 (2024-09-14)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-meaningless-void-operator

Features

  • @typescript-eslint/no-meaningless-void-operator (7e6d5d0)

65.0.0 (2024-09-14)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-magic-numbers

Features

  • @typescript-eslint/no-magic-numbers (c187e98)

64.0.0 (2024-09-07)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-deprecated: warn

Features

  • @typescript-eslint/no-deprecated: warn (34e32ba)

63.0.0 (2024-08-24)

⚠ BREAKING CHANGES

  • @typescript-eslint/ban-types is replaced with @typescript-eslint/no-unsafe-function-type and @typescript-eslint/no-wrapper-object-types. @typescript-eslint/no-var-requires is replaced with @typescript-eslint/no-require-imports. @typescript-eslint/no-loss-of-precision is replaced with no-loss-of-precision. languageOptions.parserOptions.project:true is replaced with languageOptions.parserOptions.projectService:true.

Features

62.0.1 (2024-08-24)

Bug Fixes

  • rm empty object from @typescript-eslint/ban-types (79c1eaa)

62.0.0 (2024-07-27)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-inferrable-types

Features

  • @typescript-eslint/no-inferrable-types (8857927)

61.0.0 (2024-07-27)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-empty-object-type

Features

  • @typescript-eslint/no-empty-object-type (3746639)

60.0.0 (2024-07-27)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-loop-func

Features

  • @typescript-eslint/no-loop-func (d8e3d4d)

59.0.0 (2024-07-23)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-import-type-side-effects

Features

  • @typescript-eslint/no-import-type-side-effects (9970ecf)

58.0.0 (2024-07-23)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-explicit-any

Features

  • @typescript-eslint/no-explicit-any (febca28)

57.0.0 (2024-07-22)

⚠ BREAKING CHANGES

  • @typescript-eslint/no-empty-function
  • @typescript-eslint/no-duplicate-type-constituents
  • @typescript-eslint/no-duplicate-enum-values
  • @typescript-eslint/no-confusing-non-null-assertion
  • @typescript-eslint/max-params
  • @typescript-eslint/no-array-delete
  • @typescript-eslint/init-declarations

Features

  • @typescript-eslint/init-declarations (d63d8af)
  • @typescript-eslint/max-params (a97fa9e)
  • @typescript-eslint/no-array-delete (a513a37)
  • @typescript-eslint/no-confusing-non-null-assertion (92f1a2b)
  • @typescript-eslint/no-duplicate-enum-values (499b812)
  • @typescript-eslint/no-duplicate-type-constituents (22d7b2c)
  • @typescript-eslint/no-empty-function (d3fc473)

56.0.0 (2024-07-13)

⚠ BREAKING CHANGES

  • no-var: warn -> error

Features

55.0.0 (2024-07-13)

⚠ BREAKING CHANGES

  • @typescript-eslint/class-methods-use-this

Features

  • @typescript-eslint/class-methods-use-this (55a6a8c)

54.0.0 (2024-07-08)

⚠ BREAKING CHANGES

  • deps: minimum typescript-eslint v7.14.1

Miscellaneous Chores

  • deps: minimum typescript-eslint v7.14.1 (a98f908)

53.0.0 (2024-06-15)

⚠ BREAKING CHANGES

  • deps: exported value type declared, not inferred

chore

  • deps: update dependency typescript-eslint to v7.12.0 (0788ddc)

Build system / dependencies

  • deps: bump braces from 3.0.2 to 3.0.3 (006ca4f)
  • explicit devDep conventional-changelog-conventionalcommits (a0acf54)

Testing

  • no import sub-dep @typescript-eslint/eslint-plugin (de9b499)

52.0.0 (2024-05-31)

⚠ BREAKING CHANGES

  • deps: typescript-eslint minimum v7.11.0

Features

  • deps: update dependency typescript-eslint to v7.11.0 (abd1b76)

Bug fixes

  • deps: typescript-eslint minimum v7.11.0 (57f8339)

51.0.1 (2024-05-27)

Bug fixes

  • include build artifacts in package (3113bc4), closes #1575

51.0.0 (2024-05-27)

⚠ BREAKING CHANGES

  • rules: No use of deprecated rules. Most notably, all formatting rules are removed. Please use a formatter, such as dprint, tsfmt and prettier.

Features

  • rules: no use of deprecated rules (6db9c2b)

50.0.0 (2024-05-26)

⚠ BREAKING CHANGES

  • deps: update dependency eslint-plugin-n to v17

chore

  • deps: update dependency eslint-plugin-n to v17 (3d6821a)

49.0.0 (2024-05-26)

⚠ BREAKING CHANGES

  • deps: drop support for eslint-plugin-n v15

chore

  • deps: drop support for eslint-plugin-n v15 (d471d9f)

Build system / dependencies

  • renovate: fix outdated typescript-eslint settings (c88d092)

48.0.0 (2024-05-18)

⚠ BREAKING CHANGES

Build system / dependencies

  • use semantic-release/commit-analyzer preset (790b662)

Features

Testing

  • rm redundant parserOptions test (0e49fea)

47.0.0 (2024-04-10)

⚠ BREAKING CHANGES

  • no longer provides env nor globals.

Features

  • do not specify env nor globals (53802ac)

46.0.0 (2024-04-07)

⚠ BREAKING CHANGES

  • (trying to) specify all options for rules that are used. Most likely will not affect you.

Features

  • try to specify all options for used rules (dc6ad6a), closes #1003

Testing

  • exported value deep equality (c869c59)

45.0.0 (2024-04-07)

⚠ BREAKING CHANGES

  • all rule configs are arrays. This is a breaking change only if you are importing and processing the exported value yourself. Otherwise, this shouldn't affect you. Sorry for the major bump. Just being careful.

Features

  • all rule configs are arrays (9738761)

Refactoring

  • no extend from eslint-config-standard (065ce30)

Testing

  • rule todo list for eslint core & all plugins (8c84a0e)

44.0.0 (2024-04-02)

⚠ BREAKING CHANGES

  • deps: minimum @typescript-eslint is v7.0.1

Build system / dependencies

  • ci: "ci" job explicitly fails if test matrix fails (7dddb49)
  • ci: ci workflow if not cancelled (43b73e8)
  • ci: release from branch main (03a84a5)
  • nix: replace flake.nix with shell.nix (023d0b0)
  • shell.nix: nodejs_latest (75d18a0)
  • shell.nix: typescript-language-server (662a8f4)

Features

Testing

  • expected resolved config rules (593ac1b)

43.1.0 (2024-03-16)

Build system / dependencies

  • ci: 'ci' job does not need commitlint (3d0ae58)
  • commitlint: absorb external config (12b3382)
  • commitlint: don't use a github action (8b49ee7)
  • flake.nix with devShell (afa0a5b)
  • merge-in renovate dependency (3fab714)
  • semantic-release: absorb external config (43160a6)

CI

  • no run on push to branch except master (62c04c7)

Features

  • rename to eslint-config-love (f71d143)

Testing

43.0.1 (2024-1-20)

Build system / dependencies

  • rm add-to-project workflow (8d2f497)

Documentation

43.0.0 (2023-12-16)

⚠ BREAKING CHANGES

  • add rule @typescript-eslint/prefer-return-this-type

Features

  • @typescript-eslint/prefer-return-this-type (d987ba3)

42.0.0 (2023-12-9)

⚠ BREAKING CHANGES

  • add rule @typescript-eslint/no-unsafe-argument

Features

  • @typescript-eslint/no-unsafe-argument (350bd29)

41.0.0 (2023-12-9)

⚠ BREAKING CHANGES

  • add rule @typescript-eslint/non-nullable-type-assertion-style

Co-authored-by: Rostislav Simonik rostislav.simonik@technologystudio.sk

Features

  • @typescript-eslint/non-nullable-type-assertion-style (3f94c58)

40.0.0 (2023-11-18)

⚠ BREAKING CHANGES

  • add rule @typescript-eslint/unbound-method

Features

39.1.1 (2023-10-07)

Build system / dependencies

Bug fixes

  • turn off ESLint no-implied-eval (ed8f1d4)

39.1.0 (2023-09-23)

Build system / dependencies

  • add-to-project workflow (dd3ceae)
  • automergeMinor eslint-config-standard (f531394)
  • tsconfig.module = nodenext (7590972)

Features

39.0.0 (2023-08-27)

⚠ BREAKING CHANGES

  • deps: minimum @typescript-eslint packages bumped to v6.4.0

closes https://github.com/standard/eslint-config-standard-with-typescript/issues/1202

chore

38.1.0 (2023-08-27)

Features

Refactoring

  • remove now unneeded types definition src/inclusion.d.ts (f10cd95)

38.0.0 (2023-08-20)

⚠ BREAKING CHANGES

  • minimum @typescript-eslint packages bumped to v6.1.0
  • there will be some

Build system / dependencies

Features

37.0.0 (2023-07-22)

⚠ BREAKING CHANGES

  • add rule @typescript-eslint/block-spacing and bump minimum @typescript-eslint to 5.52.0

Co-authored-by: Rostislav Simonik rostislav.simonik@technologystudio.sk

Features

  • @typescript-eslint/block-spacing (0a0585f)

36.1.1 (2023-07-22)

Build system / dependencies

  • automerge @types/ bumps (09b9445)

Documentation

36.1.0 (2023-07-15)

Features

  • bump eslint-config-standard to v17.1.0 (aacad54)

Build system / dependencies

  • rm redundant peerDep range test (4e7ac4f)

36.0.1 (2023-07-14)

Bug fixes

  • retrieval of active node versions in ci (5ccd9a6)

36.0.0 (2023-06-30)

⚠ BREAKING CHANGES

  • the rules are provided at the top level, instead of under an overrides property. Providing the rules under the overrides property was never a good idea. It prevents specifying which files the rules apply to (e.g. [*.js, *.ts]). I apologize. To migrate, make sure that your extends property is under an overrides item. An example is in the readme. To help verify your configuration, you could obtain a list of files that will be linted, this way: DEBUG=eslint:cli-engine npx eslint <path>.

Bug fixes

35.0.0 (2023-06-02)

⚠ BREAKING CHANGES

  • minimum @typescript-eslint is corrected to be 5.50.0

Co-authored-by: Rostislav Simonik rostislav.simonik@technologystudio.sk

Build system / dependencies

Testing

  • assign to config.overrides.parser in compatibility config test (2e62830)
  • bottom peerDep compatibility test actually works (73da75f)

Bug fixes

34.0.1 (2023-03-14)

Testing

  • equivalents not used upstream not considered (7354da5)

Bug fixes

34.0.0 (2023-02-01)

⚠ BREAKING CHANGES

  • @typescript-eslint/key-spacing

Features

  • @typescript-eslint/key-spacing (f1d8be3)

33.0.0 (2023-01-27)

⚠ BREAKING CHANGES

  • @typescript-eslint/class-literal-property-style

Co-authored-by: Shahar Dawn Or mightyiampresence@gmail.com

Features

  • @typescript-eslint/class-literal-property-style (35093cb)

32.0.0 (2023-01-24)

⚠ BREAKING CHANGES

  • @typescript-eslint/consistent-type-{imports/exports}

Co-authored-by: Rostislav Simonik rostislav.simonik@technologystudio.sk

Features

  • @typescript-eslint/consistent-type-{imports/exports} (bf0f96f)

31.0.0 (2023-01-19)

⚠ BREAKING CHANGES

  • @typescript-eslint/consistent-generic-constructors

Features

  • @typescript-eslint/consistent-generic-constructors (0248ed7)

30.0.0 (2023-01-17)

⚠ BREAKING CHANGES

  • @typescript-eslint/ban-types

Features

  • @typescript-eslint/ban-types (94fcc73)

29.0.0 (2023-01-17)

⚠ BREAKING CHANGES

  • @typescript-eslint/ban-tslint-comment

Features

  • @typescript-eslint/ban-tslint-comment (6aa6817)

28.0.0 (2023-01-17)

⚠ BREAKING CHANGES

  • @typescript-eslint/ban-ts-comment

Co-authored-by: Shahar Dawn Or mightyiampresence@gmail.com

Features

  • @typescript-eslint/ban-ts-comment (13e53c0)

27.0.1 (2023-01-12)

Documentation

27.0.0 (2023-01-12)

⚠ BREAKING CHANGES

  • add @typescript-eslint/await-thenable

Co-authored-by: Shahar Dawn Or mightyiampresence@gmail.com

Features

  • add @typescript-eslint/await-thenable (7dad1a9)

Testing

  • all plugin rules are considered (f91887f)
  • correct 'all plugin rules are considered' (6863028)

Build system / dependencies

  • latest node.js in publish job (0c8d8f8)

26.0.0 (2023-01-03)

⚠ BREAKING CHANGES

  • add @typescript-eslint/no-confusing-void-expression

Co-authored-by: Rostislav Simonik rostislav.simonik@technologystudio.sk

Features

  • add @typescript-eslint/no-confusing-void-expression (15ce349)

25.0.0 (2023-01-03)

⚠ BREAKING CHANGES

  • add @typescript-eslint/no-unnecessary-type-constraint

Co-authored-by: Rostislav Simonik rostislav.simonik@technologystudio.sk

Features

  • add @typescript-eslint/no-unnecessary-type-constraint (3451bac)

24.0.0 (2022-12-14)

⚠ BREAKING CHANGES

  • add rule consistent-indexed-object-style

Features

  • add rule consistent-indexed-object-style (2edd0af)

Build system / dependencies

  • workaround some commitlint issue (a202f4b)

23.0.0 (2022-09-13)

⚠ BREAKING CHANGES

  • add rules from @typescript-eslint: no-extra-parens, no-loss-of-precision, object-curly-spacing, space-before-blocks, comma-dangle.

Features

CI

Build system / dependencies

  • renovate automergeMinor github actions (02dde9d), closes #910

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

22.0.0 (2022-07-06)

⚠ BREAKING CHANGES

  • the dependency eslint-config-standard is now pinned.
  • several peerDep bumps including eslint@^8.0.1 (was

Features

  • pin eslint-config-standard dependency (5bbd534), closes #849
  • support ESLint v8 (dc25743)

Bug Fixes

  • log #759 as breaking change (519a8bc), closes #806
  • peer-depend on any version of typescript (3446e30), closes #604
  • use typescript-eslint version of space-infix-ops rule (e57051c)

21.0.1 (2021-08-31)

21.0.0 (2021-08-29)

⚠ BREAKING CHANGES

  • package: peer dependencies are specified with ^.

Bug Fixes

  • deps: expand eslint-plugin-promise peerDep to equal upstream (dcc5a33)
  • deps: sort peer deps (a26b179)
  • doc: readme travis ci badge .com (34953e6)
  • no-void: allowAsStatement (8ab083e)
  • package: peerDeps use caret ranges (b8b544d), closes #596
  • relax rule default-param-last (#591) (8c836dc)

20.0.0 (2021-01-25)

⚠ BREAKING CHANGES

  • Now based on eslint-config-standard v16. Also bumped some peerDeps, including eslint. Notice removed eslint-plugin-standard peerDep.

Features

  • eslint-config-standard v16 (020569b)
  • require-array-sort-compare ignoreStringArrays (#359) (95fcb7c)

Bug Fixes

  • docs: install version of @typescript-eslint/eslint-plugin@4 (#414) (51c40be)

19.0.1 (2020-09-02)

Bug Fixes

  • add @typescript-eslint/no-redeclare (73e39a6)

19.0.0 (2020-09-02)

⚠ BREAKING CHANGES

  • deps: minimum @typescript-eslint/eslint-plugin version bumped to 4.0.1

Bug Fixes

  • docs: install version of @typescript-eslint/eslint-plugin@3 (26691c7), closes #353 #351
  • test: deps parser & plugin same major version (0329cac), closes #407
  • deps: update eslint packages to v4 (7275f68)

18.0.2 (2020-05-28)

Bug Fixes

  • allow PascalCase format on variables (14bc44c)

18.0.1 (2020-05-27)

Bug Fixes

  • include lib/eslint-config-standard in package (07c0aba), closes #329

18.0.0 (2020-05-27)

⚠ BREAKING CHANGES

  • deps: peer dep version bump

Features

  • export is of type ESLint.Config (1d61c3d)

Bug Fixes

  • deep copy standardRules config (db3467d), closes #303
  • deps: bump parser & plugin to v3.0.1 (9621cde), closes #209

17.0.0 (2020-05-16)

⚠ BREAKING CHANGES

https://github.com/typescript-eslint/typescript-eslint/blob/v2.29.0/packages/eslint-plugin/docs/rules/keyword-spacing.md

  • add rule @typescript-eslint/prefer-reduce-type-parameter

https://github.com/typescript-eslint/typescript-eslint/blob/v2.29.0/packages/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md

  • add rule @typescript-eslint/method-signature-style
  • plugin peerDep bumped to 2.29.0

Features

  • allowSingleExtends in no-empty-interface (821005e), closes #293
  • rule @typescript-eslint/keyword-spacing (728a592)
  • rule @typescript-eslint/method-signature-style (aecc59e)
  • rule @typescript-eslint/prefer-reduce-type-parameter (3015c46)
  • rule @typescript-eslint/prefer-ts-expect-error (b10a230)
  • upgrade parser & plugin to 2.33.0 (ce506b1), closes #290 #291 #295 #297

Bug Fixes

16.0.0 (2020-04-23)

⚠ BREAKING CHANGES

  • plugin peerDep bump
  • bump plugin peerDep

Bug Fixes

  • ensure @typescript-eslint/semi rule is applied (#275) (92b21c7)
  • remove @typescript-eslint/require-await (657ee28), closes #217
  • upgrade parser & plugin to 2.25.0 (99af05e), closes #263
  • upgrade parser & plugin to 2.26.0 (08c2444), closes #269

15.0.1 (2020-03-21)

Bug Fixes

  • bump dependency on eslint-config-standard (dc3a348)

15.0.0 (2020-03-17)

⚠ BREAKING CHANGES

no-use-before-define ignores enums.

  • member-ordering handles enum declarations

Features

Bug Fixes

  • remove @typescript-eslint/no-empty-function (e183d4e), closes #248
  • upgrade parser & plugin to v2.19.2 (443680f)

14.0.0 (2020-02-19)

⚠ BREAKING CHANGES

no-use-before-define ignores enums.

  • member-ordering handles enum declarations

Features

  • upgrade parser & plugin to v2.19.2 (443680f)

13.0.0 (2020-02-11)

⚠ BREAKING CHANGES

no-use-before-define ignores enums.

  • member-ordering handles enum declarations

Features

  • upgrade parser & plugin to v2.17.0 (11a16f4), closes #218
  • upgrade parser & plugin to v2.18.0 (fe2242a), closes #218
  • upgrade parser & plugin to v2.19.0 (64fdf31), closes #223
  • rules: add rule prefer-includes (#148) (#225) (a2bdac5)
  • upgrade plugin & parser to v2.11.0 (6a378ad), closes #191
  • upgrade plugin & parser to v2.12.0 (e5cfecf), closes #194
  • upgrade plugin & parser to v2.13.0 (a0ef9e7), closes #196
  • upgrade plugin & parser to v2.14.0 (af722c3), closes #202
  • upgrade plugin & parser to v2.15.0 (f6eab66), closes #203
  • upgrade plugin & parser to v2.16.0 (b83b82e), closes #207
  • upgrade parser & plugin to v2.19.2 (443680f)

12.0.1 (2020-01-21)

Bug Fixes

12.0.0 (2020-01-21)

⚠ BREAKING CHANGES

Features

Bug Fixes

11.0.0 (2019-11-15)

⚠ BREAKING CHANGES

  • brace-style now supports TypeScript syntax.

Features

Bug Fixes

10.0.0 (2019-10-03)

⚠ BREAKING CHANGES

Bug Fixes

  • don't use the TypeScript parser for .js files (bad0301)
  • tsconfig.json: utilize new tsconfig.eslint.json file (fb0976d)
  • [no-unused-vars] Allow unused parameters (5b70896)
  • [no-use-before-define] Disable eslint version (9d9c792)
  • add ESLint to the list of dependencies (4600a95)
  • add missing eslint dependency to readme.md (501ba09)
  • drop peerDependency of eslint-config-standard (85d7174), closes #131
  • loosen explicit-function-return-type (bdae116), closes #110
  • remove explicit-member-accessibility (f673d9d), closes #111
  • sort the rules by type (4e48fdc)
  • update readme to reflect correct usage (8a29b9e)

Features

  • @typescript-eslint/eslint-plugin@^1.11.0 (ad3f043), closes #99
  • @typescript-eslint/eslint-plugin@^1.12.0 (b41f0e5), closes #100
  • @typescript-eslint/eslint-plugin@^1.13.0 (72fc639), closes #101

9.0.0 (2019-08-30)

⚠ BREAKING CHANGES

Bug Fixes

  • [no-unused-vars] Allow unused parameters (5b70896)
  • [no-use-before-define] Disable eslint version (9d9c792)
  • add ESLint to the list of dependencies (4600a95)
  • add missing eslint dependency to readme.md (501ba09)
  • drop peerDependency of eslint-config-standard (85d7174), closes #131
  • loosen explicit-function-return-type (bdae116), closes #110
  • remove explicit-member-accessibility (f673d9d), closes #111
  • sort the rules by type (4e48fdc)
  • update readme to reflect correct usage (8a29b9e)
  • tsconfig.json: utilize new tsconfig.eslint.json file (fb0976d)

Features

  • @typescript-eslint/eslint-plugin@^1.11.0 (ad3f043), closes #99
  • @typescript-eslint/eslint-plugin@^1.12.0 (b41f0e5), closes #100
  • @typescript-eslint/eslint-plugin@^1.13.0 (72fc639), closes #101