mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"rules": {
|
|
"class-name": true,
|
|
"comment-format": [false, "check-space"],
|
|
"curly": true,
|
|
"eofline": true,
|
|
"forin": false,
|
|
"indent": [true, "spaces"],
|
|
"label-position": true,
|
|
"max-line-length": [true, 140],
|
|
"member-access": false,
|
|
"no-arg": true,
|
|
"no-bitwise": true,
|
|
"no-console": [true,
|
|
"debug",
|
|
"info",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
],
|
|
"no-construct": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": false,
|
|
"no-eval": true,
|
|
"no-inferrable-types": true,
|
|
"no-shadowed-variable": false,
|
|
"no-string-literal": false,
|
|
"no-switch-case-fall-through": false,
|
|
"no-trailing-whitespace": true,
|
|
"no-unused-expression": false,
|
|
"no-use-before-declare": true,
|
|
"no-var-keyword": false,
|
|
"object-literal-sort-keys": false,
|
|
"one-line": [true,
|
|
"check-open-brace",
|
|
"check-catch",
|
|
"check-else"
|
|
],
|
|
"radix": false,
|
|
"semicolon": true,
|
|
"triple-equals": [true, "allow-null-check"],
|
|
"typedef-whitespace": [true, {
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
}],
|
|
"variable-name": [true, "ban-keywords"],
|
|
"whitespace": [true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-type"
|
|
]
|
|
}
|
|
}
|