all repos — caroster @ babd67037b99b2af52637c863291a856943518f8

[Octree] Group carpool to your event https://caroster.io

app/.eslintrc (view raw)

 1{
 2  "extends": [
 3    "eslint:recommended",
 4    "plugin:react/recommended",
 5    "plugin:jsx-a11y/recommended",
 6    "google"
 7  ],
 8  "parser": "babel-eslint",
 9  "env": {
10    "es6": true,
11    "node": true
12  },
13  "parserOptions": {
14    "sourceType": "module"
15  },
16  "plugins": ["react", "react-hooks", "jsx-a11y"],
17  "globals": {
18    "alert": true,
19    "confirm": true,
20    "FormData": true,
21    "XMLHttpRequest": true,
22    "document": true,
23    "window": true,
24    "$": true,
25    "jQuery": true,
26    "navigator": true,
27    "fetch": true
28  },
29  "settings": {
30    "react": {
31      "pragma": "React",
32      "version": "detect"
33    }
34  },
35  "rules": {
36    "prefer-const": "error",
37    "complexity": ["warn", 20],
38    "max-len": ["warn", 110],
39    "arrow-parens": "off",
40    "prefer-destructuring": "error",
41    "indent": ["error", 2, {"ignoredNodes": ["ConditionalExpression"]}],
42    "operator-linebreak": "off",
43    "curly": "off",
44    "no-extra-boolean-cast": "off",
45    "quote-props": "off",
46    "jsx-a11y/no-autofocus": "off",
47    "react/boolean-prop-naming": "error",
48    "react/prop-types": "off",
49    "react/jsx-no-useless-fragment": "error",
50    "react/jsx-pascal-case": "error",
51    "react/jsx-max-depth": ["error", {"max": 5}],
52    "jsx-a11y/click-events-have-key-events": "warn",
53    "jsx-a11y/no-static-element-interactions": "warn",
54    "jsx-a11y/no-noninteractive-element-interactions": "warn"
55  }
56}