mirror of
https://github.com/Tyriar/vscode-theme-generator.git
synced 2025-12-06 17:15:43 -08:00
105 lines
2.2 KiB
JSON
105 lines
2.2 KiB
JSON
{
|
|
"rulesDirectory": [
|
|
"tslint-consistent-codestyle"
|
|
],
|
|
"rules": {
|
|
"array-type": [
|
|
true,
|
|
"array"
|
|
],
|
|
"class-name": true,
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"curly": [
|
|
true,
|
|
"ignore-same-line"
|
|
],
|
|
"indent": [
|
|
true,
|
|
"spaces"
|
|
],
|
|
"interface-name": [
|
|
true,
|
|
"always-prefix"
|
|
],
|
|
"interface-over-type-literal": true,
|
|
"typedef": [
|
|
true,
|
|
"call-signature",
|
|
"parameter"
|
|
],
|
|
"eofline": true,
|
|
"no-duplicate-imports": true,
|
|
"no-eval": true,
|
|
"no-internal-module": true,
|
|
"no-trailing-whitespace": true,
|
|
"one-variable-per-declaration": true,
|
|
"no-unsafe-finally": true,
|
|
"no-var-keyword": true,
|
|
"quotemark": [
|
|
true,
|
|
"single"
|
|
],
|
|
"semicolon": [
|
|
true,
|
|
"always"
|
|
],
|
|
"trailing-comma": [
|
|
true,
|
|
{
|
|
"multiline": {
|
|
"objects": "never",
|
|
"arrays": "never",
|
|
"functions": "never",
|
|
"typeLiterals": "ignore"
|
|
},
|
|
"esSpecCompliant": 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",
|
|
"check-format",
|
|
"allow-leading-underscore"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-module",
|
|
"check-operator",
|
|
"check-rest-spread",
|
|
"check-separator",
|
|
"check-type",
|
|
"check-type-operator",
|
|
"check-preblock"
|
|
],
|
|
|
|
"naming-convention": [
|
|
true,
|
|
{"type": "property", "modifiers": ["public", "static", "const"], "format": "UPPER_CASE"}
|
|
],
|
|
"no-else-after-return": {
|
|
"options": "allow-else-if"
|
|
},
|
|
"prefer-const-enum": [
|
|
true
|
|
]
|
|
}
|
|
} |