1 | {
|
2 | "parser": "babel-eslint",
|
3 | "plugins": [
|
4 | "react",
|
5 | "babel",
|
6 | ],
|
7 | "extends": [
|
8 | "uber-jsx",
|
9 | "uber-es2015",
|
10 | "prettier",
|
11 | "prettier/react"
|
12 | ],
|
13 | "rules": {
|
14 | "guard-for-in": 0,
|
15 | "camelcase": 0,
|
16 | "comma-dangle": 0,
|
17 | "no-process-env": 0,
|
18 | 'brace-style': [2, '1tbs', { 'allowSingleLine': true }],
|
19 | 'no-invalid-this': 0,
|
20 | 'babel/no-invalid-this': 1,
|
21 | },
|
22 | "globals": {
|
23 | "document": false,
|
24 | "process": false,
|
25 | "window": false,
|
26 | "fetch": false,
|
27 | "btoa": false,
|
28 | }
|
29 | }
|