human/.eslintrc.json

73 lines
2.2 KiB
JSON
Raw Normal View History

2020-10-12 01:22:43 +02:00
{
"globals": {},
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"jquery": true,
"es2020": true
},
2021-02-13 15:16:41 +01:00
"parser": "@typescript-eslint/parser",
2020-10-12 01:22:43 +02:00
"parserOptions": { "ecmaVersion": 2020 },
2021-02-13 15:16:41 +01:00
"plugins": [
"@typescript-eslint"
],
2020-10-12 01:22:43 +02:00
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:node/recommended",
"plugin:promise/recommended",
"plugin:json/recommended-with-comments",
2021-02-13 15:16:41 +01:00
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
2020-10-12 01:22:43 +02:00
"airbnb-base"
],
"ignorePatterns": [ "dist", "assets", "media", "models", "node_modules" ],
"rules": {
2021-02-13 15:21:48 +01:00
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
2020-10-12 01:22:43 +02:00
"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",
2021-02-13 15:16:41 +01:00
"import/no-unresolved": "off",
2021-02-13 15:21:48 +01:00
"import/prefer-default-export": "off",
"lines-between-class-members": "off",
2020-11-19 20:45:59 +01:00
"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",
2021-02-13 15:21:48 +01:00
"node/no-missing-import": ["error", { "tryExtensions": [".js", ".json", ".ts"] }],
2020-11-19 20:45:59 +01:00
"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",
2021-02-13 15:21:48 +01:00
"radix": "off"
2020-10-12 01:22:43 +02:00
}
}