-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy patheslint.config.mts
More file actions
37 lines (36 loc) · 773 Bytes
/
eslint.config.mts
File metadata and controls
37 lines (36 loc) · 773 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
36
37
import globals from 'globals';
import pluginJs from '@eslint/js';
import tslint from 'typescript-eslint';
import stylistic from '@stylistic/eslint-plugin';
export default tslint.config(
{
ignores: [
'node_modules',
'dist',
'src/__tests__',
],
},
pluginJs.configs.recommended,
...tslint.configs.recommended,
stylistic.configs.customize({
indent: 2,
quotes: 'single',
semi: true,
}),
{
files: ['**/*.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unsafe-function-type': 'off',
'@stylistic/multiline-ternary': 'off',
'@stylistic/brace-style': 'off',
},
},
{
languageOptions: {
globals: {
...globals.node,
},
},
},
);