|
16 | 16 | "import/no-unresolved": 0, |
17 | 17 | "import/no-named-as-default": 0, |
18 | 18 | "import/no-named-as-default-member": 0, |
| 19 | + "import/no-useless-path-segments": 1, |
| 20 | + "import/no-cycle":0, //temporarily off |
| 21 | + "import/no-import-module-exports": 0, //temporarily off |
19 | 22 | "import/extensions": [ // override airbnb setting to allow imports of js, jsx, ts, and tsx files to auto-resolve instead of error |
20 | 23 | "error", |
21 | 24 | "ignorePackages", |
|
28 | 31 | ], |
29 | 32 | "react/jsx-filename-extension": [1, { "extensions": [".jsx", ".tsx"] }], |
30 | 33 | "comma-dangle": 0, // not sure why airbnb turned this on. gross! |
| 34 | + "default-param-last": 0, |
| 35 | + "no-else-return" :0, |
31 | 36 | "indent": 0, |
32 | 37 | "no-console": 0, |
33 | 38 | "no-alert": 0, |
| 39 | + "no-import-assign": 2, |
| 40 | + "no-promise-executor-return": 0, //temporarily off |
| 41 | + "no-restricted-exports": 1, |
34 | 42 | "no-underscore-dangle": 0, |
35 | 43 | "no-useless-catch": 2, |
| 44 | + "prefer-object-spread": 0, |
36 | 45 | "max-len": [1, 120, 2, {"ignoreComments": true, "ignoreTemplateLiterals": true}], |
| 46 | + "max-classes-per-file": 0, |
37 | 47 | "quote-props": [1, "as-needed"], |
38 | 48 | "no-unused-vars": [1, {"vars": "local", "args": "none"}], |
39 | 49 | "consistent-return": ["error", { "treatUndefinedAsUnspecified": true }], |
|
47 | 57 | { "ignorePureComponents": true |
48 | 58 | }], |
49 | 59 | "class-methods-use-this": 0, |
50 | | - "react/jsx-no-bind": [2, {"allowBind": true, "allowArrowFunctions": true}], |
| 60 | + "react/button-has-type": 0, |
| 61 | + "react/destructuring-assignment":0, |
| 62 | + "react/function-component-definition": 0, |
| 63 | + "react/jsx-curly-newline":0, |
| 64 | + "react/jsx-fragments":0, |
| 65 | + "react/jsx-no-useless-fragment":0, // temporarily off |
| 66 | + "react/jsx-one-expression-per-line": 0, |
| 67 | + "react/jsx-props-no-spreading": 0, |
| 68 | + "react/jsx-wrap-multilines": 0, |
| 69 | + "react/jsx-no-bind": [2, {"allowBind": true, "allowArrowFunctions": true, "allowFunctions": true}], |
| 70 | + "react/no-deprecated": 0, //temporarily off |
| 71 | + "react/no-unused-class-component-methods": 1, |
| 72 | + "react/sort-comp": 0, |
51 | 73 | "no-return-assign": [2, "except-parens"], |
52 | 74 | "jsx-a11y/anchor-is-valid": [ |
53 | 75 | "error", |
|
60 | 82 | ] |
61 | 83 | } |
62 | 84 | ], |
| 85 | + "jsx-a11y/control-has-associated-label": 0, //temporarily off |
| 86 | + "jsx-a11y/label-has-associated-control": 0, //temporarily off |
63 | 87 | "jsx-a11y/label-has-for": [ |
64 | 88 | 2, |
65 | 89 | { |
|
0 commit comments