Skip to content

Instantly share code, notes, and snippets.

@snrbrnjna
Created March 22, 2016 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snrbrnjna/9c3fb0373a736d54d4b1 to your computer and use it in GitHub Desktop.
Save snrbrnjna/9c3fb0373a736d54d4b1 to your computer and use it in GitHub Desktop.
es6 style
{
"globals": {
"log": false
},
"rules": {
"indent": [
2,
2,
{"VariableDeclarator": { "var": 2, "let": 2, "const": 3}}
],
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"no-console": [
1,
{
allow: ["warn", "error"]
}
],
"semi": [
2,
"always"
],
"no-unused-vars": [
2,
{
"vars": "local", "args": "none"
}
]
},
"env": {
"es6": true,
"node": true,
"browser": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": "eslint:recommended"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment