2020-10-12 01:22:43 +02:00
|
|
|
{
|
|
|
|
"globals": {},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"commonjs": true,
|
|
|
|
"es6": true,
|
|
|
|
"node": true,
|
|
|
|
"jquery": true,
|
|
|
|
"es2020": true
|
|
|
|
},
|
|
|
|
"parserOptions": { "ecmaVersion": 2020 },
|
|
|
|
"plugins": [ ],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/warnings",
|
|
|
|
"plugin:node/recommended",
|
|
|
|
"plugin:promise/recommended",
|
|
|
|
"plugin:json/recommended-with-comments",
|
|
|
|
"airbnb-base"
|
|
|
|
],
|
|
|
|
"ignorePatterns": [ "dist", "assets", "media", "models", "node_modules" ],
|
|
|
|
"rules": {
|
|
|
|
"camelcase": "off",
|
2020-11-19 20:45:59 +01:00
|
|
|
"dot-notation": "off",
|
|
|
|
"func-names": "off",
|
2020-10-12 01:22:43 +02:00
|
|
|
"guard-for-in": "off",
|
|
|
|
"import/extensions": "off",
|
2020-11-19 20:45:59 +01:00
|
|
|
"import/no-absolute-path": "off",
|
|
|
|
"import/no-extraneous-dependencies": "off",
|
|
|
|
"import/prefer-default-export": "off",
|
|
|
|
"max-len": [1, 275, 3],
|
|
|
|
"newline-per-chained-call": "off",
|
|
|
|
"no-async-promise-executor": "off",
|
2020-10-12 01:22:43 +02:00
|
|
|
"no-await-in-loop": "off",
|
|
|
|
"no-bitwise": "off",
|
|
|
|
"no-case-declarations":"off",
|
|
|
|
"no-continue": "off",
|
|
|
|
"no-loop-func": "off",
|
|
|
|
"no-mixed-operators": "off",
|
|
|
|
"no-param-reassign":"off",
|
|
|
|
"no-plusplus": "off",
|
2020-11-19 20:45:59 +01:00
|
|
|
"no-regex-spaces": "off",
|
2020-10-12 01:22:43 +02:00
|
|
|
"no-restricted-globals": "off",
|
|
|
|
"no-restricted-syntax": "off",
|
2020-10-13 15:59:21 +02:00
|
|
|
"no-return-assign": "off",
|
2020-11-19 20:45:59 +01:00
|
|
|
"no-underscore-dangle": "off",
|
|
|
|
"node/no-unpublished-import": "off",
|
|
|
|
"node/no-unpublished-require": "off",
|
2020-10-12 01:22:43 +02:00
|
|
|
"node/no-unsupported-features/es-syntax": "off",
|
|
|
|
"node/shebang": "off",
|
|
|
|
"object-curly-newline": "off",
|
|
|
|
"prefer-destructuring": "off",
|
2020-11-19 20:45:59 +01:00
|
|
|
"prefer-template":"off",
|
2020-10-12 01:22:43 +02:00
|
|
|
"promise/always-return": "off",
|
|
|
|
"promise/catch-or-return": "off",
|
|
|
|
"promise/no-nesting": "off",
|
|
|
|
"radix": "off"
|
|
|
|
}
|
|
|
|
}
|