|
| 1 | +extends: |
| 2 | +- eslint:recommended |
| 3 | +- "plugin:@typescript-eslint/recommended" |
| 4 | +ignorePatterns: |
| 5 | +- node_modules |
| 6 | +root: true |
| 7 | +parser: "@typescript-eslint/parser" |
| 8 | +rules: |
| 9 | + no-await-in-loop: error |
| 10 | + no-extra-parens: warn |
| 11 | + no-template-curly-in-string: error |
| 12 | + class-methods-use-this: error |
| 13 | + complexity: |
| 14 | + - error |
| 15 | + - 5 |
| 16 | + consistent-return: warn |
| 17 | + curly: error |
| 18 | + dot-notation: warn |
| 19 | + eqeqeq: error |
| 20 | + guard-for-in: error |
| 21 | + no-alert: error |
| 22 | + no-caller: error |
| 23 | + no-eval: error |
| 24 | + no-extend-native: error |
| 25 | + no-extra-bind: warn |
| 26 | + no-extra-label: warn |
| 27 | + no-invalid-this: error |
| 28 | + no-magic-numbers: warn |
| 29 | + no-multi-spaces: warn |
| 30 | + no-new-wrappers: error |
| 31 | + no-new: error |
| 32 | + no-console: off |
| 33 | + no-proto: error |
| 34 | + no-return-await: error |
| 35 | + no-self-compare: error |
| 36 | + no-sequences: error |
| 37 | + no-throw-literal: error |
| 38 | + no-unused-expressions: warn |
| 39 | + no-useless-call: warn |
| 40 | + no-useless-return: warn |
| 41 | + radix: error |
| 42 | + require-await: error |
| 43 | + require-unicode-regexp: error |
| 44 | + wrap-iife: |
| 45 | + - error |
| 46 | + - inside |
| 47 | + no-shadow: error |
| 48 | + no-label-var: error |
| 49 | + no-undef-init: error |
| 50 | + no-undefined: error |
| 51 | + no-use-before-define: error |
| 52 | + func-call-spacing: |
| 53 | + - warn |
| 54 | + - never |
| 55 | + func-names: |
| 56 | + - error |
| 57 | + - never |
| 58 | + func-style: |
| 59 | + - warn |
| 60 | + - expression |
| 61 | + function-call-argument-newline: |
| 62 | + - error |
| 63 | + - consistent |
| 64 | + implicit-arrow-linebreak: |
| 65 | + - warn |
| 66 | + - beside |
| 67 | + indent: |
| 68 | + - warn |
| 69 | + - 2 |
| 70 | + - SwitchCase: 1 |
| 71 | + key-spacing: warn |
| 72 | + keyword-spacing: warn |
| 73 | + lines-between-class-members: |
| 74 | + - warn |
| 75 | + - always |
| 76 | + max-depth: warn |
| 77 | + max-len: |
| 78 | + - warn |
| 79 | + - code: 80 |
| 80 | + ignorePattern: eslint |
| 81 | + max-params: warn |
| 82 | + newline-per-chained-call: warn |
| 83 | + new-parens: error |
| 84 | + no-array-constructor: error |
| 85 | + no-continue: error |
| 86 | + no-lonely-if: error |
| 87 | + no-multi-assign: error |
| 88 | + no-multiple-empty-lines: |
| 89 | + - warn |
| 90 | + - max: 1 |
| 91 | + no-nested-ternary: error |
| 92 | + no-new-object: error |
| 93 | + no-tabs: warn |
| 94 | + no-trailing-spaces: warn |
| 95 | + no-unneeded-ternary: error |
| 96 | + no-whitespace-before-property: warn |
| 97 | + object-curly-newline: |
| 98 | + - warn |
| 99 | + - multiline: true |
| 100 | + minProperties: 1 |
| 101 | + object-curly-spacing: |
| 102 | + - warn |
| 103 | + - always |
| 104 | + object-property-newline: warn |
| 105 | + one-var-declaration-per-line: |
| 106 | + - error |
| 107 | + - always |
| 108 | + quotes: |
| 109 | + - warn |
| 110 | + - single |
| 111 | + semi: error |
| 112 | + semi-spacing: warn |
| 113 | + semi-style: |
| 114 | + - error |
| 115 | + - last |
| 116 | + space-unary-ops: |
| 117 | + - warn |
| 118 | + - words: true |
| 119 | + nonwords: true |
| 120 | + space-before-function-paren: |
| 121 | + - warn |
| 122 | + - never |
| 123 | + space-before-blocks: |
| 124 | + - warn |
| 125 | + - always |
| 126 | + switch-colon-spacing: |
| 127 | + - warn |
| 128 | + - after: true |
| 129 | + before: false |
| 130 | + template-tag-spacing: |
| 131 | + - warn |
| 132 | + - always |
| 133 | + eol-last: |
| 134 | + - warn |
| 135 | + - always |
| 136 | + computed-property-spacing: |
| 137 | + - warn |
| 138 | + - never |
| 139 | + comma-style: |
| 140 | + - warn |
| 141 | + - last |
| 142 | + comma-spacing: warn |
| 143 | + comma-dangle: |
| 144 | + - warn |
| 145 | + - always |
| 146 | + block-spacing: |
| 147 | + - warn |
| 148 | + - always |
| 149 | + array-element-newline: warn |
| 150 | + brace-style: warn |
| 151 | + array-bracket-spacing: |
| 152 | + - warn |
| 153 | + - never |
| 154 | + - singleValue: true |
| 155 | + array-bracket-newline: |
| 156 | + - warn |
| 157 | + - minItems: 2 |
| 158 | + prefer-rest-params: warn |
| 159 | + template-curly-spacing: |
| 160 | + - warn |
| 161 | + - always |
| 162 | + prefer-const: error |
| 163 | + no-var: error |
| 164 | + no-useless-constructor: warn |
| 165 | + no-useless-computed-key: warn |
| 166 | + no-confusing-arrow: warn |
| 167 | + arrow-spacing: warn |
| 168 | + arrow-body-style: |
| 169 | + - warn |
| 170 | + - as-needed |
| 171 | +parserOptions: |
| 172 | + ecmaVersion: 2018 |
0 commit comments