|
1 | | -import { defineScTsConfig } from '@shiftcode/eslint-config-recommended' |
2 | | -// import noDynamoPlugin from './eslint-plugins/no-dynamo.js' |
| 1 | +import { defineScTsConfig } from "@shiftcode/eslint-config-recommended"; |
3 | 2 |
|
4 | 3 | export default [ |
5 | 4 | ...defineScTsConfig({ |
6 | | - languageOptions: { parserOptions: { project: ['./tsconfig.lint.json'] } }, |
| 5 | + languageOptions: { parserOptions: { project: ["./tsconfig.lint.json"] } }, |
7 | 6 | }), |
8 | 7 | { |
9 | | - files: ['**/*.{ts,mts,cts,js,mjs,cjs}'], |
| 8 | + files: ["**/*.{ts,mts,cts,js,mjs,cjs}"], |
10 | 9 | rules: { |
11 | | - '@typescript-eslint/naming-convention': 'off', |
12 | | - '@typescript-eslint/no-unsafe-member-access': 'off', |
13 | | - '@typescript-eslint/no-array-constructor': 'off', |
14 | | - '@typescript-eslint/no-redundant-type-constituents': 'off', |
15 | | - '@typescript-eslint/no-unsafe-return': 'off', |
16 | | - '@typescript-eslint/no-unsafe-call': 'off', |
17 | | - '@typescript-eslint/restrict-template-expressions': 'off', |
18 | | - '@typescript-eslint/require-await': 'off', |
19 | | - 'simple-import-sort/exports': 'off', |
20 | | - 'simple-import-sort/imports': 'off', |
21 | | - '@typescript-eslint/switch-exhaustiveness-check': 'off', |
22 | | - '@typescript-eslint/member-ordering': 'off', |
23 | | - } |
| 10 | + "@typescript-eslint/naming-convention": "off", |
| 11 | + "@typescript-eslint/no-unsafe-member-access": "off", |
| 12 | + "@typescript-eslint/no-array-constructor": "off", |
| 13 | + "@typescript-eslint/no-redundant-type-constituents": "off", |
| 14 | + "@typescript-eslint/no-unsafe-return": "off", |
| 15 | + "@typescript-eslint/no-unsafe-call": "off", |
| 16 | + "@typescript-eslint/restrict-template-expressions": "off", |
| 17 | + "@typescript-eslint/require-await": "off", |
| 18 | + "simple-import-sort/exports": "off", |
| 19 | + "simple-import-sort/imports": "off", |
| 20 | + "@typescript-eslint/switch-exhaustiveness-check": "off", |
| 21 | + "@typescript-eslint/member-ordering": "off", |
| 22 | + }, |
24 | 23 | }, |
25 | 24 | { |
26 | | - files: ['**/*.{ts,mts,cts,js,mjs,cjs}'], |
| 25 | + files: ["**/*.{ts,mts,cts,js,mjs,cjs}"], |
27 | 26 | ignores: [ |
28 | | - 'src/**/*', // ignore all files inside src/ |
29 | | - '!src/**/*.{spec,test}.ts', // un-ignore test files |
| 27 | + "src/**/*", // ignore all files inside src/ |
| 28 | + "!src/**/*.{spec,test}.ts", // un-ignore test files |
30 | 29 | ], |
31 | 30 | rules: { |
32 | | - 'unused-imports/no-unused-vars': 'off' |
33 | | - } |
34 | | - } |
35 | | -] |
| 31 | + "unused-imports/no-unused-vars": "off", |
| 32 | + }, |
| 33 | + }, |
| 34 | +]; |
0 commit comments