|
| 1 | +{ |
| 2 | + "env": { |
| 3 | + "es2021": true, |
| 4 | + "browser": true, |
| 5 | + "node": true |
| 6 | + }, |
| 7 | + "parser": "@typescript-eslint/parser", |
| 8 | + "parserOptions": { |
| 9 | + "project": "./tsconfig.json", |
| 10 | + "ecmaVersion": 2021, |
| 11 | + "sourceType": "module" |
| 12 | + }, |
| 13 | + "extends": ["airbnb", "prettier", "plugin:node/recommended"], |
| 14 | + "plugins": ["node", "prettier"], |
| 15 | + "rules": { |
| 16 | + "prettier/prettier": "off", |
| 17 | + "spaced-comment": "off", |
| 18 | + "no-console": "warn", |
| 19 | + "consistent-return": "off", |
| 20 | + "func-names": "off", |
| 21 | + "no-process-exit": "off", |
| 22 | + "no-param-reassign": "off", |
| 23 | + "no-underscore-dangle": "off", |
| 24 | + "import/extensions": "off", |
| 25 | + "class-methods-use-this": "off", |
| 26 | + "lines-between-class-members": "off", |
| 27 | + "prefer-destructuring": ["error", { "object": true, "array": false }], |
| 28 | + "no-unused-vars": [ |
| 29 | + "error", |
| 30 | + { |
| 31 | + "argsIgnorePattern": "req|res|next|^_", |
| 32 | + "varsIgnorePattern": "req|res|next|^_" |
| 33 | + } |
| 34 | + ], |
| 35 | + "node/no-missing-import": "off", |
| 36 | + "node/no-unsupported-features/es-syntax": [ |
| 37 | + "error", |
| 38 | + { |
| 39 | + "version": ">=13.0.0", |
| 40 | + "ignores": ["modules"] |
| 41 | + } |
| 42 | + ] |
| 43 | + }, |
| 44 | + "settings": { |
| 45 | + "import/resolver": { |
| 46 | + "typescript": { |
| 47 | + "project": "./tsconfig.json" |
| 48 | + } |
| 49 | + } |
| 50 | + } |
| 51 | +} |
0 commit comments