diff --git a/packages/@o3r/eslint-config-otter/eslint.local.config.mjs b/packages/@o3r/eslint-config-otter/eslint.local.config.mjs index 930f427b1d..a58976e1e8 100644 --- a/packages/@o3r/eslint-config-otter/eslint.local.config.mjs +++ b/packages/@o3r/eslint-config-otter/eslint.local.config.mjs @@ -23,31 +23,5 @@ export default [ ] } } - }, - { - name: '@o3r/eslint-config-otter/overrides', - files: ['package.json'], - rules: { - '@o3r/json-dependency-versions-harmonize': [ - 'error', - { - // TODO should be removed in Otter v12 - ignoredDependencies: [ - 'eslint', - '@typescript-eslint/eslint-plugin', - '@typescript-eslint/parser', - '@typescript-eslint/utils', - 'eslint-plugin-jsdoc', - 'eslint-plugin-unicorn' - ], - ignoredPackages: [ - '@o3r/build-helpers', - '@o3r/workspace-helpers' - ], - alignPeerDependencies: false, - alignEngines: true - } - ] - } } ]; diff --git a/packages/@o3r/eslint-config-otter/package.json b/packages/@o3r/eslint-config-otter/package.json index 8188f7119d..acfd9f0c1b 100644 --- a/packages/@o3r/eslint-config-otter/package.json +++ b/packages/@o3r/eslint-config-otter/package.json @@ -61,15 +61,15 @@ "@schematics/angular": "~18.2.0", "@stylistic/eslint-plugin-ts": "^2.7.0", "@typescript-eslint/eslint-plugin": "^7.14.1", - "@typescript-eslint/parser": "^7.14.1", - "@typescript-eslint/utils": "^7.14.1", - "eslint": "^8.57.0", + "@typescript-eslint/parser": "^7.14.1 || ^8.0.0", + "@typescript-eslint/utils": "^7.14.1 || ^8.0.0", + "eslint": ">=8.57.0 <9.15.0", "eslint-import-resolver-node": "^0.3.4", "eslint-plugin-jasmine": "^4.1.3", "eslint-plugin-jest": "^28.0.0", - "eslint-plugin-jsdoc": "^48.11.0", + "eslint-plugin-jsdoc": "^48.11.0 || ^49.0.0 || ^50.0.0", "eslint-plugin-prefer-arrow": "^1.2.2", - "eslint-plugin-unicorn": "^54.0.0", + "eslint-plugin-unicorn": "^54.0.0 || ^55.0.0", "typescript": "~5.5.4" }, "devDependencies": { diff --git a/packages/@o3r/eslint-config/package.json b/packages/@o3r/eslint-config/package.json index 58eb5cdb14..1cfeddb3c7 100644 --- a/packages/@o3r/eslint-config/package.json +++ b/packages/@o3r/eslint-config/package.json @@ -40,7 +40,7 @@ "@angular-eslint/builder": "~18.4.0", "@angular/compiler": "~18.2.0", "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0", - "@eslint/js": "~9.14.0", + "@eslint/js": ">=8.57.0 <9.15.0", "@o3r/eslint-plugin": "workspace:^", "@o3r/schematics": "workspace:^", "@schematics/angular": "~18.2.0", @@ -49,7 +49,7 @@ "@typescript-eslint/types": "^8.0.0", "@typescript-eslint/utils": "^8.0.0", "angular-eslint": "^18.4.0", - "eslint": "^8.57.0 || ~9.14.0", + "eslint": ">=8.57.0 <9.15.0", "eslint-import-resolver-node": "^0.3.4", "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-import": "^2.31.0", diff --git a/yarn.lock b/yarn.lock index bc8e03edc3..8f986d2f71 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8665,15 +8665,15 @@ __metadata: "@schematics/angular": ~18.2.0 "@stylistic/eslint-plugin-ts": ^2.7.0 "@typescript-eslint/eslint-plugin": ^7.14.1 - "@typescript-eslint/parser": ^7.14.1 - "@typescript-eslint/utils": ^7.14.1 - eslint: ^8.57.0 + "@typescript-eslint/parser": ^7.14.1 || ^8.0.0 + "@typescript-eslint/utils": ^7.14.1 || ^8.0.0 + eslint: ">=8.57.0 <9.15.0" eslint-import-resolver-node: ^0.3.4 eslint-plugin-jasmine: ^4.1.3 eslint-plugin-jest: ^28.0.0 - eslint-plugin-jsdoc: ^48.11.0 + eslint-plugin-jsdoc: ^48.11.0 || ^49.0.0 || ^50.0.0 eslint-plugin-prefer-arrow: ^1.2.2 - eslint-plugin-unicorn: ^54.0.0 + eslint-plugin-unicorn: ^54.0.0 || ^55.0.0 typescript: ~5.5.4 peerDependenciesMeta: "@angular-devkit/schematics": @@ -8750,7 +8750,7 @@ __metadata: "@angular-eslint/builder": ~18.4.0 "@angular/compiler": ~18.2.0 "@eslint-community/eslint-plugin-eslint-comments": ^4.4.0 - "@eslint/js": ~9.14.0 + "@eslint/js": ">=8.57.0 <9.15.0" "@o3r/eslint-plugin": "workspace:^" "@o3r/schematics": "workspace:^" "@schematics/angular": ~18.2.0 @@ -8759,7 +8759,7 @@ __metadata: "@typescript-eslint/types": ^8.0.0 "@typescript-eslint/utils": ^8.0.0 angular-eslint: ^18.4.0 - eslint: ^8.57.0 || ~9.14.0 + eslint: ">=8.57.0 <9.15.0" eslint-import-resolver-node: ^0.3.4 eslint-import-resolver-typescript: ^3.6.3 eslint-plugin-import: ^2.31.0