cycle4passion

.eslintrc.json

Jun 15th, 2018
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.31 KB | None | 0 0
  1. {
  2.     "extends": [
  3.         "airbnb",
  4.         "prettier"
  5.     ],
  6.     "plugins": [
  7.         "prettier"
  8.     ],
  9.     "env": {
  10.         "es6": true,
  11.         "browser": true,
  12.         "node": true
  13.     },
  14.     "parser": "babel-eslint",
  15.     "parserOptions": {
  16.         "ecmaVersion": 8,
  17.         "sourceType": "module",
  18.         "ecmaFeatures": {
  19.             "jsx": true,
  20.             "experimentalObjectRestSpread": true,
  21.             "impliedStrict": true,
  22.             "classes": true
  23.         }
  24.     },
  25.     "rules": {
  26.         "prettier/prettier": [
  27.             "error"
  28.         ],
  29.         "no-console": 0,
  30.         "indent": [
  31.             4,
  32.             4
  33.         ],
  34.         "no-unused-vars": 1,
  35.         "comma-dangle": 0,
  36.         "react/jsx-indent": 0,
  37.         "react/prop-types": 0,
  38.         "indent": 0,
  39.         "react/no-unused-state": 1,
  40.         "max-len": 0,
  41.         "react/no-did-mount-set-state": 1,
  42.         "react/prefer-stateless-function": 1,
  43.         "semi": [
  44.             1,
  45.             "always"
  46.         ],
  47.         "react/jsx-uses-react": "error",
  48.         "react/jsx-uses-vars": "error",
  49.         "react/jsx-filename-extension": [
  50.             1,
  51.             {
  52.                 "extensions": [
  53.                     ".js",
  54.                     ".jsx"
  55.                 ]
  56.             }
  57.         ]
  58.     }
  59. }
Advertisement
Add Comment
Please, Sign In to add comment