Skip to content

Latest commit

 

History

History
104 lines (71 loc) · 2.97 KB

CHANGELOG.md

File metadata and controls

104 lines (71 loc) · 2.97 KB

Changelog

8.0.0

Bump all packages to the latest version.

7.1.0

Relaxed @typescript-eslint/no-confusing-void-expression to allow arrow shorthand functions as long as they're explicitly typed as void-returning.

7.0.1

Bug fixes:

  • Removed obsolete interface-name-prefix rule.
  • Removed obsolete generic-type-naming rule.

7.0.0

BREAKING CHANGES: Typescript 4.3.4 is required for this version.

Also upgraded all other dependencies to the latest versions.

Added the following rules:

'@typescript-eslint/consistent-type-imports': 'error',
"no-loss-of-precision": "off",
"@typescript-eslint/no-loss-of-precision": ["error"],
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
'@typescript-eslint/no-confusing-void-expression': 'error',
'@typescript-eslint/no-unsafe-argument': 'error',

6.1.0

Allow PascalCase for variables. Use case: React components.

6.0.0

BREAKING CHANGES: require the I prefix for interfaces in @typescript-eslint/naming-convention.

5.0.0

BREAKING CHANGES: introduce @typescript-eslint/naming-convention.

4.1.0

@typescript-eslint/restrict-template-expression now allows numbers.

4.0.1

BREAKING CHANGES, Typescript 3.8.2 required.

Enabled the following rules:

'@typescript-eslint/promise-function-async'
'@typescript-eslint/no-misused-new'
'@typescript-eslint/no-misused-promises'
'@typescript-eslint/await-thenable'
'@typescript-eslint/require-await'
'@typescript-eslint/return-await'
'@typescript-eslint/no-unsafe-return'
'@typescript-eslint/prefer-ts-expect-error'
'@typescript-eslint/no-throw-literal',
'@typescript-eslint/no-invalid-void-type'
'@typescript-eslint/switch-exhaustiveness-check'
'@typescript-eslint/no-empty-function'
'@typescript-eslint/no-unnecessary-qualifier',
'@typescript-eslint/method-signature-style': ['error', 'property']
'@typescript-eslint/no-base-to-string'
'@typescript-eslint/no-unnecessary-condition': ['error', { allowConstantLoopConditions: true }]
'@typescript-eslint/prefer-string-starts-ends-with',
'@typescript-eslint/prefer-includes',
'@typescript-eslint/prefer-readonly': 'error',
'@typescript-eslint/prefer-nullish-coalescing': 'error',
'@typescript-eslint/prefer-optional-chain': 'error',
'@typescript-eslint/prefer-as-const': 'error',
'@typescript-eslint/restrict-template-expressions': 'error',

3.0.2

Removed the unavailable rule prefer-interface.

3.0.1

Fix the array-type bug introduced by a breaking change in rule configuration.

3.0.0

Updated minimal dependencies to support latest TypeScript features:

    "@typescript-eslint/eslint-plugin": "^2.22.0",
    "@typescript-eslint/parser": "^2.22.0",
    "eslint-plugin-import": "^2.20.1",
    "eslint-plugin-react": "^7.18.3"

2.0.0

Enabled strict boolean expression checking for better handling of "yes / no / maybe" cases.