Releases: EvgenyOrekhov/eslint-config-hardcore
Releases · EvgenyOrekhov/eslint-config-hardcore
v20.5.0
hardcore/ts
hardcore/react
v20.4.0
hardcore
- Add
@putout/plugin-apply-filter-boolean
- Add
unicorn/no-useless-fallback-in-spread
- Add
unicorn/no-invalid-remove-event-listener
- Add
regexp/no-contradiction-with-assertion
- Add
regexp/prefer-lookaround
- Add
regexp/no-empty-character-class
- Add
regexp/prefer-named-capture-group
- Add
regexp/require-unicode-regexp
- Add
regexp/no-misleading-unicode-character
- Add
regexp/no-control-character
hardcore/ts
hardcore/react
- Add
react/prefer-exact-props
- Add
react/no-namespace
- Enable
forms
option forreact/jsx-no-target-blank
v20.3.0
- Add
@putout/plugin-apply-is-array
- Add
regexp/no-invalid-regexp
- Remove deprecated
regexp/*
rules - Fix conflicts between rules related to regex escape sequences
v20.2.0
hardcore
- Enable
esmodule
option forimport/no-dynamic-require
- Enable
commonjs
option forimport/named
hardcore/ts
- Enable
ignoreTypeImports
option forimport/max-dependencies
- Add
@putout/plugin-remove-useless-mapping-identifiers
- Add
@putout/plugin-apply-utility-types
v20.1.0
hardcore/ts
- Add
@putout/plugin-remove-useless-mapped-types
- Disable Putout's
promises/add-missing-await
(it could break some code, such as React'suseEffect()
callbacks that
can't be async) - Disable
@putout/plugin-remove-unused-types
(it was getting in the way when actively coding, same as@putout/plugin-remove-unused-variables
)
v20.0.0 - TypeScript, React, Jest, and more
New configs
hardcore/ts
hardcore/react
hardcore/react-testing-library
hardcore/jest
Major changes
hardcore/ts-for-js
Use ESLint core rules instead of @typescript-eslint/*
extension rules (extension rules don't have any benefits over ESLint core rules when linting JavaScript).
Other changes
v19.18.1
Revert changing prefer-destructuring
options (turns out that the enforceForRenamedProperties
option makes code really confusing).
v19.18.0
Add @typescript-eslint/init-declarations
to hardcore/ts-for-js
.
v19.17.0
- Add
@putout/plugin-remove-useless-map
- Disable
fp/no-throw
v19.16.0
Port over some rules from eslint-config-airbnb-base:
- Add
consistent-return
- Add
no-restricted-globals
- Enable
enforceForRenamedProperties
option forprefer-destructuring
- Relax
no-param-reassign
by allowing property modifications for some conventional parameters