|
| 1 | +{ |
| 2 | + "plugins": ["prettier", "babel", "react", "react-native"], |
| 3 | + "extends": [ |
| 4 | + "eslint:all", |
| 5 | + "plugin:react/all", |
| 6 | + "plugin:react-native/all", |
| 7 | + "prettier" |
| 8 | + ], |
| 9 | + "parser": "babel-eslint", |
| 10 | + "parserOptions": { |
| 11 | + "ecmaFeatures": { |
| 12 | + "jsx": true |
| 13 | + } |
| 14 | + }, |
| 15 | + "env": { |
| 16 | + "react-native/react-native": true, |
| 17 | + "node": true, |
| 18 | + "es6": true |
| 19 | + }, |
| 20 | + "rules": { |
| 21 | + "prettier/prettier": "error", |
| 22 | + "strict": "off", |
| 23 | + "id-length": "off", |
| 24 | + "no-console": "off", |
| 25 | + "max-statements": "off", |
| 26 | + "global-require": "off", |
| 27 | + "one-var": "off", |
| 28 | + "max-lines-per-function": "off", |
| 29 | + "no-underscore-dangle": "off", |
| 30 | + "no-implicit-coercion": "off", |
| 31 | + "no-magic-numbers": "off", |
| 32 | + "no-negated-condition": "off", |
| 33 | + "capitalized-comments": "off", |
| 34 | + "max-params": "off", |
| 35 | + "multiline-comment-style": "off", |
| 36 | + "spaced-comment": "off", |
| 37 | + "no-inline-comments": "off", |
| 38 | + "sort-keys": "off", |
| 39 | + "sort-imports": "off", |
| 40 | + "max-lines": "off", |
| 41 | + "prefer-template": "off", |
| 42 | + "callback-return": "off", |
| 43 | + "no-ternary": "off", |
| 44 | + "no-invalid-this": "off", |
| 45 | + "babel/no-invalid-this": "error", |
| 46 | + "complexity": "off", |
| 47 | + "yoda": "off", |
| 48 | + "prefer-promise-reject-errors": "off", |
| 49 | + "camelcase": "off", |
| 50 | + "consistent-return": "off", |
| 51 | + "no-shadow": "off", |
| 52 | + "react/no-set-state": "off", |
| 53 | + "react/prop-types": "off", |
| 54 | + "react/jsx-indent": "off", |
| 55 | + "react/jsx-no-literals": "off", |
| 56 | + "react/jsx-max-props-per-line": "off", |
| 57 | + "react/jsx-sort-props": "off", |
| 58 | + "react/jsx-one-expression-per-line": "off", |
| 59 | + "react/jsx-max-depth": "off", |
| 60 | + "react/jsx-handler-names": "off", |
| 61 | + "react/jsx-indent-props": "off", |
| 62 | + "react/jsx-pascal-case": "off", |
| 63 | + "react/jsx-filename-extension": "off", |
| 64 | + "react/forbid-component-props": "off", |
| 65 | + "react/destructuring-assignment": "off", |
| 66 | + "react/state-in-constructor": "off", |
| 67 | + "react/require-optimization": "off", |
| 68 | + "react-native/sort-styles": "off", |
| 69 | + "react-native/split-platform-components": "off", |
| 70 | + "react/jsx-fragments": "off", |
| 71 | + "no-use-before-define": "off", |
| 72 | + "new-cap": "off", |
| 73 | + "babel/new-cap": 1, |
| 74 | + "babel/camelcase": 1, |
| 75 | + "object-curly-spacing": "off", |
| 76 | + "babel/object-curly-spacing": "off", |
| 77 | + "quotes": "off", |
| 78 | + "babel/quotes": "off", |
| 79 | + "semi": "off", |
| 80 | + "babel/semi": "off", |
| 81 | + "no-unused-expressions": "off", |
| 82 | + "babel/no-unused-expressions": 1, |
| 83 | + "valid-typeof": "off", |
| 84 | + "babel/valid-typeof": 1 |
| 85 | + }, |
| 86 | + "settings": { |
| 87 | + "react": { |
| 88 | + "version": "^16.6.3" |
| 89 | + } |
| 90 | + } |
| 91 | +} |
0 commit comments