Skip to content

Instantly share code, notes, and snippets.

@ProfAvery
Created April 18, 2017 03:36
Show Gist options
  • Save ProfAvery/471ab652257751cd14a857e481a70d5a to your computer and use it in GitHub Desktop.
Save ProfAvery/471ab652257751cd14a857e481a70d5a to your computer and use it in GitHub Desktop.
ESLint configuration file for ES6
module.exports = {
"env": {
"node": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-console": 0,
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment