Skip to content

Instantly share code, notes, and snippets.

@null4bl3
Created January 31, 2018 15:59
Show Gist options
  • Save null4bl3/a9b8469390d16ea0b8a26f4540a21ed5 to your computer and use it in GitHub Desktop.
Save null4bl3/a9b8469390d16ea0b8a26f4540a21ed5 to your computer and use it in GitHub Desktop.
{
"env": {
"node": true,
"es6": true
},
"rules": {
"semi": 2,
"indent": ["error", 2],
"arrow-body-style": [ ERROR, "always" ],
"arrow-parens": [ ERROR, "always" ],
"arrow-spacing": [ ERROR, { "before": true, "after": true }],
"constructor-super": ERROR,
"no-arrow-condition": ERROR,
"no-class-assign": ERROR,
"no-const-assign": ERROR,
"no-dupe-class-members": ERROR,
"no-this-before-super": ERROR,
"no-var": WARN,
"object-shorthand": [ WARN, "never" ],
"prefer-arrow-callback": WARN,
"prefer-spread": WARN,
"require-yield": ERROR
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment