-
Notifications
You must be signed in to change notification settings - Fork 67
/
.eslintrc
53 lines (52 loc) · 1.42 KB
/
.eslintrc
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"extends": [
"devextreme/typescript",
"devextreme/spell-check"
],
"env": {
"browser": true,
"node": true,
"jest": true
},
"ignorePatterns": ["packages/devextreme-react/src/*.ts", "packages/devextreme-react/src/ui/*.ts", "node_modules", "dist"],
"parserOptions": {
"project": ["./tsconfig.json", "./packages/*/tsconfig.json"]
},
"rules": {
"import/no-cycle": "warn",
"no-param-reassign": "warn",
"no-underscore-dangle": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"spellcheck/spell-checker": [1, {
"lang": "en_US",
"comments": false,
"strings": false,
"identifiers": true,
"templates": false,
"skipIfMatch": [ "^\\$?..$" ],
"skipWords": [
"unschedule",
"subscribable",
"renderer",
"rerender",
"dx",
"descr",
"params",
"typings",
"wildcard",
"metadata",
"namespace",
"namespaces"
]
}
]
},
"overrides": [
{
"files": [ "./packages/sandbox/*.ts", "./packages/sandbox/*.tsx", "packages/devextreme-react/src/*.ts" ],
"rules": {
"import/extensions": "warn",
}
}
]
}