Skip to content

Instantly share code, notes, and snippets.

@klinquist
Created April 20, 2018 16:18
Show Gist options
  • Save klinquist/d8330d5e05b4a20e7e39a86d933466d3 to your computer and use it in GitHub Desktop.
Save klinquist/d8330d5e05b4a20e7e39a86d933466d3 to your computer and use it in GitHub Desktop.
module.exports = {
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"globals":{
"stringlog": true,
"mp": true
},
"rules": {
"indent": [
"warn",
4,
{"SwitchCase": 1}
],
"linebreak-style": [
"error",
"unix"
],
"quotes": 0,
"semi": [
"error",
"always"
],
"no-unused-vars":1,
"no-empty":0,
"no-undef": ["error"],
"no-console":0,
"semi":1,
"prefer-const": "warn",
//"object-shorthand": ["warn", "always"],
"quotes": ["error", "single"],
"prefer-arrow-callback": ["warn", { "allowNamedFunctions": true }],
"no-trailing-spaces":["error"],
"callback-return":["warn"]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment