Skip to content

Instantly share code, notes, and snippets.

@code-warrior
Last active March 11, 2020 18:29
Show Gist options
  • Save code-warrior/c6f1b02730b6a7d08c241f5bf1b62258 to your computer and use it in GitHub Desktop.
Save code-warrior/c6f1b02730b6a7d08c241f5bf1b62258 to your computer and use it in GitHub Desktop.
ESLint settings
{
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"no-console": 0,
"no-debugger": 0,
"indent": [
2,
4,
{"SwitchCase": 1}
],
"quotes": [
2,
"backtick"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"max-len": [
2,
85,
4
]
},
"env": {
"es6": true,
"node": true,
"browser": true,
"jquery": true
},
"extends": "eslint:recommended"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment