Skip to content

Instantly share code, notes, and snippets.

@snakebird
Created October 22, 2017 20:15
Show Gist options
  • Save snakebird/c141d4d1931fe77843eb8bae0cfb56d7 to your computer and use it in GitHub Desktop.
Save snakebird/c141d4d1931fe77843eb8bae0cfb56d7 to your computer and use it in GitHub Desktop.
ESlint cfg
module.exports = {
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-console": "off",
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment