X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.cjs;h=d4ff8a2032e4de52a2d2999f9f99c36afce42c1c;hb=HEAD;hp=ec043bbe27793238c812da2818a3c5fd03cd31e7;hpb=4c3f6c20f9416e148a3d26b6a06acc13274ab469;p=e-mobility-charging-stations-simulator.git diff --git a/.eslintrc.cjs b/.eslintrc.cjs index ec043bbe..d4ff8a20 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': { @@ -23,36 +23,6 @@ module.exports = defineConfig({ rules: { 'simple-import-sort/imports': 'error', 'simple-import-sort/exports': 'error' - // 'sort-imports': [ - // 'error', - // { - // ignoreCase: false, - // ignoreDeclarationSort: true, - // ignoreMemberSort: false, - // memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'], - // allowSeparatedGroups: true - // } - // ], - // 'import/order': [ - // 'error', - // { - // groups: [ - // 'builtin', // Built-in imports (come from NodeJS native) go first - // 'external', // <- External imports - // 'internal', // <- Absolute imports - // ['sibling', 'parent'], // <- Relative imports, the sibling and parent types they can be mingled together - // 'index', // <- Index imports - // 'unknown' // <- Unknown - // ], - // 'newlines-between': 'always', - // alphabetize: { - // /* Sort in ascending order. Options: ["ignore", "asc", "desc"] */ - // order: 'asc', - // /* Ignore case. Options: [true, false] */ - // caseInsensitive: true - // } - // } - // ] }, overrides: [ { @@ -66,7 +36,7 @@ module.exports = defineConfig({ 'plugin:@typescript-eslint/strict-type-checked', 'plugin:@typescript-eslint/stylistic-type-checked', 'plugin:import/typescript', - 'standard-with-typescript' + 'love' ], rules: { 'operator-linebreak': 'off',