Skip to content

Instantly share code, notes, and snippets.

@eloypnd
Created November 12, 2015 23:44
Show Gist options
  • Save eloypnd/1a072a8cbeade3621b8a to your computer and use it in GitHub Desktop.
Save eloypnd/1a072a8cbeade3621b8a to your computer and use it in GitHub Desktop.
eslint base configuration file
{
"rules": {
"indent": [
2,
2,
{ "SwitchCase": 1 }
],
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
]
},
"env": {
"es6": true,
"browser": true
},
"extends": "eslint:recommended",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
"modules": true
},
"plugins": [
"react"
]
}