Farmbot-Web-App/tslint.json

104 lines
2.1 KiB
JSON
Raw Normal View History

2017-06-29 12:54:02 -06:00
{
"rules": {
2017-08-02 09:14:08 -06:00
"semicolon": [
true,
"ignore-interfaces",
"ignore-bound-class-methods"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
2017-06-29 12:54:02 -06:00
"max-line-length": [
true,
100
],
"no-inferrable-types": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"cyclomatic-complexity": [
true,
2017-08-02 09:14:08 -06:00
14
2017-06-29 12:54:02 -06:00
],
"indent": [
true,
"spaces"
],
"one-line": [
true,
"check-catch",
"check-else",
"check-open-brace",
"check-whitespace"
],
"quotemark": [
true,
"double",
"avoid-escape"
],
"curly": true,
2017-08-02 09:14:08 -06:00
"eofline": true,
"no-angle-bracket-type-assertion": true,
"no-any": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": true,
"no-default-export": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-internal-module": true,
"no-invalid-this": true,
"no-null-keyword": true,
"no-shadowed-variable": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
2017-08-03 06:35:54 -06:00
"jsx-closing-bracket-location": [
1,
{
"selfClosing": "after-props"
}
2017-08-02 09:14:08 -06:00
],
2020-02-28 09:35:32 -07:00
"trailing-comma": [
true,
{
"multiline": {
"objects": "ignore",
"arrays": "always",
"functions": "always",
"imports": "always"
},
"singleline": "never"
}
],
2017-08-02 09:14:08 -06:00
"no-var-keyword": true,
"no-var-requires": false,
2017-08-27 17:48:07 -06:00
"deprecation": true,
"use-isnan": true,
"prefer-const": true,
2017-06-29 12:54:02 -06:00
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
2019-02-27 14:58:36 -07:00
},
"linterOptions": {
"exclude": [
"./coverage*/**",
"./**/__test_support__/*.js"
]
2017-06-29 12:54:02 -06:00
}
}