mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 04:34:23 -06:00
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"rules": {
|
|
"no-string-throw": true,
|
|
"no-unused-expression": true,
|
|
"no-unused-variable": false,
|
|
"no-use-before-declare": false,
|
|
"no-duplicate-variable": true,
|
|
"curly": true,
|
|
"class-name": true,
|
|
"semicolon": [true, "always", "ignore-bound-class-methods"],
|
|
"triple-equals": [true, "allow-null-check"],
|
|
"comment-format": [false, "check-space"],
|
|
"eofline": true,
|
|
"forin": false,
|
|
"indent": [true, "spaces", 2],
|
|
"label-position": true,
|
|
"max-line-length": [true, 150],
|
|
"member-access": false,
|
|
"no-arg": true,
|
|
"no-bitwise": false,
|
|
"no-console": [true,
|
|
"debug",
|
|
"info",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
],
|
|
"no-construct": true,
|
|
"no-debugger": 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-var-keyword": false,
|
|
"object-literal-sort-keys": false,
|
|
"one-line": [true,
|
|
"check-open-brace",
|
|
"check-catch",
|
|
"check-else"
|
|
],
|
|
"radix": false,
|
|
"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",
|
|
"check-preblock"
|
|
]
|
|
}
|
|
}
|