Skip to content

Instantly share code, notes, and snippets.

@tsongas
Last active October 27, 2018 23:14
Show Gist options
  • Save tsongas/f6f5dd7c965d0c31ef4f9db52a1b833d to your computer and use it in GitHub Desktop.
Save tsongas/f6f5dd7c965d0c31ef4f9db52a1b833d to your computer and use it in GitHub Desktop.
VS Code ESLint Config
{
"env": {
"es6": true,
"node": true
},
"plugins": [
"mocha"
],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-const-assign": 1,
"no-extra-semi": 1,
"semi": 1,
"no-fallthrough": 0,
"no-empty": 0,
"no-mixed-spaces-and-tabs": 1,
"no-redeclare": 1,
"no-this-before-super": 1,
"no-undef": 1,
"no-unreachable": 1,
"no-unused-vars": 1,
"no-use-before-define": 1,
"constructor-super": 1,
"curly": 0,
"eqeqeq": 0,
"func-names": 0,
"valid-typeof": 1,
"mocha/no-exclusive-tests": "error"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment