]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
chore: switch to eslint defineConfig
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 12 Mar 2025 13:30:31 +0000 (14:30 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 12 Mar 2025 13:30:31 +0000 (14:30 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
eslint.config.js
package.json
pnpm-lock.yaml

index f7110ecc25de80a2a7ff9e1936e1591ef77ab5a8..278f8d8153665f1f1a3f8f4fe4d2da2fd64ab737 100644 (file)
@@ -1,13 +1,13 @@
 /* eslint-disable n/no-unpublished-import */
 import cspellConfigs from '@cspell/eslint-plugin/configs'
 import js from '@eslint/js'
-import { defineFlatConfig } from 'eslint-define-config'
 import jsdoc from 'eslint-plugin-jsdoc'
 import perfectionist from 'eslint-plugin-perfectionist'
 import pluginVue from 'eslint-plugin-vue'
+import { defineConfig } from 'eslint/config'
 import neostandard, { plugins } from 'neostandard'
 
-export default defineFlatConfig([
+export default defineConfig([
   {
     ignores: ['**/dist/**'],
   },
index ac5bc0be058046b89cdc30d1c63e5fd67a63f3f0..9fe44371dea76885ee67d97b67fac11ad468a200 100644 (file)
     "esbuild-plugin-clean": "^1.0.1",
     "esbuild-plugin-copy": "^2.1.1",
     "eslint": "^9.22.0",
-    "eslint-define-config": "^2.1.0",
     "eslint-plugin-jsdoc": "^50.6.3",
     "eslint-plugin-perfectionist": "^4.10.1",
     "eslint-plugin-vue": "^9.33.0",
index 54f17880ca757f440cfee898368694b4edb75bf8..e9d3856fbf869ec69fb0aed0d12c17e89d56d70c 100644 (file)
@@ -124,9 +124,6 @@ importers:
       eslint:
         specifier: ^9.22.0
         version: 9.22.0(jiti@2.4.2)
-      eslint-define-config:
-        specifier: ^2.1.0
-        version: 2.1.0
       eslint-plugin-jsdoc:
         specifier: ^50.6.3
         version: 50.6.3(eslint@9.22.0(jiti@2.4.2))
@@ -2699,11 +2696,6 @@ packages:
     peerDependencies:
       eslint: '>=6.0.0'
 
-  eslint-define-config@2.1.0:
-    resolution: {integrity: sha512-QUp6pM9pjKEVannNAbSJNeRuYwW3LshejfyBBpjeMGaJjaDUpVps4C6KVR8R7dWZnD3i0synmrE36znjTkJvdQ==}
-    engines: {node: '>=18.0.0', npm: '>=9.0.0', pnpm: '>=8.6.0'}
-    deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
-
   eslint-import-resolver-node@0.3.9:
     resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==}
 
@@ -9064,8 +9056,6 @@ snapshots:
       eslint: 9.22.0(jiti@2.4.2)
       semver: 7.7.1
 
-  eslint-define-config@2.1.0: {}
-
   eslint-import-resolver-node@0.3.9:
     dependencies:
       debug: 3.2.7