Advertisement
w2wHDMPMGv8q99Ty

eslintrc

Oct 27th, 2018
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.37 KB | None | 0 0
  1. {
  2.   "env": {
  3.     "node": true,
  4.     "browser": true,
  5.     "es6": true,
  6.     "jest": true
  7.   },
  8.   "parser": "babel-eslint",
  9.   "extends": "airbnb",
  10.   "parserOptions": {
  11.     "ecmaFeatures": {
  12.       "legacyDecorators": true
  13.     }
  14.   },  
  15.   "rules": {
  16.     "react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }],
  17.     "no-console": 0,
  18.     "no-tabs": 0,
  19.     "arrow-body-style": "warn",
  20.     "react-native/no-unused-styles": 2,
  21.     "react-native/split-platform-components": 0,
  22.     "react-native/no-inline-styles": 0,
  23.     "react-native/no-color-literals": 0,
  24.     "semi": [2, "never"],
  25.     "class-methods-use-this": 0,    
  26.     "react/prefer-stateless-function": [0, { "ignorePureComponents": 1 }],
  27.     "react/forbid-prop-types": 0,
  28.     "no-underscore-dangle": 0,
  29.     "no-restricted-properties": 0,
  30.     "no-plusplus": 0,
  31.     "no-alert": 0,
  32.     "max-len": 0,
  33.     "global-require": 0,
  34.     "react/jsx-no-bind": 0,
  35.     "react/prefer-es6-class": 0,
  36.     "react/react-in-jsx-scope": 0,
  37.     "space-before-function-paren": 0,
  38.     "linebreak-style": 0,
  39.     "react/jsx-quotes": 0,
  40.     "react/no-array-index-key": 0,
  41.     "react/jsx-boolean-value": 0,
  42.     "no-nested-ternary": 0,
  43.     "func-names": 0,
  44.     "no-bitwise": 0,
  45.     "no-await-in-loop": 0,
  46.     "jsx-quotes": [2, "prefer-double"],
  47.     "eqeqeq": 0,
  48.     "no-return-await": 0,
  49.     "camelcase": 0
  50.   }
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement