From e970d39554351f1ce964135ce204d2fadb6a565c Mon Sep 17 00:00:00 2001 From: David Requeno Date: Sun, 27 Sep 2026 21:07:34 -0600 Subject: [PATCH] Adjust ESLint flat config dependencies and plugin scope --- CHANGELOG.md | 2 +- eslint.config.cjs | 3 ++- package-lock.json | 1 + package.json | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a98d5965a..9640a793b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Migrated the ESLint configuration to the flat config without `FlatCompat` and replaced the direct dependencies `@eslint/eslintrc` and `@eslint/js` with `typescript-eslint` +- Migrated the _ESLint_ configuration to the flat config format without `FlatCompat` - Upgraded `bull-board` from version `9.9.0` to `9.10.1` - Upgraded `zod` from version `4.5.4` to `4.6.5` diff --git a/eslint.config.cjs b/eslint.config.cjs index 857d1063e2..9c1b2024b6 100644 --- a/eslint.config.cjs +++ b/eslint.config.cjs @@ -8,7 +8,7 @@ module.exports = [ ignores: ['**/dist'] }, ...storybook.configs['flat/recommended'], - { plugins: { '@nx': nxEslintPlugin, import: importPlugin } }, + { plugins: { '@nx': nxEslintPlugin } }, { files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'], rules: { @@ -34,6 +34,7 @@ module.exports = [ ...nxEslintPlugin.configs['flat/javascript'], ...typescriptEslint.config({ files: ['**/*.ts'], + plugins: { import: importPlugin }, extends: [ typescriptEslint.configs.recommendedTypeChecked, typescriptEslint.configs.stylisticTypeChecked diff --git a/package-lock.json b/package-lock.json index 3420b5c66b..c80d9a09d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -122,6 +122,7 @@ "@angular/language-service": "22.1.2", "@angular/localize": "22.1.2", "@angular/pwa": "22.1.4", + "@eslint/js": "9.35.0", "@nestjs/schematics": "11.1.0", "@nestjs/testing": "11.2.3", "@nx/angular": "23.1.1", diff --git a/package.json b/package.json index d85ead2c37..24d3a897eb 100644 --- a/package.json +++ b/package.json @@ -166,6 +166,7 @@ "@angular/language-service": "22.1.2", "@angular/localize": "22.1.2", "@angular/pwa": "22.1.4", + "@eslint/js": "9.35.0", "@nestjs/schematics": "11.1.0", "@nestjs/testing": "11.2.3", "@nx/angular": "23.1.1",