Releases: theoludwig/eslint-config-conventions
Releases · theoludwig/eslint-config-conventions
v14.2.0
v14.1.0
14.1.0 (2024-02-16)
Features
-
add
@typescript-eslint/no-require-imports
(6e6a8d7)
Note: Not considered breaking, as@typescript-eslint/no-var-requires
is already there.
You should already not use,require
in your codebase.
It was a mistake to not include this rule.However, the newly added rule, will now report an error for the following example code:
const [loaded, error] = useFonts({ CustomFont: require("../assets/fonts/CustomFont.ttf") })
Must read: "Every change breaks someones workflow", https://xkcd.com/1172/
-
add support for
@typescript-eslint
v7 (dbe252f)
v14.0.0
14.0.0 (2024-02-08)
⚠ BREAKING CHANGES
- New rules introduced
- deps: peerDependencies:
eslint@^8.56.0
eslint-plugin-import@^2.29.1
eslint-plugin-unicorn@^51.0.1
typescript@^5.3.3
@typescript-eslint/eslint-plugin@^6.21.0
@typescript-eslint/parser@^6.21.0
Features
- add
@typescript-eslint/no-array-delete
(89c012c) - add
@typescript-eslint/no-useless-template-literals
(7abcc17) - add
@typescript-eslint/prefer-as-const
(256a502) - add
@typescript-eslint/prefer-find
(b72745b) - add
@typescript-eslint/prefer-promise-reject-errors
(b0f6ef5) - add
import/no-anonymous-default-export
(c9365be) - add
no-constant-binary-expression
(17e90bc) - add
no-else-return
(8585574) - add
no-sparse-arrays
(fce826e) - add
no-useless-concat
(c1a524e) - add
promise/no-multiple-resolved
(a5036c8) - add
promise/no-nesting
(00b7a2a)
Build System
- deps: update latest (dab4433)
v13.1.0
v13.0.0
13.0.0 (2023-11-14)
⚠ BREAKING CHANGES
- New rule introduced
- deps: peerDependencies:
eslint@^8.53.0
eslint-plugin-import@^2.28.1
eslint-plugin-promise@^6.1.1
eslint-plugin-unicorn@^49.0.0
@typescript-eslint/eslint-plugin@^6.11.0
@typescript-eslint/parser@^6.11.0
Features
- add
@typescript-eslint/no-unsafe-unary-minus
(d3d71f9)
Bug Fixes
- relax
unicorn/no-array-push-push
(6a064c2)
Build System
- deps: update latest (113a469)
v12.0.0
12.0.0 (2023-10-18)
⚠ BREAKING CHANGES
- deps: peerDependencies:
eslint@^8.51.0
eslint-plugin-import@^2.28.1
eslint-plugin-promise@^6.1.1
eslint-plugin-unicorn@^48.0.1
- deps: Bump minimum supported Node.js >= 18.0.0
Features
- replace
no-new-object
(deprecated) rule withno-object-constructor
(d91b2a2)
Build System
- deps: update latest (d8b3ef6)
v11.0.1
v11.0.0
11.0.0 (2023-07-18)
⚠ BREAKING CHANGES
- New rules introduced
- deps: peerDependencies:
eslint-plugin-unicorn@^48.0.0
Features
- add
unicorn/consistent-destructuring
(07595cc) - add
unicorn/consistent-function-scoping
(244b746) - add
unicorn/explicit-length-check
(eab075e) - add
unicorn/no-array-callback-reference
(7f7ab46) - add
unicorn/no-array-for-each
(80c00f5) - add
unicorn/no-array-method-this-argument
(2fcede3) - add
unicorn/no-array-push-push
(cbbb8df) - add
unicorn/no-document-cookie
(8837b87) - add
unicorn/no-empty-file
(2fd4edb) - add
unicorn/no-new-array
(d59b088) - add
unicorn/no-new-buffer
(f622982) - add
unicorn/number-literal-case
(c431a20) - add
unicorn/prefer-modern-math-apis
(8bfeaad) - add
unicorn/prefer-number-properties
(807c201) - add
unicorn/require-array-join-separator
(381f5cb) - add
unicorn/template-indent
(adf01e1)
Build System
- deps: update latest (1e29cef)