Releases: EvgenyOrekhov/eslint-config-hardcore
Releases · EvgenyOrekhov/eslint-config-hardcore
v45.2.0
hardcore
hardcore/ts
hardcore/vue
- Add
defineModel
and"defineExposeLast": true
tovue/define-macros-order
- Replace
vue-scoped-css/enforce-style-type
withvue/enforce-style-attribute
v45.1.1
Update dependencies
v45.1.0
hardcore
hardcore/vue
- Add
vue/no-unused-emit-declarations
- Set
vue/define-emits-declaration
to"type-literal"
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