Skip to content

Instantly share code, notes, and snippets.

@goodbedford
Created April 12, 2017 06:32
Show Gist options
  • Save goodbedford/381e69bccd8b305c2581b246a76662cc to your computer and use it in GitHub Desktop.
Save goodbedford/381e69bccd8b305c2581b246a76662cc to your computer and use it in GitHub Desktop.
gb-eslint.config.js
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"no-console": [
"warn"
],
"no-unused-vars": [
"off",
{"vars": "local"}
],
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment