-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
45 lines (45 loc) · 1.29 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"defaultSeverity": "error",
"extends": [
"tslint:latest",
"tslint-consistent-codestyle",
"tslint-eslint-rules",
"tslint-immutable",
"tslint-microsoft-contrib",
"tslint-config-prettier",
"tslint-plugin-prettier"
],
"jsRules": {},
"rules": {
"no-implicit-dependencies": [true, "dev", ["@"]],
"no-submodule-imports": [true, "@", "moment"],
"typedef": [false, "variable-declaration"], // Typedef enforcement for variables that contain a function => duplicate function declaration
"no-use-before-declare": false, // useful only for var declaration
"only-arrow-functions": true,
"interface-name": [true, "never-prefix"],
"jsx-boolean-value": ["never"],
"prefer-template": false,
"type-literal-delimiter": false,
"newline-per-chained-call": false,
"strict-boolean-expressions": false,
"completed-docs": false,
"mocha-no-side-effect-code": false,
// Immutability rules
"readonly-keyword": true,
"no-let": false,
"no-object-mutation": true,
"no-delete": true,
"prettier": [
true,
{
"singleQuote": true,
"semi": false,
"printWidth": 120
}
]
},
"rulesDirectory": [
"node_modules/tslint-eslint-rules/dist/rules",
"node_modules/tslint-microsoft-contrib"
]
}