remove: tslint config
This commit is contained in:
parent
1973451bdd
commit
15bee310a5
|
@ -1,159 +0,0 @@
|
|||
{
|
||||
"extends": ["tslint:latest"],
|
||||
"rules": {
|
||||
"adjacent-overload-signatures": true,
|
||||
"array-type": [
|
||||
true,
|
||||
"generic"
|
||||
],
|
||||
"arrow-parens": true,
|
||||
"arrow-return-shorthand": true,
|
||||
"await-promise": true,
|
||||
"ban": [true, {
|
||||
"message": "use lodash isString",
|
||||
"name": ["util", "isString"]
|
||||
}, {
|
||||
"message": "use lodash isNil",
|
||||
"name": ["util", "isNullOrUndefined"]
|
||||
}],
|
||||
"ban-comma-operator": true,
|
||||
"ban-types": true,
|
||||
"class-name": true,
|
||||
"curly": true,
|
||||
"cyclomatic-complexity": [
|
||||
true,
|
||||
12
|
||||
],
|
||||
"deprecation": true,
|
||||
"eofline": true,
|
||||
"increment-decrement": true,
|
||||
"indent": [true, "spaces", 2],
|
||||
"interface-name": [
|
||||
true,
|
||||
"never-prefix"
|
||||
],
|
||||
"max-classes-per-file": [
|
||||
false,
|
||||
1
|
||||
],
|
||||
"max-file-line-count": 250,
|
||||
"max-line-length": [
|
||||
true,
|
||||
180
|
||||
],
|
||||
"member-access": true,
|
||||
"member-ordering": [
|
||||
true,
|
||||
{
|
||||
"order": [
|
||||
"public-static-method",
|
||||
"public-static-field",
|
||||
"public-instance-field",
|
||||
"protected-instance-field",
|
||||
"public-constructor",
|
||||
"public-instance-method",
|
||||
"protected-instance-method"
|
||||
]
|
||||
}
|
||||
],
|
||||
"new-parens": true,
|
||||
"no-angle-bracket-type-assertion": true,
|
||||
"no-any": true,
|
||||
"no-arg": true,
|
||||
"no-bitwise": false,
|
||||
"no-boolean-literal-compare": true,
|
||||
"no-conditional-assignment": true,
|
||||
"no-console": true,
|
||||
"no-construct": true,
|
||||
"no-dead-store": false,
|
||||
"no-debugger": true,
|
||||
"no-default-export": true,
|
||||
"no-default-import": true,
|
||||
"no-duplicate-super": true,
|
||||
"no-duplicate-variable": true,
|
||||
"no-empty-interface": true,
|
||||
"no-floating-promises": true,
|
||||
"no-for-in-array": true,
|
||||
"no-implicit-dependencies": false,
|
||||
"no-inferred-empty-object-type": true,
|
||||
"no-inferrable-types": [
|
||||
true,
|
||||
"ignore-params",
|
||||
"ignore-properties"
|
||||
],
|
||||
"no-internal-module": true,
|
||||
"no-invalid-this": true,
|
||||
"no-irregular-whitespace": true,
|
||||
"no-magic-numbers": [
|
||||
true,
|
||||
-1, 0,
|
||||
1, 2, 3, 4, 5, 6, 7, 8, 9,
|
||||
10, 20, 30, 40, 50, 60, 70, 80, 90,
|
||||
100
|
||||
],
|
||||
"no-misused-new": true,
|
||||
"no-namespace": true,
|
||||
"no-non-null-assertion": true,
|
||||
"no-null-keyword": true,
|
||||
"no-parameter-properties": true,
|
||||
"no-parameter-reassignment": true,
|
||||
"no-return-await": true,
|
||||
"no-shadowed-variable": true,
|
||||
"no-sparse-arrays": true,
|
||||
"no-string-literal": true,
|
||||
"no-string-throw": true,
|
||||
"no-submodule-imports": false,
|
||||
"no-unbound-method": true,
|
||||
"no-unused-expression": true,
|
||||
"no-var-keyword": true,
|
||||
"no-void-expression": true,
|
||||
"prefer-conditional-expression": false,
|
||||
"prefer-const": true,
|
||||
"prefer-for-of": true,
|
||||
"prefer-readonly": true,
|
||||
"prefer-switch": true,
|
||||
"quotemark": [
|
||||
true,
|
||||
"single",
|
||||
"jsx-double",
|
||||
"avoid-escape"
|
||||
],
|
||||
"radix": true,
|
||||
"restrict-plus-operands": true,
|
||||
"strict-boolean-expressions": true,
|
||||
"strict-type-predicates": true,
|
||||
"switch-default": true,
|
||||
"trailing-comma": [
|
||||
true,
|
||||
{
|
||||
"esSpecCompliant": true,
|
||||
"multiline": {
|
||||
"arrays": "always",
|
||||
"functions": "never",
|
||||
"object": "always"
|
||||
},
|
||||
"singleline": "never"
|
||||
}
|
||||
],
|
||||
"triple-equals": true,
|
||||
"unnecessary-constructor": true,
|
||||
"use-default-type-parameter": true,
|
||||
"use-isnan": true,
|
||||
"variable-name": [
|
||||
true,
|
||||
"ban-keywords",
|
||||
"check-format"
|
||||
]
|
||||
},
|
||||
"jsRules": {
|
||||
"curly": true,
|
||||
"trailing-comma": [
|
||||
true,
|
||||
{
|
||||
"multiline": "never",
|
||||
"singleline": "never"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rulesDirectory": []
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"extends": ["./tslint.cc.json", "tslint-clean-code", "tslint-sonarts"],
|
||||
"rulesDirectory": ["../node_modules/tslint-microsoft-contrib"],
|
||||
"rules": {
|
||||
"mocha-unneeded-done": true,
|
||||
"no-banned-terms": true,
|
||||
"no-delete-expression": true,
|
||||
"no-for-in": true,
|
||||
"no-relative-imports": false,
|
||||
"no-small-switch": false
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue