11{
22 "plugins": [
3- "babel",
4- "react",
5- "react-hooks",
6- "@typescript-eslint"
3+ "babel"
74 ],
8- "parser": "@typescript-eslint/parser",
9- "parserOptions": {
10- "ecmaFeatures": {
11- "legacyDecorators": true
12- }
13- },
14- "settings": {
15- "react": {
16- "version": "detect"
17- }
18- },
5+ "parser": "babel-eslint",
196 "rules": {
20- "camelcase": "off",
21- "comma-dangle": ["error",
22- {
23- "arrays": "always-multiline",
24- "objects": "always-multiline",
25- "imports": "always-multiline",
26- "exports": "always-multiline",
27- "functions": "never"
28- }],
7+ "comma-dangle": ["error", "always-multiline"],
298 "space-before-function-paren": ["error", {
309 "anonymous": "never",
3110 "named": "never",
3413 "jsx-quotes": ["error", "prefer-double"],
3514 "no-var": "error",
3615 "prefer-const": "warn",
37- "new-cap": ["error", {
38- "newIsCapExceptions": ["api.batch"],
39- "capIsNew": false
40- }],
41- "no-invalid-this": "warn",
42- "no-unused-expressions": "error",
43- "semi": ["error", "never"],
44- "lines-between-class-members": ["error", "always", {"exceptAfterSingleLine": true }],
16+
17+ "babel/no-invalid-this": "warn",
18+ "babel/semi": ["error", "never"],
4519 "react/prop-types": "warn",
46- "react/jsx-handler-names": "off",
47- "react/jsx-indent": ["error", 2, { "checkAttributes": false, "indentLogicalExpressions": true }],
48- "react/jsx-pascal-case": ["error", {"allowAllCaps": true}],
49- "react/jsx-uses-react": "error",
50- "react/jsx-uses-vars": "error",
5120 "react/no-unused-state": "warn",
5221 "react/no-access-state-in-setstate": "warn",
53- "react-hooks/rules-of-hooks": "error",
54- "react-hooks/exhaustive-deps": "warn",
55- "object-curly-spacing": "off",
56- "multiline-ternary": "off",
57- "no-use-before-define": "off"
22+ "object-curly-spacing": "off"
5823 },
5924 "overrides": [
6025 {
6429 }
6530 }
6631 ],
67- "extends": [
68- "standard",
69- "standard-react"
70- ],
32+ "extends": ["standard", "standard-react"],
7133 "env": {
72- "jest": true,
7334 "browser": true,
35+ "jest": true,
7436 "jasmine": true
7537 },
7638 "globals": {
77- "mapboxgl": true,
78- "UPTICK_PRODUCT_STREAM": "readonly"
39+ "mapboxgl": true
7940 }
80- }
41+ }
0 commit comments