1
+ {
2
+ "parser": "babel-eslint",
3
+ "extends": [
4
+ "airbnb"
5
+ ],
6
+ "env": {
7
+ "browser": true,
8
+ "node": true
9
+ },
10
+ "settings": {
11
+ "import/resolver": {
12
+ "node": {
13
+ "extensions": [".js", ".ios.js", ".android.js"]
14
+ }
15
+ }
16
+ },
17
+ "globals": {
18
+ "__DEV__": false,
19
+ "GLOBAL": false
20
+ },
21
+ "rules": {
22
+ "arrow-parens": ["error", "always"],
23
+ "function-paren-newline": ["error", "consistent"],
24
+ "no-confusing-arrow": ["off"],
25
+ "no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0, "maxBOF": 0 }],
26
+ "no-underscore-dangle": ["off"],
27
+ "object-curly-newline": ["error", { "consistent": true }],
28
+ "prefer-promise-reject-errors": ["off"],
29
+ "import/no-named-default": ["off"],
30
+ "import/prefer-default-export": ["off"],
31
+ "jsx-a11y/anchor-is-valid": ["off"],
32
+ "jsx-a11y/click-events-have-key-events": ["off"],
33
+ "jsx-a11y/label-has-for": [ "error", { "required": { "every": ["id"] }, "allowChildren": true } ],
34
+ "jsx-a11y/no-noninteractive-element-interactions": ["off"],
35
+ "jsx-a11y/no-static-element-interactions": ["off"],
36
+ "react/jsx-filename-extension": ["error", { "extensions": [".js"] }],
37
+ "no-use-before-define": ["error", { "variables": false }],
38
+ "react/prop-types": 0,
39
+ "no-alert": 0,
40
+ "no-console": 0
41
+ }
42
+ }
0 commit comments