Releases: EvgenyOrekhov/eslint-config-hardcore
Releases · EvgenyOrekhov/eslint-config-hardcore
v16.7.1
v16.7.0
@putout/plugin-split-nested-destructuring
now supports function parameters:
// before:
function f({ a: { b } }) {
console.log(b);
}
// after:
function f({ a }) {
const { b } = a;
console.log(b);
}
v16.6.0
v16.5.0
v16.4.0
- Changed the default behavior of the
regexp/prefer-range
rule totarget: "alphanumeric"
v16.3.0
v16.2.0
v16.1.0
- Add
regexp/prefer-quantifier
- Add
@putout/plugin-convert-assignment-to-arrow-function
- Add
@putout/plugin-convert-mock-require-to-mock-import
- Add
@putout/plugin-remove-duplicate-interface-keys
(for*.ts
and*.tsx
only)
v16.0.0
Major changes
- Add HTML ESLint
- Add linting of
*.html
files with Prettier - Add
unicorn/consistent-destructuring
- Enable
enforceForJSX
option forno-unused-expressions
- Move
init-declarations
fromhardcore/fp
tohardcore
@putout/plugin-remove-boolean-from-logical-expression
was updated to warn about=== true
and=== false
in logical expressions
Other changes
- Add
unicorn/no-new-array
- Add
unicorn/prefer-array-index-of
- Add
unicorn/prefer-regexp-test
- Add
unicorn/no-array-push-push
- Add
unicorn/no-this-assignment
- Add Putout's
regexp/remove-useless-group
- Add Putout's
regexp/remove-useless-regexp
v15.3.0
- Add
unicorn/prefer-array-some
- Add
unicorn/prefer-default-parameters
- Add
@putout/plugin-remove-duplicates-from-logical-expressions
- Add
@putout/plugin-nodejs
- Add a couple of new Putout plugins (enabled by default)
Also see eslint-plugin-unicorn's release notes for a list of renamed rules.