Releases: EvgenyOrekhov/eslint-config-hardcore
Releases · EvgenyOrekhov/eslint-config-hardcore
v45.0.0 - Remove Prettier
eslint-config-hardcore remains compatible with default Prettier options,
but now it is recommended to run Prettier separately.
I recommend this Prettier config to format as many file types as possible:
https://github.com/EvgenyOrekhov/prettier-config
v44.0.0
Add eslint-plugin-compat.
Make sure to specify your target browsers/environments in package.json
, e. g.
"browserslist": ["> 0.5%", "last 2 versions", "Firefox ESR", "not dead"]
v43.0.0
Major changes
hardcore
- Add eslint-plugin-yml
- Add eslint-plugin-toml
- Add linting of
.*.json
files
hardcore/react
- Extract performance rules into a separate config:
hardcore/react-performance
hardcore/fp
- Replace eslint-plugin-fp with eslint-plugin-functional
Other changes
hardcore
- Remove
import/prefer-default-export
(whyexport default
is bad: #846 )
hardcore/ts
hardcore/fp
- Remove eslint-plugin-ramda
v42.0.0 - RegExp v flag
Major changes
hardcore
hardcore/react
- Set
settings.jsx-a11y.polymorphicPropName
to"as"
(you should set it to"component"
if you use MUI)
Other changes
hardcore
- Add
regexp/grapheme-string-literal
- Add
regexp/simplify-set-operations
- Add
regexp/no-useless-string-literal
- Add
regexp/no-empty-string-literal
- Add
regexp/no-useless-set-operand
- Add
regexp/prefer-set-operation
- Enable
enforceForRenamedProperties
option forprefer-destructuring
hardcore/react
- Make
jsx-a11y/mouse-events-have-key-events
more strict
v41.3.0
hardcore/jest
v41.2.0
Update dependencies
v41.1.0
hardcore/vue
v41.0.0 - typescript-eslint v6
Should be no major changes, but bumping just in case.
v40.1.0
hardcore
- Add
@putout/plugin-apply-starts-with
- Remove deprecated
unicorn/no-unsafe-regex
hardcore/react
- Enable
checkContextObjects
option forreact/display-name
v40.0.0
Update Prettier to v3