mirror of
https://github.com/beestat/app.git
synced 2025-05-23 18:04:14 -04:00
116 lines
3.5 KiB
JSON
116 lines
3.5 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true
|
|
},
|
|
"globals": {
|
|
"rocket": true,
|
|
"$": true,
|
|
"beestat": true,
|
|
"moment": true,
|
|
"Highcharts": true,
|
|
"Sentry": true,
|
|
"THREE": true,
|
|
"SunCalc": true,
|
|
"ClipperLib": true,
|
|
"polylabel": true
|
|
},
|
|
"extends": "eslint:all",
|
|
"rules": {
|
|
"camelcase": "off",
|
|
"capitalized-comments": "off",
|
|
"complexity": "off",
|
|
"consistent-this": ["error", "self"],
|
|
"default-case": "off",
|
|
"dot-location": ["error", "property"],
|
|
"func-names": ["error", "never"],
|
|
"function-call-argument-newline": "off",
|
|
"function-paren-newline": "off",
|
|
"guard-for-in": "off",
|
|
"id-length": "off",
|
|
"indent": ["error", 2],
|
|
"init-declarations": "off",
|
|
"linebreak-style": "off",
|
|
"lines-around-comment": "off",
|
|
"max-depth": "off",
|
|
"max-len": "off",
|
|
"max-lines": "off",
|
|
"max-lines-per-function": "off",
|
|
"max-params": ["error", 5],
|
|
"max-statements": "off",
|
|
"multiline-ternary": "off",
|
|
"new-cap": ["error", {"newIsCap": false}],
|
|
"newline-after-var": "off",
|
|
"no-continue": "off",
|
|
"no-extra-parens": "off",
|
|
"no-lonely-if": "off",
|
|
"no-loop-func": "off",
|
|
"no-magic-numbers": "off",
|
|
"no-multiple-empty-lines": ["warn", {"max": 1, "maxEOF": 1, "maxBOF": 0}],
|
|
"no-negated-condition": "off",
|
|
"no-plusplus": "off",
|
|
"no-ternary": "off",
|
|
"no-trailing-spaces": "warn",
|
|
"no-undefined": "off",
|
|
"no-underscore-dangle": "off",
|
|
"object-curly-newline": "warn",
|
|
"one-var": ["error", "never"],
|
|
"padded-blocks": ["warn", {"blocks": "never", "classes": "never", "switches": "never"}],
|
|
"quotes": ["error", "single"],
|
|
"require-unicode-regexp": "off",
|
|
"sort-keys": "off",
|
|
"space-before-function-paren": ["error", "never"],
|
|
"strict": "off",
|
|
"valid-jsdoc": ["error", {"requireReturn": false, "requireParamDescription": false, "requireReturnDescription": false}],
|
|
"vars-on-top": "off",
|
|
"operator-assignment": "off",
|
|
"no-else-return": "off",
|
|
"prefer-object-spread": "off",
|
|
|
|
// Node.js and CommonJS
|
|
"callback-return": "off",
|
|
"global-require": "off",
|
|
"handle-callback-err": "off",
|
|
"no-mixed-requires": "off",
|
|
"no-new-require": "off",
|
|
"no-path-concat": "off",
|
|
"no-process-env": "off",
|
|
"no-process-exit": "off",
|
|
"no-restricted-modules": "off",
|
|
"no-sync": "off",
|
|
|
|
// ES6
|
|
"arrow-body-style": "off",
|
|
"arrow-parens": "off",
|
|
"arrow-spacing": "off",
|
|
"constructor-super": "off",
|
|
"generator-star-spacing": "off",
|
|
"no-class-assign": "off",
|
|
"no-confusing-arrow": "off",
|
|
"no-const-assign": "off",
|
|
"no-dupe-class-members": "off",
|
|
"no-duplicate-imports": "off",
|
|
"no-new-symbol": "off",
|
|
"no-restricted-imports": "off",
|
|
"no-this-before-super": "off",
|
|
"no-useless-computed-key": "off",
|
|
"no-useless-constructor": "off",
|
|
"no-useless-rename": "off",
|
|
"no-var": "off",
|
|
"object-shorthand": "off",
|
|
"prefer-arrow-callback": "off",
|
|
"prefer-const": "off",
|
|
"prefer-destructuring": "off",
|
|
"prefer-numeric-literals": "off",
|
|
"prefer-rest-params": "off",
|
|
"prefer-spread": "off",
|
|
"prefer-template": "off",
|
|
"require-yield": "off",
|
|
"rest-spread-spacing": "off",
|
|
"sort-imports": "off",
|
|
"symbol-description": "off",
|
|
"template-curly-spacing": "off",
|
|
"yield-star-spacing": "off"
|
|
}
|
|
}
|