forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
24 lines (24 loc) · 827 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
{
"defaultSeverity": "error",
"extends": ["dtslint/dtslint.json"],
"jsRules": {},
"rules": {
"deprecation": true,
// $ExpectError -> @ts-expect-error
// $ExpectType -> `expectType` from `@material-ui/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
}
}