Browse Source

Adjust ESLint flat config dependencies and plugin scope

pull/7938/head
David Requeno 12 hours ago
parent
commit
e970d39554
  1. 2
      CHANGELOG.md
  2. 3
      eslint.config.cjs
  3. 1
      package-lock.json
  4. 1
      package.json

2
CHANGELOG.md

@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### 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 `bull-board` from version `9.9.0` to `9.10.1`
- Upgraded `zod` from version `4.5.4` to `4.6.5` - Upgraded `zod` from version `4.5.4` to `4.6.5`

3
eslint.config.cjs

@ -8,7 +8,7 @@ module.exports = [
ignores: ['**/dist'] ignores: ['**/dist']
}, },
...storybook.configs['flat/recommended'], ...storybook.configs['flat/recommended'],
{ plugins: { '@nx': nxEslintPlugin, import: importPlugin } }, { plugins: { '@nx': nxEslintPlugin } },
{ {
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'], files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
rules: { rules: {
@ -34,6 +34,7 @@ module.exports = [
...nxEslintPlugin.configs['flat/javascript'], ...nxEslintPlugin.configs['flat/javascript'],
...typescriptEslint.config({ ...typescriptEslint.config({
files: ['**/*.ts'], files: ['**/*.ts'],
plugins: { import: importPlugin },
extends: [ extends: [
typescriptEslint.configs.recommendedTypeChecked, typescriptEslint.configs.recommendedTypeChecked,
typescriptEslint.configs.stylisticTypeChecked typescriptEslint.configs.stylisticTypeChecked

1
package-lock.json

@ -122,6 +122,7 @@
"@angular/language-service": "22.1.2", "@angular/language-service": "22.1.2",
"@angular/localize": "22.1.2", "@angular/localize": "22.1.2",
"@angular/pwa": "22.1.4", "@angular/pwa": "22.1.4",
"@eslint/js": "9.35.0",
"@nestjs/schematics": "11.1.0", "@nestjs/schematics": "11.1.0",
"@nestjs/testing": "11.2.3", "@nestjs/testing": "11.2.3",
"@nx/angular": "23.1.1", "@nx/angular": "23.1.1",

1
package.json

@ -166,6 +166,7 @@
"@angular/language-service": "22.1.2", "@angular/language-service": "22.1.2",
"@angular/localize": "22.1.2", "@angular/localize": "22.1.2",
"@angular/pwa": "22.1.4", "@angular/pwa": "22.1.4",
"@eslint/js": "9.35.0",
"@nestjs/schematics": "11.1.0", "@nestjs/schematics": "11.1.0",
"@nestjs/testing": "11.2.3", "@nestjs/testing": "11.2.3",
"@nx/angular": "23.1.1", "@nx/angular": "23.1.1",

Loading…
Cancel
Save