Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.59 KB | None | 0 0
  1. {
  2.   "parser": "babel-eslint",
  3.   "rules": {
  4.     "no-undef": [2],
  5.     "arrow-parens": [1, "as-needed"],
  6.     "no-trailing-spaces": [1],
  7.     "space-before-blocks": [1, "always"],
  8.     "no-unused-expressions": [0],
  9.     "no-underscore-dangle": [0],
  10.     "quote-props": [1, "as-needed"],
  11.     "no-multi-spaces": [0],
  12.     "no-unused-vars": [1],
  13.     "no-extra-semi": [1],
  14.     "no-unreachable": [2],
  15.     "use-isnan": [2],
  16.     # "no-else-return": [1],
  17.     # "no-unsafe-finally": [1],
  18.     "no-loop-func": [0],
  19.     "key-spacing": [0],
  20.     "max-len": [1, 100],
  21.     "strict": [0],
  22.     "eol-last": [1],
  23.     "no-console": [1],
  24.     "indent": [1, 2],
  25.     "quotes": [1, "single", "avoid-escape"],
  26.     "curly": [0],
  27.     "jsx-quotes": [1, "prefer-double"],
  28.  
  29.     "react/jsx-boolean-value": 1,
  30.     "react/jsx-no-undef": 2,
  31.     "react/jsx-uses-react": 1,
  32.     "react/jsx-uses-vars": 1,
  33.     # "react/jsx-wrap-multilines": 1,
  34.     "react/no-did-mount-set-state": 1,
  35.     "react/no-did-update-set-state": 1,
  36.     "react/no-multi-comp": 0,
  37.     "react/no-unknown-property": 2,
  38.     "react/react-in-jsx-scope": 2,
  39.     "react/self-closing-comp": 1,
  40.  
  41.     "generator-star-spacing": 1,
  42.     "new-cap": 1,
  43.     "object-curly-spacing": 0,
  44.     "object-shorthand": 0,
  45.  
  46.     "babel/new-cap": 1,
  47.     "babel/object-curly-spacing": [1, "always"],
  48.   },
  49.   "plugins": [
  50.     "react",
  51.     "babel"
  52.   ],
  53.   "settings": {
  54.     "ecmascript": 6,
  55.     "jsx": true,
  56.   },
  57.   "env": {
  58.     "browser": true,
  59.     "node": true,
  60.     "jquery" : true,
  61.   },
  62.   "globals": {
  63.     "Materialize": true,
  64.     "Set": true,
  65.     "window": true,
  66.   }
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement