react-roulette-slot
Version:
ReactRouletteSlot 基于React的轮盘抽奖器
106 lines (105 loc) • 3.2 kB
JSON
{
"exclude": ["node_modules"],
"rules": {
"no-submodule-imports": [
true,
"@common",
"@components",
"antd",
"@routes",
"puppeteer",
"@assets",
"@modules",
"@config",
"rxjs",
"@src",
"@mock",
"@store",
"redux-persist",
"moment"
],
"align": [true, "parameters", "statements"],
"object-literal-key-quotes": [true, "as-needed"],
"ban": false,
"class-name": true,
"comment-format": [true, "check-space"],
"eofline": true,
"indent": [true, "spaces"],
"interface-name": [false],
"jsdoc-format": true,
"label-position": true,
"max-line-length": [false, 180],
"member-access": false,
"member-ordering": [false],
"no-any": false,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": [true],
"quotemark": [true, "single", "jsx-double"],
"no-console": [false],
"no-construct": false,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-inferrable-types": [false],
"no-internal-module": true,
"no-unused-variable": true,
"no-require-imports": false,
"no-shadowed-variable": true,
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unused-expression": false,
"no-use-before-declare": false,
"no-var-keyword": true,
"no-var-requires": true,
"object-literal-sort-keys": false,
"one-line": [true, "check-open-brace", "check-whitespace"],
"radix": false,
"switch-default": false,
"interface-over-type-literal": false,
"no-implicit-dependencies": false,
"semicolon": [true, "always", "ignore-bound-class-methods"],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"triple-equals": [true],
"typedef": [false],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"ban-keywords",
"allow-pascal-case"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}