-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.mjs
More file actions
35 lines (33 loc) · 779 Bytes
/
eslint.config.mjs
File metadata and controls
35 lines (33 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import { nodePreset } from '@tcd-devkit/eslint-preset-node';
const config = [
...nodePreset,
{
files: ['**/*.{js,jsx,ts,tsx,mjs,cjs}'],
rules: {
'import-x/no-rename-default': ['off'],
},
},
{
files: ['**/tsup.config.ts', '**/tsup/**/*.ts'],
rules: {
'@typescript-eslint/require-await': ['off'],
},
},
{
files: ['**/*.test.ts'],
rules: {
'no-template-curly-in-string': ['off'],
},
},
{
files: ['**/fixtures/**/*.{js,jsx,ts,tsx}'],
rules: {
'no-restricted-syntax': ['off'],
'@typescript-eslint/no-unsafe-return': ['off'],
'@typescript-eslint/no-unsafe-call': ['off'],
'import-x/no-deprecated': ['off'],
'import-x/no-cycle': ['off'],
},
},
];
export default config;