|
| 1 | +{ |
| 2 | + "root": true, |
| 3 | + "extends": [ |
| 4 | + "@react-native" |
| 5 | + //"plugin:import/recommended" |
| 6 | + ], |
| 7 | + "rules": { |
| 8 | + "prettier/prettier": 0, |
| 9 | + "eqeqeq": 2, |
| 10 | + "comma-dangle": 0, |
| 11 | + "curly": 0, |
| 12 | + "no-console": 1, |
| 13 | + "no-debugger": 1, |
| 14 | + "no-extra-semi": 2, |
| 15 | + "no-extra-parens": 1, |
| 16 | + "no-extra-boolean-cast": 1, |
| 17 | + "no-cond-assign": 2, |
| 18 | + "no-irregular-whitespace": 2, |
| 19 | + "no-undef": 0, |
| 20 | + "no-unused-vars": 0, |
| 21 | + "semi": 2, |
| 22 | + "semi-spacing": 2, |
| 23 | + "valid-jsdoc": 0, |
| 24 | + "radix": 0, |
| 25 | + "no-extend-native": 0, |
| 26 | + "react/display-name": 2, |
| 27 | + "react/forbid-prop-types": 1, |
| 28 | + "react/jsx-boolean-value": 1, |
| 29 | + "react/jsx-closing-bracket-location": 1, |
| 30 | + "react/jsx-curly-spacing": 1, |
| 31 | + "react/jsx-indent-props": 0, |
| 32 | + "react/jsx-max-props-per-line": 0, |
| 33 | + "react/jsx-no-duplicate-props": 1, |
| 34 | + "react/jsx-no-literals": 0, |
| 35 | + "react/jsx-no-undef": 1, |
| 36 | + "react/jsx-sort-props": 0, |
| 37 | + "react/jsx-uses-react": 1, |
| 38 | + "react/jsx-uses-vars": 1, |
| 39 | + "react/jsx-wrap-multilines": 0, |
| 40 | + "react/no-danger": 1, |
| 41 | + "react/no-did-mount-set-state": 1, |
| 42 | + "react/no-did-update-set-state": 1, |
| 43 | + "react/no-direct-mutation-state": 1, |
| 44 | + "react/no-multi-comp": 1, |
| 45 | + "react/no-set-state": 0, |
| 46 | + "react/no-unknown-property": 1, |
| 47 | + "react/prop-types": 0, |
| 48 | + "react/react-in-jsx-scope": 0, |
| 49 | + "react/self-closing-comp": 1, |
| 50 | + "react/sort-comp": 1, |
| 51 | + "import/no-unresolved": 0, |
| 52 | + "import/no-default-export": 1, |
| 53 | + "import/order": [ |
| 54 | + 1, |
| 55 | + { |
| 56 | + "groups": [ |
| 57 | + "external", |
| 58 | + "internal", |
| 59 | + "index", |
| 60 | + "sibling", |
| 61 | + "parent", |
| 62 | + "builtin", |
| 63 | + "object", |
| 64 | + "type" |
| 65 | + ], |
| 66 | + "alphabetize": { |
| 67 | + "order": "asc", |
| 68 | + /* sort in ascending order. Options: ['ignore', 'asc', 'desc'] */ |
| 69 | + "caseInsensitive": true |
| 70 | + /* ignore case. Options: [true, false] */ |
| 71 | + } |
| 72 | + } |
| 73 | + ], |
| 74 | + "quotes": [ |
| 75 | + "warn", |
| 76 | + "single", |
| 77 | + { |
| 78 | + "allowTemplateLiterals": true |
| 79 | + } |
| 80 | + ] |
| 81 | + }, |
| 82 | + "overrides": [ |
| 83 | + { |
| 84 | + "files": [ |
| 85 | + "*.ts", |
| 86 | + "*.tsx" |
| 87 | + ], |
| 88 | + "rules": { |
| 89 | + "no-dupe-class-members": "off" |
| 90 | + } |
| 91 | + } |
| 92 | + ], |
| 93 | + "plugins": [ |
| 94 | + "import" |
| 95 | + ] |
| 96 | +} |
0 commit comments