tridactyl/tslint.json
glacambre d36eedf05b
Add tslint and sonarts to Travis
Tslint and sonarts are pretty cool linters/static analyzers. Currently,
we ask them to ignore any of the rules that Tridactyl might not respect.
This enables progressively re-enabling rules and submitting small,
reviewable PRs that fix things.
2019-03-31 16:08:31 +02:00

84 lines
2.5 KiB
JSON

{
"extends": ["tslint:recommended", "tslint-sonarts"],
"rules": {
"align": false,
"array-type": false,
"arrow-parens": false,
"ban-types": false,
"bool-param-default": false,
"callable-types": false,
"class-name": false,
"cognitive-complexity": false,
"comment-format": false,
"curly": false,
"forin": false,
"if-filter": false,
"import-spacing": false,
"interface-name": false,
"interface-over-type-literal": false,
"jsdoc-format": false,
"max-classes-per-file": false,
"max-line-length": false,
"max-union-size": false,
"member-access": false,
"member-ordering": false,
"missing-whitespace": false,
"no-angle-bracket-type-assertion": false,
"no-array-delete": false,
"no-big-function": false,
"no-bitwise": false,
"no-collapsible-if": false,
"no-commented-code": false,
"no-conditional-assignment": false,
"no-consecutive-blank-lines": false,
"no-console": false,
"no-construct": false,
"no-dead-store": false,
"no-duplicate-string": false,
"no-empty": false,
"no-eval": false,
"no-extra-semicolon": false,
"no-identical-functions": false,
"no-ignored-return": false,
"no-map-without-using": false,
"no-misleading-array-reverse": false,
"no-nested-template-literals": false,
"no-nexted-template-literals": false,
"no-redundant-boolean": false,
"no-redundant-jump": false,
"no-self-assignment": false,
"no-shadowed-variable": false,
"no-small-switch": false,
"no-string-literal": false,
"no-string-throw": false,
"no-trailing-whitespace": false,
"no-try-promise": false,
"no-unenclosed-multiline-block": false,
"no-unnecessary-initializer": false,
"no-unnecessary-type-assertion": false,
"no-unsafe-finally": false,
"no-unused-expression": false,
"no-useless-cast": false,
"no-useless-catch": false,
"no-useless-catch": false,
"no-var-keyword": false,
"no-variable-usage-before-declaration": false,
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"one-variable-per-declaration": false,
"only-arrow-functions": false,
"ordered-imports": false,
"prefer-const": false,
"prefer-immediate-return": false,
"prefer-promise-shorthand": false,
"quotemark": false,
"radix": false,
"semicolon": false,
"trailing-comma": false,
"triple-equals": false,
"use-primitive-type": false,
"variable-name": false,
"whitespace": false
}
}