Skip to content

Commit 0ecb968

Browse files
refactor: remove custom eslint plugin for now
1 parent f9fc1fc commit 0ecb968

File tree

4 files changed

+23
-154
lines changed

4 files changed

+23
-154
lines changed

eslint-plugins/no-dynamo.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

eslint-rules/no-dynamo-named-import.js

Lines changed: 0 additions & 37 deletions
This file was deleted.

eslint-rules/no-dynamo-named-import.test.js

Lines changed: 0 additions & 57 deletions
This file was deleted.

eslint.config.js

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
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";
32

43
export default [
54
...defineScTsConfig({
6-
languageOptions: { parserOptions: { project: ['./tsconfig.lint.json'] } },
5+
languageOptions: { parserOptions: { project: ["./tsconfig.lint.json"] } },
76
}),
87
{
9-
files: ['**/*.{ts,mts,cts,js,mjs,cjs}'],
8+
files: ["**/*.{ts,mts,cts,js,mjs,cjs}"],
109
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+
},
2423
},
2524
{
26-
files: ['**/*.{ts,mts,cts,js,mjs,cjs}'],
25+
files: ["**/*.{ts,mts,cts,js,mjs,cjs}"],
2726
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
3029
],
3130
rules: {
32-
'unused-imports/no-unused-vars': 'off'
33-
}
34-
}
35-
]
31+
"unused-imports/no-unused-vars": "off",
32+
},
33+
},
34+
];

0 commit comments

Comments
 (0)