Skip to content

Instantly share code, notes, and snippets.

@mickambar19
Created March 23, 2018 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mickambar19/e8bf596654ea7a30ae650ed8df949445 to your computer and use it in GitHub Desktop.
Save mickambar19/e8bf596654ea7a30ae650ed8df949445 to your computer and use it in GitHub Desktop.
Posible eslint with prettier
{
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "never"],
"strict": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment