Changelog
2.0.0-next.0
Major Changes
dca02aa:
Node
: Upgraded fromnode@18.18
tonode@22.14
.To Migrate:
- Update the
node
version in thevolta
configuration in thepackage.json
file. - Update the engine version in the
package.json
file. - Update the node version in any ci/cd pipes that have a fixed version.
- Remove your
node_modules
and run anpm install
. - Ensure all dependencies are compatible with the new node version.
- Update the
f740e78:
Eslint
: update to eslint v9.x and use flat config. This updates the rules and packages needed changes to be in line with the up-to-date eslint rules. Additionally, ensure documentation reflects these changes for seamless integration and usage.Breaking The
eslint
config file now only supports flat configs using theeslint.config.mjs
file. The old.eslintrc
files are not supported anymore. This is a breaking change for all users of the@xerius/eslint-config
package.Migration The new config file,
eslint.config.mjs
should look like this:jsimport eslintConfig from "@xerius/eslint-config"; export default eslintConfig({ // You can extend the configuration with your own rules here if needed. // For example: // rules: { // 'vue/no-unused-vars': 'warn', // }, });
Add:
--fix
to your eslint command to automatically fix all the issues that can be fixed automatically. This will help you to migrate your codebase to the new eslint rules.example:
basheslint --fix .
Minor Changes
- 19bc32f: Enabled
@typescript-eslint/consistent-type-imports
sotype
imports consistancy is autofixable. - 19bc32f: Added
@typescript-eslint/no-unused-vars
rule override to allow_
pattern andignoreRestSiblings
1.2.0-next.0
Minor Changes
- 26b0db145: Exclude all codey packages from 'import/no-unresolved' rule.
1.1.0-vue3.1
Minor Changes
- 2cd9e3d33: Add
no-console
andno-debugger
lint rules depending on the NODE_ENV you are building. - 2cd9e3d33: Add
spec
files to the vitest overrides.
1.0.1-vue3.0
Patch Changes
- e114493fd: Fix import/resolver settings to support front-office apps