Skip to content

Changelog

2.0.0-next.0

Major Changes

  • dca02aa: Node: Upgraded from node@18.18 to node@22.14.

    To Migrate:

    • Update the node version in the volta configuration in the package.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 a npm install.
    • Ensure all dependencies are compatible with the new node version.
  • 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 the eslint.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:

    js
    import 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:

    bash
    eslint --fix .

Minor Changes

  • 19bc32f: Enabled @typescript-eslint/consistent-type-imports so type imports consistancy is autofixable.
  • 19bc32f: Added @typescript-eslint/no-unused-vars rule override to allow _ pattern and ignoreRestSiblings

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 and no-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