зеркало из https://github.com/twbs/bootlint.git
57 строки
1.9 KiB
Plaintext
57 строки
1.9 KiB
Plaintext
{
|
|
"rules": {
|
|
"block-scoped-var": 2,
|
|
"brace-style": [2, "stroustrup"],
|
|
"camelcase": 2,
|
|
"comma-spacing": [2, {"before": false, "after": true}],
|
|
"comma-style": [2, "last"],
|
|
"consistent-this": [2, "self"],
|
|
"curly": 2,
|
|
"eol-last": 2,
|
|
"eqeqeq": 2,
|
|
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
|
|
"new-cap": 2,
|
|
"new-parens": 2,
|
|
"no-array-constructor": 2,
|
|
"no-bitwise": 2,
|
|
"no-constant-condition": 0,
|
|
"no-dupe-args": 2,
|
|
"no-duplicate-case": 2,
|
|
"no-eval": 2,
|
|
"no-floating-decimal": 2,
|
|
"no-implied-eval": 2,
|
|
"no-inline-comments": 0,
|
|
"no-irregular-whitespace": 2,
|
|
"no-mixed-spaces-and-tabs": 2,
|
|
"no-multi-spaces": 2,
|
|
"no-multiple-empty-lines": 0,
|
|
"no-new-object": 2,
|
|
"no-process-env": 2,
|
|
"no-reserved-keys": 0,
|
|
"no-self-compare": 2,
|
|
"no-spaced-func": 2,
|
|
"no-throw-literal": 2,
|
|
"no-trailing-spaces": 2,
|
|
"no-underscore-dangle": 0,
|
|
"no-void": 2,
|
|
"one-var": [2, "never"],
|
|
"operator-assignment": [2, "always"],
|
|
"padded-blocks": 0,
|
|
"quotes": 0,
|
|
"radix": 2,
|
|
"semi": [2, "always"],
|
|
"semi-spacing": [2, {"before": false, "after": true}],
|
|
"space-after-keywords": [2, "always", {"checkFunctionKeyword": true}],
|
|
"space-before-blocks": [2, "always"],
|
|
"space-before-function-parentheses": [2, {"anonymous": "always", "named": "never"}],
|
|
"space-in-brackets": [2, "never"],
|
|
"space-in-parens": [2, "never"],
|
|
"space-return-throw-case": 2,
|
|
"space-unary-ops": [2, {"words": true, "nonwords": false}],
|
|
"spaced-line-comment": [2, "always"],
|
|
"vars-on-top": 0,
|
|
"wrap-iife": [2, "inside"],
|
|
"yoda": [2, "never"]
|
|
}
|
|
}
|