2019-05-02 05:53:37 +03:00
|
|
|
{
|
|
|
|
"extends": "tslint:recommended",
|
|
|
|
"rules": {
|
|
|
|
"no-string-throw": true,
|
|
|
|
"no-unused-expression": true,
|
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-namespace": false,
|
|
|
|
"curly": true,
|
|
|
|
"class-name": true,
|
|
|
|
"semicolon": [
|
|
|
|
true,
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"triple-equals": true,
|
|
|
|
"variable-name": [
|
|
|
|
true,
|
|
|
|
"ban-keywords",
|
|
|
|
"check-format",
|
|
|
|
"allow-leading-underscore"
|
|
|
|
],
|
|
|
|
"whitespace": [
|
|
|
|
true,
|
|
|
|
"check-branch",
|
|
|
|
"check-decl",
|
|
|
|
"check-operator",
|
|
|
|
"check-module",
|
|
|
|
"check-separator",
|
|
|
|
"check-rest-spread",
|
|
|
|
"check-type",
|
|
|
|
"check-typecast",
|
|
|
|
"check-type-operator"
|
|
|
|
],
|
|
|
|
"quotemark": [
|
|
|
|
true,
|
|
|
|
"single",
|
|
|
|
"avoid-escape",
|
|
|
|
"avoid-template"
|
2019-07-23 20:20:30 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"linterOptions": {
|
2019-05-02 05:53:37 +03:00
|
|
|
"exclude": [
|
2019-06-24 20:52:28 +03:00
|
|
|
"node_modules/**",
|
2020-01-31 20:22:42 +03:00
|
|
|
"src/**/*.d.ts",
|
|
|
|
"src/helpers/checkTruffleConfigTemplate.js"
|
2019-05-02 05:53:37 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"defaultSeverity": "warning"
|
|
|
|
}
|