|
| 1 | +{ |
| 2 | + "extends": [ |
| 3 | + "airbnb-base", |
| 4 | + "plugin:wdio/recommended", |
| 5 | + "plugin:chai-friendly/recommended", |
| 6 | + "plugin:@typescript-eslint/recommended", |
| 7 | + "prettier" |
| 8 | + ], |
| 9 | + "parser": "@typescript-eslint/parser", |
| 10 | + "rules": { |
| 11 | + "@typescript-eslint/no-this-alias": "off", |
| 12 | + "no-restricted-syntax": 0, |
| 13 | + "no-await-in-loop": "off", |
| 14 | + "import/extensions": "off", |
| 15 | + "consistent-return": "off", |
| 16 | + "vars-on-top": "off", |
| 17 | + "wdio/no-pause": "off", |
| 18 | + "import/no-unresolved": "error", |
| 19 | + "lines-between-class-members": 0, |
| 20 | + "import/prefer-default-export": 0, |
| 21 | + "class-methods-use-this": 0, |
| 22 | + "import/no-cycle": 0, |
| 23 | + "max-len": [ |
| 24 | + 2, |
| 25 | + { |
| 26 | + "code": 300 |
| 27 | + } |
| 28 | + ], |
| 29 | + "no-multi-spaces": [ |
| 30 | + "error", |
| 31 | + { |
| 32 | + "ignoreEOLComments": true |
| 33 | + } |
| 34 | + ], |
| 35 | + "no-console": [ |
| 36 | + "error", |
| 37 | + { |
| 38 | + "allow": [ |
| 39 | + "warn", |
| 40 | + "error", |
| 41 | + "info" |
| 42 | + ] |
| 43 | + } |
| 44 | + ], |
| 45 | + "@typescript-eslint/no-shadow": ["error"], |
| 46 | + "no-shadow": "off", |
| 47 | + "no-empty-function": ["error", { "allow": ["constructors"] }], |
| 48 | + "prefer-destructuring": ["error", {"object": false, "array": false}], |
| 49 | + "no-undefined": 2, |
| 50 | + "no-unused-vars": 1, |
| 51 | + "newline-per-chained-call": [ |
| 52 | + "error", |
| 53 | + { |
| 54 | + "ignoreChainWithDepth": 3 |
| 55 | + } |
| 56 | + ], |
| 57 | + "linebreak-style": [ |
| 58 | + "off" |
| 59 | + ], |
| 60 | + "arrow-parens": "off", |
| 61 | + "func-names": [ |
| 62 | + "off" |
| 63 | + ], |
| 64 | + "no-param-reassign": [ |
| 65 | + "off" |
| 66 | + ], |
| 67 | + "quotes": [ |
| 68 | + "error", |
| 69 | + "single", |
| 70 | + { |
| 71 | + "allowTemplateLiterals": true, |
| 72 | + "avoidEscape": true |
| 73 | + } |
| 74 | + ], |
| 75 | + "prefer-arrow-callback": [ |
| 76 | + "off" |
| 77 | + ], |
| 78 | + "dot-notation": [ |
| 79 | + "error", |
| 80 | + { |
| 81 | + "allowPattern": "[a-zA-Z]" |
| 82 | + } |
| 83 | + ], |
| 84 | + "no-underscore-dangle": [ |
| 85 | + "error", |
| 86 | + { |
| 87 | + "allow": [ |
| 88 | + "_request", |
| 89 | + "_method", |
| 90 | + "_options", |
| 91 | + "_allure" |
| 92 | + ] |
| 93 | + } |
| 94 | + ] |
| 95 | + }, |
| 96 | + "settings": { |
| 97 | + "import/parsers": { |
| 98 | + "@typescript-eslint/parser": [ |
| 99 | + ".ts", |
| 100 | + ".tsx" |
| 101 | + ] |
| 102 | + }, |
| 103 | + "import/resolver": { |
| 104 | + "typescript": { |
| 105 | + "alwaysTryTypes": true, |
| 106 | + "project": "./tsconfig.json" |
| 107 | + } |
| 108 | + } |
| 109 | + }, |
| 110 | + "plugins": [ |
| 111 | + "prettier", |
| 112 | + "wdio", |
| 113 | + "cucumber", |
| 114 | + "chai-friendly", |
| 115 | + "@typescript-eslint", |
| 116 | + "import" |
| 117 | + ], |
| 118 | + "globals": {} |
| 119 | +} |
0 commit comments