66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
|
/**
|
||
|
* This starter project recommended using Microsoft TSLint rules.
|
||
|
* Please see https://github.com/Microsoft/tslint-microsoft-contrib for more details.
|
||
|
*/
|
||
|
|
||
|
{
|
||
|
"extends": [
|
||
|
"tslint-microsoft-contrib"
|
||
|
],
|
||
|
"rules": {
|
||
|
"align": false,
|
||
|
"mocha-no-side-effect-code": false,
|
||
|
"missing-jsdoc": false,
|
||
|
"no-relative-imports": false,
|
||
|
"export-name": false,
|
||
|
"import-name": false,
|
||
|
"indent": [true, "tabs"],
|
||
|
"insecure-random": false,
|
||
|
"promise-function-async": false,
|
||
|
"newline-before-return": false,
|
||
|
"max-func-body-length": false,
|
||
|
"no-for-in": false,
|
||
|
"forin": false,
|
||
|
"no-invalid-this": false,
|
||
|
"no-function-expression": false,
|
||
|
"no-increment-decrement": false,
|
||
|
"use-named-parameter": false,
|
||
|
"no-default-export": false,
|
||
|
"no-bitwise": false,
|
||
|
"no-require-imports": false,
|
||
|
"no-reserved-keywords": false,
|
||
|
"no-stateless-class": false,
|
||
|
"no-var-requires": false,
|
||
|
"no-any": false,
|
||
|
"no-unsafe-any": false,
|
||
|
"no-http-string": false,
|
||
|
"non-literal-require": false,
|
||
|
"no-multiline-string": false,
|
||
|
"no-single-line-block-comment": false,
|
||
|
"no-backbone-get-set-outside-model": false,
|
||
|
"strict-boolean-expressions": false,
|
||
|
"function-name": false,
|
||
|
"triple-equals": false,
|
||
|
"no-floating-promises": false,
|
||
|
"completed-docs": false,
|
||
|
"variable-name": [
|
||
|
false,
|
||
|
"check-format",
|
||
|
"allow-leading-underscore"
|
||
|
],
|
||
|
"trailing-comma": [ // https://palantir.github.io/tslint/rules/trailing-comma/
|
||
|
true,
|
||
|
{
|
||
|
"multiline": "always",
|
||
|
"singleline": "never"
|
||
|
}
|
||
|
],
|
||
|
"typedef": [
|
||
|
true,
|
||
|
"parameter",
|
||
|
"arrow-parameter",
|
||
|
"property-declaration",
|
||
|
"member-variable-declaration"
|
||
|
]
|
||
|
}
|
||
|
}
|