-
Notifications
You must be signed in to change notification settings - Fork 2
/
tslint.json
29 lines (29 loc) · 1.15 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
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rulesDirectory": ["node_modules/tslint-etc/dist/rules", "node_modules/tslint-no-toplevel-property-access/rules"],
// This is really just a list of what is wrong in our codebase,
// We should remove all of these over time.
"rules": {
"no-unused-declaration": [true, { "declarations": false, "imports": true }],
"no-unused-expression": [true, "allow-fast-null-checks"],
"no-implicit-dependencies": [true, ["fnxt"]],
"no-submodule-imports": [true, "fnxt"],
"ordered-imports": [false],
"interface-name": [false],
"variable-name": [false],
"member-access": [false],
"array-type": [false],
"no-empty-interface": [false],
"member-ordering": [false],
"callable-types": [false],
"object-literal-sort-keys": [false],
"no-this-assignment": [false],
"no-conditional-assignment": [false],
"max-classes-per-file": [false, 1000],
// TODO: unified signatures not be disabled, but it will
// be a lot of work to verify the fixes don't mess something up.
"unified-signatures": [false],
"jsdoc-format": [false],
"ban-comma-operator": [false]
}
}