Releases: himynameisdave/eslint-config-himynameisdave
Releases Β· himynameisdave/eslint-config-himynameisdave
v7.0.0
v7.0.0
Updates Svelte and @typescript-eslint in a big way.
Breaking
- Major version update for
@typescript-eslint/
packages. - Removes use of
eslint-plugin-svelte3
in favor of the officialeslint-plugin-svelte
.
Raw commits
v7.0.0-alpha.0
v6.3.1
v6.3.0
Stops using the svelte3
parser, instead use the newer svelte-eslint-parser
Raw commits
- 3οΈβ£ Stop using svelte3 parser 3c932c6
v6.2.0
v6.1.0
v6.0.0
Features
- Switch from
eslint-plugin-node
toeslint-plugin-n
(#27) - Upgrades packages, patches security issue (#26)
- Adds some new rules:
import/consistent-type-specifier-style
import/no-empty-named-blocks
jsx-a11y/anchor-ambiguous-text
jsx-a11y/no-aria-hidden-on-focusable
jsx-a11y/prefer-tag-over-role
react/no-object-type-as-default-prop
react/sort-default-props
Breaking changes
Switching away from eslint-plugin-node
(which is no longer maintained) to the fork eslint-plugin-n
is technically a breaking change, but the upgrade steps aren't too crazy:
# NPM or Yarn or PNPM or whatever...
yarn remove eslint-plugin-node && yarn add -D eslint-plugin-n
If you are overriding any node/*
rules in your rules
section of .eslintrc.json
(or whatever your config is called), you'll need to change them to n/<rule-name>
. In addition, anywhere in your codebase where you are using a disable directive for these rules, you'll want to update those as well...
- // eslint-disable-next-line node/no-sync
+ // eslint-disable-next-line n/no-sync
fs.readFileSync(somePath);
Read more about eslint-plugin-n
to ensure the rest of your upgrade goes smoothly.
Raw commits
- Merge pull request #26 from himynameisdave/dependabot/npm_and_yarn/json5-1.0.2 90afeb2
- π¦ Package upgrades a00fd3e
- π΄ Run outdated Action on push and on schedule 6aa471f
- π§βπ¬ Run tests against Node 18 as well 86b04c6
- π Switch to using `eslint-plugin-n 2ebdc24
- Bump json5 from 1.0.1 to 1.0.2 64aa180