Skip to content

Instantly share code, notes, and snippets.

@aiyogg
Created January 15, 2018 05:59
Show Gist options
  • Save aiyogg/b35a4bb2c56efb5ecac5e01221f83d27 to your computer and use it in GitHub Desktop.
Save aiyogg/b35a4bb2c56efb5ecac5e01221f83d27 to your computer and use it in GitHub Desktop.
ESLint global configure
{
"extends": "standard",
"plugins": [
"standard",
"promise"
],
"env": {
"node": true,
"mocha": true,
"es6": true,
"browser": true,
"jquery": true
},
"rules": {
"indent": 0,
"semi": "off",
"eqeqeq": "warn",
"quotes":"warn",
"camelcase":"off",
"one-var":"warn",
"comma-spacing":"warn",
"new-cap":"warn",
"space-before-function-paren":"off",
"spaced-comment":"warn",
"no-unused-vars":"warn",
"promise/param-names":"off"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment