Skip to content

Instantly share code, notes, and snippets.

@abdul
Forked from CrabDude/.eslintrc
Created March 21, 2016 10:58
Show Gist options
  • Save abdul/fdbbd911a0a0d5e7d633 to your computer and use it in GitHub Desktop.
Save abdul/fdbbd911a0a0d5e7d633 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