|
| 1 | +env: |
| 2 | + browser: true |
| 3 | + node: true |
| 4 | + es6: true |
| 5 | + |
| 6 | +globals: |
| 7 | + React: true |
| 8 | + |
| 9 | +plugins: |
| 10 | + - react |
| 11 | + |
| 12 | +ecmaFeatures: |
| 13 | + jsx: true |
| 14 | + modules: true |
| 15 | + |
| 16 | +rules: |
| 17 | + no-alert: 0 |
| 18 | + no-array-constructor: 0 |
| 19 | + no-arrow-condition: 0 |
| 20 | + no-bitwise: 0 |
| 21 | + no-caller: 0 |
| 22 | + no-case-declarations: 0 |
| 23 | + no-catch-shadow: 0 |
| 24 | + no-class-assign: 0 |
| 25 | + no-cond-assign: 2 |
| 26 | + no-confusing-arrow: 0 |
| 27 | + no-console: 0 |
| 28 | + no-const-assign: 0 |
| 29 | + no-constant-condition: 2 |
| 30 | + no-continue: 0 |
| 31 | + no-control-regex: 2 |
| 32 | + no-debugger: 2 |
| 33 | + no-delete-var: 2 |
| 34 | + no-div-regex: 0 |
| 35 | + no-dupe-class-members: 0 |
| 36 | + no-dupe-keys: 2 |
| 37 | + no-dupe-args: 2 |
| 38 | + no-duplicate-case: 2 |
| 39 | + no-else-return: 0 |
| 40 | + no-empty: 2 |
| 41 | + no-empty-character-class: 2 |
| 42 | + no-empty-label: 0 |
| 43 | + no-empty-pattern: 0 |
| 44 | + no-eq-null: 0 |
| 45 | + no-eval: 0 |
| 46 | + no-ex-assign: 2 |
| 47 | + no-extend-native: 0 |
| 48 | + no-extra-bind: 0 |
| 49 | + no-extra-boolean-cast: 2 |
| 50 | + no-extra-parens: 0 |
| 51 | + no-extra-semi: 2 |
| 52 | + no-fallthrough: 2 |
| 53 | + no-floating-decimal: 0 |
| 54 | + no-func-assign: 2 |
| 55 | + no-implicit-coercion: 0 |
| 56 | + no-implicit-globals: 0 |
| 57 | + no-implied-eval: 0 |
| 58 | + no-inline-comments: 0 |
| 59 | + no-inner-declarations: 2 |
| 60 | + no-invalid-regexp: 2 |
| 61 | + no-invalid-this: 0 |
| 62 | + no-irregular-whitespace: 2 |
| 63 | + no-iterator: 0 |
| 64 | + no-label-var: 0 |
| 65 | + no-labels: 0 |
| 66 | + no-lone-blocks: 0 |
| 67 | + no-lonely-if: 0 |
| 68 | + no-loop-func: 0 |
| 69 | + no-mixed-requires: 0 |
| 70 | + no-mixed-spaces-and-tabs: 2 |
| 71 | + linebreak-style: 0 |
| 72 | + no-multi-spaces: 0 |
| 73 | + no-multi-str: 0 |
| 74 | + no-multiple-empty-lines: 0 |
| 75 | + no-native-reassign: 0 |
| 76 | + no-negated-condition: 0 |
| 77 | + no-negated-in-lhs: 2 |
| 78 | + no-nested-ternary: 0 |
| 79 | + no-new: 0 |
| 80 | + no-new-func: 0 |
| 81 | + no-new-object: 0 |
| 82 | + no-new-require: 0 |
| 83 | + no-new-symbol: 0 |
| 84 | + no-new-wrappers: 0 |
| 85 | + no-obj-calls: 2 |
| 86 | + no-octal: 2 |
| 87 | + no-octal-escape: 0 |
| 88 | + no-param-reassign: 0 |
| 89 | + no-path-concat: 0 |
| 90 | + no-plusplus: 0 |
| 91 | + no-process-env: 0 |
| 92 | + no-process-exit: 0 |
| 93 | + no-proto: 0 |
| 94 | + no-redeclare: 2 |
| 95 | + no-regex-spaces: 2 |
| 96 | + no-restricted-imports: 0 |
| 97 | + no-restricted-modules: 0 |
| 98 | + no-restricted-syntax: 0 |
| 99 | + no-return-assign: 0 |
| 100 | + no-script-url: 0 |
| 101 | + no-self-compare: 0 |
| 102 | + no-sequences: 0 |
| 103 | + no-shadow: 0 |
| 104 | + no-shadow-restricted-names: 0 |
| 105 | + no-whitespace-before-property: 0 |
| 106 | + no-spaced-func: 0 |
| 107 | + no-sparse-arrays: 2 |
| 108 | + no-sync: 0 |
| 109 | + no-ternary: 0 |
| 110 | + no-trailing-spaces: 0 |
| 111 | + no-this-before-super: 0 |
| 112 | + no-throw-literal: 0 |
| 113 | + no-undef: 2 |
| 114 | + no-undef-init: 0 |
| 115 | + no-undefined: 0 |
| 116 | + no-unexpected-multiline: 0 |
| 117 | + no-underscore-dangle: 0 |
| 118 | + no-unmodified-loop-condition: 0 |
| 119 | + no-unneeded-ternary: 0 |
| 120 | + no-unreachable: 2 |
| 121 | + no-unused-expressions: 0 |
| 122 | + no-unused-vars: 0 |
| 123 | + no-use-before-define: 0 |
| 124 | + no-useless-call: 0 |
| 125 | + no-useless-concat: 0 |
| 126 | + no-useless-constructor: 0 |
| 127 | + no-void: 0 |
| 128 | + no-var: 0 |
| 129 | + no-warning-comments: 0 |
| 130 | + no-with: 0 |
| 131 | + no-magic-numbers: 0 |
| 132 | + |
| 133 | + array-bracket-spacing: 0 |
| 134 | + array-callback-return: 0 |
| 135 | + arrow-body-style: 0 |
| 136 | + arrow-parens: 0 |
| 137 | + arrow-spacing: 0 |
| 138 | + accessor-pairs: 0 |
| 139 | + block-scoped-var: 0 |
| 140 | + block-spacing: 0 |
| 141 | + brace-style: 0 |
| 142 | + callback-return: 0 |
| 143 | + camelcase: 0 |
| 144 | + comma-dangle: 2 |
| 145 | + comma-spacing: 0 |
| 146 | + comma-style: 0 |
| 147 | + complexity: [0, 11] |
| 148 | + computed-property-spacing: 0 |
| 149 | + consistent-return: 0 |
| 150 | + consistent-this: 0 |
| 151 | + constructor-super: 0 |
| 152 | + curly: 0 |
| 153 | + default-case: 0 |
| 154 | + dot-location: 0 |
| 155 | + dot-notation: 0 |
| 156 | + eol-last: 0 |
| 157 | + eqeqeq: 0 |
| 158 | + func-names: 0 |
| 159 | + func-style: 0 |
| 160 | + generator-star-spacing: 0 |
| 161 | + global-require: 0 |
| 162 | + guard-for-in: 0 |
| 163 | + handle-callback-err: 0 |
| 164 | + id-length: 0 |
| 165 | + indent: 0 |
| 166 | + init-declarations: 0 |
| 167 | + jsx-quotes: 0 |
| 168 | + key-spacing: 0 |
| 169 | + keyword-spacing: 0 |
| 170 | + lines-around-comment: 0 |
| 171 | + max-depth: 0 |
| 172 | + max-len: 0 |
| 173 | + max-nested-callbacks: 0 |
| 174 | + max-params: 0 |
| 175 | + max-statements: 0 |
| 176 | + new-cap: 0 |
| 177 | + new-parens: 0 |
| 178 | + newline-after-var: 0 |
| 179 | + object-curly-spacing: 0 |
| 180 | + object-shorthand: 0 |
| 181 | + one-var: 0 |
| 182 | + operator-assignment: 0 |
| 183 | + operator-linebreak: 0 |
| 184 | + padded-blocks: 0 |
| 185 | + prefer-arrow-callback: 0 |
| 186 | + prefer-const: 0 |
| 187 | + prefer-reflect: 0 |
| 188 | + prefer-rest-params: 0 |
| 189 | + prefer-spread: 0 |
| 190 | + prefer-template: 0 |
| 191 | + quote-props: 0 |
| 192 | + quotes: [2, "single"] |
| 193 | + radix: 0 |
| 194 | + id-match: 0 |
| 195 | + require-jsdoc: 0 |
| 196 | + require-yield: 0 |
| 197 | + semi: 2 |
| 198 | + semi-spacing: 0 |
| 199 | + sort-vars: 0 |
| 200 | + space-after-keywords: 0 |
| 201 | + space-before-keywords: 0 |
| 202 | + space-before-blocks: 0 |
| 203 | + space-before-function-paren: 0 |
| 204 | + space-in-parens: 0 |
| 205 | + space-infix-ops: 0 |
| 206 | + space-return-throw-case: 0 |
| 207 | + space-unary-ops: 0 |
| 208 | + spaced-comment: 0 |
| 209 | + strict: 0 |
| 210 | + use-isnan: 2 |
| 211 | + valid-jsdoc: 0 |
| 212 | + valid-typeof: 2 |
| 213 | + vars-on-top: 0 |
| 214 | + wrap-iife: 0 |
| 215 | + wrap-regex: 0 |
| 216 | + yield-star-spacing: 0 |
| 217 | + yoda: 0 |
| 218 | + |
| 219 | + react/display-name: 1 |
| 220 | + react/forbid-prop-types: 0 |
| 221 | + react/jsx-boolean-value: 1 |
| 222 | + react/jsx-closing-bracket-location: 1 |
| 223 | + react/jsx-curly-spacing: 1 |
| 224 | + react/jsx-handler-names: 1 |
| 225 | + react/jsx-indent-props: 1 |
| 226 | + react/jsx-indent: [1, 2] |
| 227 | + react/jsx-key: 1 |
| 228 | + react/jsx-max-props-per-line: 1 |
| 229 | + react/jsx-no-bind: 0 |
| 230 | + react/jsx-no-duplicate-props: 1 |
| 231 | + react/jsx-no-literals: 0 |
| 232 | + react/jsx-no-undef: 1 |
| 233 | + react/jsx-pascal-case: 1 |
| 234 | + jsx-quotes: 1 |
| 235 | + react/jsx-sort-prop-types: 1 |
| 236 | + react/jsx-sort-props: 1 |
| 237 | + react/jsx-uses-react: 1 |
| 238 | + react/jsx-uses-vars: 1 |
| 239 | + react/no-danger: 0 |
| 240 | + react/no-deprecated: 1 |
| 241 | + react/no-did-mount-set-state: 1 |
| 242 | + react/no-did-update-set-state: 1 |
| 243 | + react/no-direct-mutation-state: 1 |
| 244 | + react/no-is-mounted: 1 |
| 245 | + react/no-multi-comp: 1 |
| 246 | + react/no-set-state: 0 |
| 247 | + react/no-string-refs: 1 |
| 248 | + react/no-unknown-property: 1 |
| 249 | + react/prefer-es6-class: 1 |
| 250 | + react/prop-types: 1 |
| 251 | + react/react-in-jsx-scope: 1 |
| 252 | + react/require-extension: 1 |
| 253 | + react/self-closing-comp: 1 |
| 254 | + react/sort-comp: 1 |
| 255 | + react/wrap-multilines: 1 |
0 commit comments