зеркало из https://github.com/microsoft/reactxp.git
48 строки
1.1 KiB
JSON
48 строки
1.1 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 ],
|
|
"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,
|
|
"one-line": [true,
|
|
"check-open-brace",
|
|
"check-catch",
|
|
"check-else",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [true, "single", "jsx-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"
|
|
]
|
|
}
|
|
} |