2019-04-12 14:37:47 +00:00
|
|
|
{
|
|
|
|
"extends": "tslint:recommended",
|
|
|
|
"rulesDirectory": [
|
2019-06-23 10:53:57 +00:00
|
|
|
"tslint-no-unused-expression-chai"
|
2019-04-12 14:37:47 +00:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
|
|
|
|
"new-parens": true,
|
|
|
|
"no-arg": true,
|
|
|
|
"no-bitwise": true,
|
|
|
|
"no-conditional-assignment": true,
|
|
|
|
"no-consecutive-blank-lines": true,
|
|
|
|
"object-literal-sort-keys" : true,
|
|
|
|
"member-access" : false,
|
|
|
|
"member-ordering" : false,
|
|
|
|
"interface-name": false,
|
|
|
|
"arrow-parens" : false,
|
|
|
|
"typedef" : [
|
|
|
|
true,
|
|
|
|
"call-signature"
|
|
|
|
],
|
|
|
|
"one-line": [
|
|
|
|
true,
|
|
|
|
"check-catch",
|
|
|
|
"check-finally",
|
|
|
|
"check-else",
|
|
|
|
"check-whitespace"
|
|
|
|
],
|
|
|
|
"variable-name": [
|
|
|
|
true,
|
|
|
|
"allow-leading-underscore"
|
|
|
|
],
|
|
|
|
"quotemark": [
|
|
|
|
true,
|
|
|
|
"double",
|
|
|
|
"avoid-escape"
|
|
|
|
],
|
|
|
|
"indent": [
|
|
|
|
true,
|
|
|
|
"tabs"
|
|
|
|
],
|
|
|
|
"whitespace": [
|
|
|
|
true,
|
|
|
|
"check-decl",
|
|
|
|
"check-operator",
|
|
|
|
"check-module",
|
|
|
|
"check-separator",
|
|
|
|
"check-rest-spreak",
|
|
|
|
"check-type",
|
|
|
|
"check-typecast",
|
|
|
|
"check-type-operator",
|
|
|
|
"check-branch",
|
|
|
|
"check-operator",
|
|
|
|
"check-typecast"
|
|
|
|
],
|
|
|
|
"no-console": {
|
|
|
|
"severity": "warning",
|
|
|
|
"options": [
|
|
|
|
"debug",
|
|
|
|
"info",
|
|
|
|
"log",
|
|
|
|
"time",
|
|
|
|
"timeEnd",
|
|
|
|
"trace"
|
|
|
|
]
|
2019-06-23 10:53:57 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"no-unused-expression": false,
|
|
|
|
"no-unused-expression-chai": true
|
2019-04-12 14:37:47 +00:00
|
|
|
},
|
|
|
|
"jsRules": {
|
|
|
|
"indent": [
|
|
|
|
true,
|
|
|
|
"tabs"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|