mirror of
https://github.com/grafana/grafana.git
synced 2025-01-24 23:37:01 -06:00
added no-namespace and no-reference rules (#13116)
This commit is contained in:
parent
b8d82df97e
commit
ebf253d26a
11
tslint.json
11
tslint.json
@ -38,6 +38,8 @@
|
||||
"no-empty": false,
|
||||
"no-eval": true,
|
||||
"no-inferrable-types": true,
|
||||
"no-namespace": [true, "allow-declarations"],
|
||||
"no-reference": true,
|
||||
"no-shadowed-variable": false,
|
||||
"no-string-literal": false,
|
||||
"no-switch-case-fall-through": false,
|
||||
@ -57,14 +59,7 @@
|
||||
"variable-declaration": "nospace"
|
||||
}
|
||||
],
|
||||
"variable-name": [
|
||||
true,
|
||||
"check-format",
|
||||
"ban-keywords",
|
||||
"allow-leading-underscore",
|
||||
"allow-trailing-underscore",
|
||||
"allow-pascal-case"
|
||||
],
|
||||
"variable-name": [true, "ban-keywords"],
|
||||
"whitespace": [true, "check-branch", "check-decl", "check-type", "check-preblock"]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user