forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
26 lines (26 loc) · 901 Bytes
/
tslint.json
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
{
"defaultSeverity": "error",
"extends": ["dtslint/dtslint.json"],
"jsRules": {},
"rules": {
"deprecation": true,
// $ExpectError -> @ts-expect-error
// $ExpectType -> `expectType` from `@mui/types`
// Don't disable this rule unless you made sure `tsc` runs on the same files
// Otherwise some files won't be type-checked
"expect": true,
"file-name-casing": false,
"no-boolean-literal-compare": false,
"no-empty-interface": false,
// Does not recognize const assertions
"no-object-literal-type-assertion": false,
"no-unnecessary-callback-wrapper": false,
"no-unnecessary-generics": false,
"no-redundant-jsdoc": false,
"semicolon": [true, "always", "ignore-bound-class-methods"],
// rules conflicting with eslint
"prefer-template": false,
// rules conflicting with babel
"strict-export-declare-modifiers": false
}
}