mirror of
https://github.com/zhigang1992/mobx-utils.git
synced 2026-06-17 03:58:43 +08:00
70 lines
1.4 KiB
JSON
70 lines
1.4 KiB
JSON
{
|
|
"rules": {
|
|
"class-name": true,
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"curly": false,
|
|
"interface-name": true,
|
|
"jsdoc-format": true,
|
|
"no-consecutive-blank-lines" : true,
|
|
"no-debugger": true,
|
|
"no-duplicate-key": true,
|
|
"no-duplicate-variable": true,
|
|
"no-eval": true,
|
|
"no-internal-module": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-shadowed-variable": true,
|
|
"no-switch-case-fall-through": true,
|
|
"no-unreachable": true,
|
|
"no-unused-expression": true,
|
|
"no-use-before-declare": false,
|
|
"no-var-keyword": true,
|
|
"one-line": [
|
|
true,
|
|
"check-open-brace",
|
|
"check-whitespace",
|
|
"check-catch"
|
|
],
|
|
"quotemark": [
|
|
true,
|
|
"double"
|
|
],
|
|
"semicolon": false,
|
|
"trailing-comma": [
|
|
true,
|
|
{
|
|
"multiline": "never",
|
|
"singleline": "never"
|
|
}
|
|
],
|
|
"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"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
}
|