From: Jérôme Benoit Date: Thu, 7 Mar 2024 19:16:34 +0000 (+0100) Subject: refactor: cleanup eslint configuration X-Git-Tag: v1.3.0~26 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b00a1ee17c18ed50ef89cd708db06a1c6c266df7;p=e-mobility-charging-stations-simulator.git refactor: cleanup eslint configuration Signed-off-by: Jérôme Benoit --- diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 62be7e41..524c43da 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -11,7 +11,7 @@ module.exports = defineConfig({ sourceType: 'module', ecmaVersion: 2022 }, - plugins: ['simple-import-sort', 'import'], + plugins: ['simple-import-sort'], extends: ['eslint:recommended', 'plugin:import/recommended'], settings: { 'import/resolver': { diff --git a/package.json b/package.json index 97a64568..bdbda03a 100644 --- a/package.json +++ b/package.json @@ -140,9 +140,9 @@ "eslint-define-config": "^2.1.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.29.1", - "eslint-plugin-simple-import-sort": "^12.0.0", "eslint-plugin-jsdoc": "^48.2.1", "eslint-plugin-n": "^16.6.2", + "eslint-plugin-simple-import-sort": "^12.0.0", "eslint-plugin-tsdoc": "^0.2.17", "expect": "^29.7.0", "glob": "^10.3.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b01a20fe..513b9bb2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3438,7 +3438,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001596 - electron-to-chromium: 1.4.695 + electron-to-chromium: 1.4.696 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -4749,8 +4749,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false - /electron-to-chromium@1.4.695: - resolution: {integrity: sha512-eMijZmeqPtm774pCZIOrfUHMs/7ls++W1sLhxwqgu8KQ8E2WmMtzwyqOMt0XXUJ3HTIPfuwlfwF+I5cwnfItBA==} + /electron-to-chromium@1.4.696: + resolution: {integrity: sha512-SOr0bHP52OvYg2chCsz/0+FUSMGFm8L8HKwPpx3cbwRY24EOemVJtbgTm+IFO8LzhcnPy+hXmTq7ZcZ8uUuaYg==} dev: true /elliptic@6.5.5: diff --git a/ui/web/.eslintrc.cjs b/ui/web/.eslintrc.cjs index 55c077bd..b6252bbc 100644 --- a/ui/web/.eslintrc.cjs +++ b/ui/web/.eslintrc.cjs @@ -9,7 +9,7 @@ module.exports = defineConfig({ node: true }, - plugins: ['simple-import-sort', 'import'], + plugins: ['simple-import-sort'], extends: [ 'eslint:recommended',