зеркало из https://github.com/mozilla/shumway.git
51 строка
1.2 KiB
JSON
51 строка
1.2 KiB
JSON
{
|
|
"rules": {
|
|
"class-name": true,
|
|
"curly": false,
|
|
"eofline": true,
|
|
"forin": false,
|
|
"label-position": true,
|
|
"label-undefined": true,
|
|
"max-line-length": [false, 140],
|
|
"no-arg": true,
|
|
"no-bitwise": false,
|
|
"no-console": [true,
|
|
"debug",
|
|
"info",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
],
|
|
"no-construct": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-key": true,
|
|
"no-duplicate-variable": false,
|
|
"no-empty": true,
|
|
"no-eval": true,
|
|
"no-string-literal": false,
|
|
"no-switch-case-fall-through": false,
|
|
"no-trailing-comma": true,
|
|
"no-trailing-whitespace": false,
|
|
"no-unused-expression": false,
|
|
"no-unused-variable": false,
|
|
"no-unreachable": true,
|
|
"no-use-before-declare": false,
|
|
"one-line": [true,
|
|
"check-catch",
|
|
"check-else",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [false, "double"],
|
|
"radix": false,
|
|
"semicolon": true,
|
|
"triple-equals": [false, "allow-null-check"],
|
|
"variable-name": false,
|
|
"whitespace": [false,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
} |