|
| 1 | +diff --git a/node_modules/@1stg/eslint-config/base.js b/node_modules/@1stg/eslint-config/base.js |
| 2 | +index 8e0b6f5..68a5e50 100644 |
| 3 | +--- a/node_modules/@1stg/eslint-config/base.js |
| 4 | ++++ b/node_modules/@1stg/eslint-config/base.js |
| 5 | +@@ -34,7 +34,7 @@ export const base = tseslint.config([ |
| 6 | + promise.configs['flat/recommended'], |
| 7 | + regexp.configs['flat/recommended'], |
| 8 | + sonarjs.configs.recommended, |
| 9 | +- unicornX.configs.recommended, |
| 10 | ++ unicornX.configs['flat/recommended'], |
| 11 | + prettierExtends, |
| 12 | + isEslintNodeDepsEnabled && isPkgAvailable('eslint-plugin-node-dependencies') |
| 13 | + ? [ |
| 14 | +@@ -131,7 +131,7 @@ export const base = tseslint.config([ |
| 15 | + }, |
| 16 | + ], |
| 17 | + 'no-negated-condition': 2, |
| 18 | +- 'no-process-exit': 0, // suspended by unicorn-x/no-process-exit |
| 19 | ++ 'no-process-exit': 0, // suspended by unicorn/no-process-exit |
| 20 | + |
| 21 | + // The following rules are duplicate with `eslint-plugin-import-x` |
| 22 | + 'n/no-extraneous-import': 0, |
| 23 | +@@ -146,15 +146,15 @@ export const base = tseslint.config([ |
| 24 | + 'prefer-const': [2, { destructuring: 'all' }], |
| 25 | + 'prefer-object-spread': 2, |
| 26 | + 'simple-import-sort/exports': 2, |
| 27 | +- 'unicorn-x/catch-error-name': [ |
| 28 | ++ 'unicorn/catch-error-name': [ |
| 29 | + 2, |
| 30 | + { |
| 31 | + name: 'error', |
| 32 | + ignore: ['^e(rr)?$'], |
| 33 | + }, |
| 34 | + ], |
| 35 | +- 'unicorn-x/consistent-function-scoping': 0, |
| 36 | +- 'unicorn-x/filename-case': [ |
| 37 | ++ 'unicorn/consistent-function-scoping': 0, |
| 38 | ++ 'unicorn/filename-case': [ |
| 39 | + 2, |
| 40 | + { |
| 41 | + cases: { |
| 42 | +@@ -165,13 +165,13 @@ export const base = tseslint.config([ |
| 43 | + ignore: [/^[A-Z](([\dA-Z]+_)*[\dA-Z]+)?\.(mdx?|ya?ml)$/], |
| 44 | + }, |
| 45 | + ], |
| 46 | +- 'unicorn-x/no-array-reduce': 0, |
| 47 | +- 'unicorn-x/no-null': 0, |
| 48 | +- 'unicorn-x/no-unreadable-array-destructuring': 0, // conflict with `no-unused-vars` |
| 49 | +- 'unicorn-x/prefer-module': 0, |
| 50 | +- 'unicorn-x/prefer-object-from-entries': 0, |
| 51 | +- 'unicorn-x/prevent-abbreviations': 0, |
| 52 | +- 'unicorn-x/prefer-export-from': [2, { ignoreUsedVariables: true }], |
| 53 | ++ 'unicorn/no-array-reduce': 0, |
| 54 | ++ 'unicorn/no-null': 0, |
| 55 | ++ 'unicorn/no-unreadable-array-destructuring': 0, // conflict with `no-unused-vars` |
| 56 | ++ 'unicorn/prefer-module': 0, |
| 57 | ++ 'unicorn/prefer-object-from-entries': 0, |
| 58 | ++ 'unicorn/prevent-abbreviations': 0, |
| 59 | ++ 'unicorn/prefer-export-from': [2, { ignoreUsedVariables: true }], |
| 60 | + }, |
| 61 | + }, |
| 62 | + { |
| 63 | +diff --git a/node_modules/@1stg/eslint-config/ts-base.js b/node_modules/@1stg/eslint-config/ts-base.js |
| 64 | +index 18bb9f2..214471d 100644 |
| 65 | +--- a/node_modules/@1stg/eslint-config/ts-base.js |
| 66 | ++++ b/node_modules/@1stg/eslint-config/ts-base.js |
| 67 | +@@ -129,10 +129,10 @@ export const tsBase = tseslint.config({ |
| 68 | + 'promise/always-return': 0, |
| 69 | + 'promise/catch-or-return': 0, |
| 70 | + // ts itself has guaranteed it |
| 71 | +- 'unicorn-x/no-array-callback-reference': 0, |
| 72 | ++ 'unicorn/no-array-callback-reference': 0, |
| 73 | + // covered by @typescript-eslint/no-extraneous-class |
| 74 | +- 'unicorn-x/no-static-only-class': 0, |
| 75 | ++ 'unicorn/no-static-only-class': 0, |
| 76 | + // covered by @typescript-eslint/no-this-alias |
| 77 | +- 'unicorn-x/no-this-assignment': 0, |
| 78 | ++ 'unicorn/no-this-assignment': 0, |
| 79 | + }, |
| 80 | + }) |
0 commit comments