Skip to content

Instantly share code, notes, and snippets.

@carloscabo
Created August 22, 2017 13:42
Show Gist options
  • Save carloscabo/47ee19754d7d287ab787816a4526afbc to your computer and use it in GitHub Desktop.
Save carloscabo/47ee19754d7d287ab787816a4526afbc to your computer and use it in GitHub Desktop.
VSCode default .eslintrc
{
"env": {
"browser": true,
"es6": true,
"jquery": true
},
"globals": {
"CEP": true,
"MQBE": true,
"Swiper": true,
"addRemoveClassPrefix": true,
"ViewportManager": true,
"debounce": true,
"Bideo": true,
"AmCharts": true,
"dataLayer": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"constructor-super": "warn",
"valid-typeof": "warn"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment