Skip to content

Instantly share code, notes, and snippets.

@CrabDude
Last active November 28, 2017 13:35
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save CrabDude/e71a960af8573a2dc7bf to your computer and use it in GitHub Desktop.
Save CrabDude/e71a960af8573a2dc7bf to your computer and use it in GitHub Desktop.
.eslintrc with Babel parser support (via babel-eslint package)
{
"env": {
"node": true,
"es6": true
},
"parser": "babel-eslint",
"rules": {
"no-throw-literal": 1,
"strict": "never",
"semi": [2, "never"],
"quotes": "single",
"no-var": 1,
"eol-last": 1,
"no-new-require": 1,
"no-sync": 1,
"no-mixed-requires": [1, false]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment