v0.3.0 (2024-07-15)
What's Changed
Breaking changes
- drop node v16 & v18 support
Main 0.3.0 release commit 64aac64
Features
ESLint
- updated to v9.6.0
- typescript-eslint updated to v8 alpha (for esm & ESLint v9 support)
- use new projectService feature
- use typescript-eslint internal plugin & parser instead of @typescript-eslint/eslint-plugin & @typescript-eslint/parser packages
- use
strictTypeChecked
&stylisticTypeChecked
typescript-eslint configs - eslint-plugin-react-hooks update to v5-rc for typescript-eslint v8 support
- use @eslint/compat
fixupPluginRules
to fix eslint-plugin-import rules for ESLint v9 - use
eslint-plugin-prettier/recommended
instead of eslint-config-prettier after update to v5.1.0 - use
import.meta.dirname
instead ofresolve(dirname(fileURLToPath(import.meta.url)))
remove unnecessary imports - use ESLint stylistic packages for deprecated ESLint, typescript-eslint formatting rules
- add JS no-useless-assignment rule
Package.json
- use
node --import ts-node.register.mjs
for dev, prod, buildapp, analyze scripts - add @eslint/config-inspector package to inspect eslint flat config
- add
test:eslint-config
&test:webpack-config
scripts - add @types/eslint__js typeScript definitions for @eslint/js
- add Stylistic packages (@stylistic/eslint-plugin-js, @stylistic/eslint-plugin-jsx, @stylistic/eslint-plugin-ts)
Other
- add
ts-node.register.mjs
script for esm c69f4e7 - update husky pre-commit file due to migration to v9 a4825ab
Fixes
ESLint
- fix @typescript-eslint/naming-convention to support
camelCase
in imports - remove & replace deprecated/renamed rules
- add
'import/ignore': 'node_modules'
rule to fix typescript-eslint/typescript-eslint#9450
Package.json
- fix husky v9 prepare script
- remove @typescript-eslint/eslint-plugin & @typescript-eslint/parser packages
VSCode settings
source.fixAll.eslint
set toexplicit
replaceeslint.experimental.useFlatConfig
by stableeslint.useFlatConfig
remove fromexplorer.fileNesting.patterns
deprecated.postcssrc*
pattern
edec678
Other
- webpack css-loader modules namedExport property set to false (default value changed to true after migration to v7) 7d5bcce
- fix project
shims.d.ts
interfaces exports 6cfa6e9
Docs README.md
- set minimum node version to 20.15.1 & npm 10.7.0
set recommended node version to 22.4.1 & pnpm 9.5.0
addtest:eslint-config
,test:webpack-config
scripts descriptions
update known issues
eb0be98 - update LICENSE year 1b0ac33
Other
- packages update, fix related configs
- update
.nvmrc
node version to v22.4.1 4c078fe - run svgo-all script on project
.svg
files 9d625b2
by @alexey-koran in #31
Full Changelog: v0.2.1...v0.3.0