Skip to content

Instantly share code, notes, and snippets.

@sillero
Last active November 13, 2015 19:02
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 sillero/c625e237dde11af26ad5 to your computer and use it in GitHub Desktop.
Save sillero/c625e237dde11af26ad5 to your computer and use it in GitHub Desktop.
Babel (ES7, React) + ESLint boilerplate
{
"presets": ["airbnb", "stage-0"]
}
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{html,css,scss}]
indent_size = 4
{
"parser": "babel-eslint",
"extends": "airbnb"
}
{
"devDependencies": {
"babel-eslint": "^4.1.5",
"babel-preset-airbnb": "^1.0.0",
"babel-preset-stage-0": "^6.1.18",
"eslint": "^1.9.0",
"eslint-config-airbnb": "^1.0.0",
"eslint-plugin-react": "^3.8.0"
},
"license": "MIT"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment