File size: 828 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  "root": true,
  "parser": "@babel/eslint-parser",
  "plugins": ["react", "flowtype", "unicorn"],
  "extends": [
    "eslint:recommended",
    "plugin:react/recommended",
    "plugin:flowtype/recommended"
  ],
  "rules": {
    "no-console": "off",
    "no-use-before-define": ["error", "nofunc"],
    "no-unused-vars": [
      "warn",
      {
        "argsIgnorePattern": "^(e|_.*)$",
        "vars": "local",
        "varsIgnorePattern": "(debug|^_)"
      }
    ],
    "prefer-const": "error",
    "react/jsx-boolean-value": ["error", "always"],
    "unicorn/better-regex": "warn",
    "unicorn/expiring-todo-comments": "error",
    "unicorn/no-abusive-eslint-disable": "error"
  },
  "env": {
    "browser": true,
    "node": true,
    "es6": true
  },
  "settings": {
    "react": {
      "version": "detect"
    }
  }
}