90 строки
2.2 KiB
JSON
90 строки
2.2 KiB
JSON
{
|
|
"rules": {
|
|
"align": [
|
|
true,
|
|
"statements"
|
|
],
|
|
"class-name": true,
|
|
"curly": true,
|
|
"eofline": true,
|
|
"forin": true,
|
|
"indent": [
|
|
true,
|
|
"spaces"
|
|
],
|
|
"label-position": true,
|
|
"max-line-length": [
|
|
true,
|
|
140
|
|
],
|
|
"member-ordering": [
|
|
true,
|
|
{
|
|
"order": [
|
|
"private-instance-field",
|
|
"public-instance-field",
|
|
"private-static-field",
|
|
"public-static-field",
|
|
"private-constructor",
|
|
"public-constructor",
|
|
"public-instance-method",
|
|
"protected-instance-method",
|
|
"private-instance-method"
|
|
]
|
|
}
|
|
],
|
|
"member-access": true,
|
|
"no-arg": true,
|
|
"no-bitwise": false,
|
|
"no-console": [
|
|
true,
|
|
"debug",
|
|
"info",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
],
|
|
"no-consecutive-blank-lines": true,
|
|
"no-construct": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": true,
|
|
"no-eval": true,
|
|
"no-switch-case-fall-through": true,
|
|
"no-trailing-whitespace": false,
|
|
"no-unused-expression": true,
|
|
"no-use-before-declare": true,
|
|
"one-line": [
|
|
true,
|
|
"check-open-brace",
|
|
"check-catch",
|
|
"check-else",
|
|
"check-whitespace"
|
|
],
|
|
"ordered-imports": [
|
|
true,
|
|
{
|
|
"grouped-inports": true
|
|
}
|
|
],
|
|
"quotemark": [
|
|
true,
|
|
"single"
|
|
],
|
|
"radix": true,
|
|
"semicolon": true,
|
|
"triple-equals": [
|
|
true,
|
|
"allow-null-check"
|
|
],
|
|
"variable-name": false,
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
} |