mirror of
https://github.com/Xahau/xahau.js.git
synced 2026-06-03 08:46:40 +00:00
73 lines
1.9 KiB
JSON
73 lines
1.9 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
"rules": {
|
|
"no-use-before-define": 1,
|
|
"no-undef": 1,
|
|
"no-unused-expressions": 1,
|
|
"no-unused-vars": 1,
|
|
"no-extend-native": 1,
|
|
"no-native-reassign": 1,
|
|
"no-trailing-spaces": 1,
|
|
"no-empty": 1,
|
|
"no-inner-declarations": 1,
|
|
"no-irregular-whitespace": 1,
|
|
"no-negated-in-lhs": 1,
|
|
"no-obj-calls": 1,
|
|
"no-reserved-keys": 1,
|
|
"no-sparse-arrays": 1,
|
|
"no-unreachable": 1,
|
|
"use-isnan": 1,
|
|
"valid-jsdoc": 1,
|
|
"valid-typeof": 1,
|
|
"block-scoped-var": 1,
|
|
"dot-notation": 1,
|
|
"semi": 1,
|
|
"curly": 1,
|
|
"eqeqeq": 1,
|
|
"no-else-return": 1,
|
|
"new-cap": 1,
|
|
"new-parens": 1,
|
|
"no-comma-dangle": 1,
|
|
"no-empty-label": 1,
|
|
"no-eval": 1,
|
|
"no-extra-bind": 1,
|
|
"no-fallthrough": 1,
|
|
"no-lone-blocks": 1,
|
|
"no-loop-func": 1,
|
|
"no-multi-spaces": 1,
|
|
"no-return-assign": 1,
|
|
"no-sequences": 1,
|
|
"no-with": 1,
|
|
"radix": 1,
|
|
"yoda": [ 1, "never" ],
|
|
"no-catch-shadow": 1,
|
|
"no-shadow-restricted-names": 1,
|
|
"no-delete-var": 1,
|
|
"no-undefined": 1,
|
|
"handle-callback-err": 1,
|
|
"brace-style": [ 1, "1tbs", { "allowSingleLine": false } ],
|
|
"comma-spacing": [ 1, { "before": false, "after": true } ],
|
|
"comma-style": [ 1, "last" ],
|
|
"consistent-this": [ 1, "self" ],
|
|
"func-style": [ 1, "declaration" ],
|
|
"key-spacing": [ 1, { "beforeColon": false, "afterColon": true } ],
|
|
"max-nested-callbacks": [ 1, 2 ],
|
|
"no-lonely-if": 1,
|
|
"no-mixed-spaces-and-tabs": 1,
|
|
"no-multiple-empty-lines": 1,
|
|
"no-space-before-semi": 1,
|
|
"no-spaced-func": 1,
|
|
"space-after-keywords": [ 1, "always" ],
|
|
"space-infix-ops": 1,
|
|
"space-return-throw-case": 1,
|
|
"spaced-line-comment": 1,
|
|
"max-params": [ 1, 4 ],
|
|
"max-depth": [1, 3 ],
|
|
"max-len": [ 1, 80 ],
|
|
"quotes": [ 1, "single" ]
|
|
}
|
|
}
|