Skip to content

Instantly share code, notes, and snippets.

@mgussekloo
Last active January 9, 2018 15:31
Show Gist options
  • Save mgussekloo/8f25eeefd15ec58f6564d85abddccaa1 to your computer and use it in GitHub Desktop.
Save mgussekloo/8f25eeefd15ec58f6564d85abddccaa1 to your computer and use it in GitHub Desktop.
My global ES Lint configuration
{
"env": {
"browser": true,
"es6": true,
"node": true,
"jquery": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-eval": "error",
"curly": [
"error",
"all"
],
"brace-style": [
"error",
"1tbs",
{
"allowSingleLine": true
}
],
"camelcase": [
"error",
{
"properties": "never"
}
],
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"semi": [
"error",
"always"
],
"no-unused-vars": [
"error",
{ "argsIgnorePattern": "(^_)|^e$" }
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment