diff --git a/.changeset/gold-chairs-jog.md b/.changeset/gold-chairs-jog.md deleted file mode 100644 index a87785c0cc..0000000000 --- a/.changeset/gold-chairs-jog.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -"@vue-storefront/eslint-config": major ---- - -**[BREAKING]**: The ``@vue-storefront/eslint-config` is migrated to support ESLint v9 and FlatConfig. Please upgrade following way: - -**Step 1: Update Dependencies** - -First, update your project dependencies to use the latest versions of ESLint and Prettier. - -```bash -yarn add -D eslint@^9 prettier@^3 @vue-storefront/eslint-config@^4 -``` - -**Step 2: Update ESLint Configuration** - -Replace your existing ESLint configuration with the new configuration format. Below is a basic example from the `README.md`: - -```js -import { ecma, typescript, style, concat } from "@vue-storefront/eslint-config"; - -export default concat( - ecma(), - typescript(), - style(), - // Here it's a place for you custom configuration -); -``` - -Read more about FlatConfig in [ESLint docs](https://eslint.org/docs/latest/use/configure/). diff --git a/engineering-toolkit/eslint-config/CHANGELOG.md b/engineering-toolkit/eslint-config/CHANGELOG.md index 3b95f541a9..8b04a83481 100644 --- a/engineering-toolkit/eslint-config/CHANGELOG.md +++ b/engineering-toolkit/eslint-config/CHANGELOG.md @@ -1,5 +1,36 @@ # @vue-storefront/eslint-config +## 4.0.0 + +### Major Changes + +**[BREAKING]**: The `@vue-storefront/eslint-config` is migrated to support ESLint v9 and FlatConfig. Please upgrade following way: + +**Step 1: Update Dependencies** + +First, update your project dependencies to use the latest versions of ESLint and Prettier. + +```bash +yarn add -D eslint@^9 prettier@^3 @vue-storefront/eslint-config@^4 +``` + +**Step 2: Update ESLint Configuration** + +Replace your existing ESLint configuration with the new configuration format. Below is a basic example from the `README.md`: + +```js +import { ecma, typescript, style, concat } from "@vue-storefront/eslint-config"; + +export default concat( + ecma(), + typescript(), + style() + // Here it's a place for you custom configuration +); +``` + +Read more about FlatConfig in [ESLint docs](https://eslint.org/docs/latest/use/configure/). + ## 3.1.3 ### Patch Changes diff --git a/engineering-toolkit/eslint-config/package.json b/engineering-toolkit/eslint-config/package.json index 6a6cb58a56..c2f02beaaf 100644 --- a/engineering-toolkit/eslint-config/package.json +++ b/engineering-toolkit/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@vue-storefront/eslint-config", - "version": "3.1.3", + "version": "4.0.0", "type": "module", "main": "src/index.js", "license": "MIT",