mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
4aa227dd84
* tech: investigating karma + jest mix * tech: migrating tests to jest * tech: moved anoter test file to jest * test: migrated two more test files to jest * test: updated readme and made test fail to verify that it causes CI build failure * tech: added code coverage for jest tests * tech: testing codecov coverage * tech: migrated more tests * tech: migrated template srv to typescript and the tests to jest * tech: minor build fix * tech: build fixes * build: another attempt at fixing go test with coverage
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, 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-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"
|
|
]
|
|
}
|
|
}
|