Skip to content

Instantly share code, notes, and snippets.

@wehrhaus
Created April 14, 2016 14:39
Show Gist options
  • Save wehrhaus/ff0f6d33fec43091ea0e296ed12e21dd to your computer and use it in GitHub Desktop.
Save wehrhaus/ff0f6d33fec43091ea0e296ed12e21dd to your computer and use it in GitHub Desktop.
ES5 Linting
module.exports = {
"env": {
"browser": true
},
"extends": "eslint:recommended",
"globals": {
"angular": true,
"console": true,
"Core": true
},
"rules": {
"indent": [
"error",
4,
{ "indentSwitchCase": true }
],
"linebreak-style": [
"error",
"unix"
],
"no-console": 0,
"no-debugger": 0,
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment