Advertisement
Guest User

Untitled

a guest
Jan 11th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "parser": "babel-eslint",
  3.   "settings": {
  4.     "ecmascript": 6,
  5.     "import/parser": "babel-eslint",
  6.     "import/resolver": {
  7.       "webpack": {
  8.         "config": "webpack.config.common.js"
  9.       }
  10.     }
  11.   },
  12.   "extends": [
  13.     "eslint:recommended",
  14.     "plugin:import/errors",
  15.     "plugin:import/warnings"
  16.   ],
  17.   "plugins": [
  18.     "react"
  19.   ],
  20.   "parserOptions": {
  21.     "ecmaVersion": 6,
  22.     "sourceType": "module",
  23.     "ecmaFeatures": {
  24.       "jsx": true
  25.     }
  26.   },
  27.   "env": {
  28.     "es6": true,
  29.     "browser": true,
  30.     "node": true,
  31.     "jquery": true,
  32.     "mocha": true
  33.   },
  34.   "rules": {
  35.     "quotes": 0,
  36.     "no-console": 1,
  37.     "no-debugger": 1,
  38.     "no-var": 1,
  39.     "semi": [
  40.       1,
  41.       "always"
  42.     ],
  43.     "no-trailing-spaces": 0,
  44.     "eol-last": 0,
  45.     "no-unused-vars": 0,
  46.     "no-underscore-dangle": 0,
  47.     "no-alert": 0,
  48.     "no-lone-blocks": 0,
  49.     "jsx-quotes": 1,
  50.     "react/display-name": [
  51.       1,
  52.       {
  53.         "ignoreTranspilerName": false
  54.       }
  55.     ],
  56.     "react/forbid-prop-types": [
  57.       1,
  58.       {
  59.         "forbid": [
  60.           "any"
  61.         ]
  62.       }
  63.     ],
  64.     "react/jsx-no-bind": [
  65.       1,
  66.       {
  67.         "allowArrowFunctions": true,
  68.         "allowBind": true
  69.       }
  70.     ],
  71.     "react/jsx-boolean-value": 1,
  72.     "react/jsx-closing-bracket-location": 0,
  73.     "react/jsx-curly-spacing": 1,
  74.     "react/jsx-indent-props": 0,
  75.     "react/jsx-key": 1,
  76.     "react/jsx-max-props-per-line": 0,
  77.     "react/jsx-no-duplicate-props": 1,
  78.     "react/jsx-no-literals": 0,
  79.     "react/jsx-no-undef": 1,
  80.     "react/jsx-pascal-case": 1,
  81.     "react/jsx-sort-prop-types": 0,
  82.     "react/jsx-sort-props": 0,
  83.     "react/jsx-uses-react": 1,
  84.     "react/jsx-uses-vars": 1,
  85.     "react/no-danger": 1,
  86.     "react/no-did-mount-set-state": 1,
  87.     "react/no-did-update-set-state": 1,
  88.     "react/no-direct-mutation-state": 1,
  89.     "react/no-multi-comp": 1,
  90.     "react/no-set-state": 0,
  91.     "react/no-unknown-property": 1,
  92.     "react/prefer-es6-class": 1,
  93.     "react/prop-types": 1,
  94.     "react/react-in-jsx-scope": 1,
  95.     "react/self-closing-comp": 1,
  96.     "react/sort-comp": 1,
  97.     "react/jsx-wrap-multilines": 1,
  98.     "import/extensions": 1
  99.   }
  100. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement