Skip to content

Instantly share code, notes, and snippets.

@jayperryworks
Created March 2, 2021 19:14
Show Gist options
  • Save jayperryworks/9181de20ca50196bcae768e324c3344c to your computer and use it in GitHub Desktop.
Save jayperryworks/9181de20ca50196bcae768e324c3344c to your computer and use it in GitHub Desktop.
ESLint config with standard syntax, tabs, & my preferences
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"standard"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"no-tabs": 0,
"indent": ["error", "tab", { "ignoredNodes": ["TemplateLiteral *"] }]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment