-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
24 lines (22 loc) · 769 Bytes
/
Copy pathtslint.json
File metadata and controls
24 lines (22 loc) · 769 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
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"linterOptions": {
"exclude": ["package.json"]
},
"rules": {
"max-line-length": [
true,
{ "limit": 160, "ignore-pattern": "^import |^export {(.*?)}" }
],
"interface-name": [true, "never-prefix"],
// TODO: allow devDependencies only in **/*.spec.ts files:
// waiting on https://github.com/palantir/tslint/pull/3708
"no-implicit-dependencies": [true, "optional"],
// Recommended built-in rules
"no-var-keyword": true,
"no-parameter-reassignment": true,
"typedef": [true, "call-signature"],
"ordered-imports": false,
"no-submodule-imports": [true, "validator/package.json"] // allow importing package.json so we can check the version
}
}