Skip to content

Instantly share code, notes, and snippets.

@knbknb
Forked from coryhouse/.eslintrc.json
Created October 5, 2018 20:29
Show Gist options
  • Save knbknb/324e12b93ffb0918c5b0234c31bce85c to your computer and use it in GitHub Desktop.
Save knbknb/324e12b93ffb0918c5b0234c31bce85c to your computer and use it in GitHub Desktop.
.eslintrc.json file for "Building a JavaScript Development" Pluralsight course
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"mocha": true
},
"rules": {
}
}
@knbknb
Copy link
Author

knbknb commented Oct 5, 2018

"root" : added for safety. do not look for more .eslint config files in parent directories

"plugin:import/errors": show errors right away when there are incorrect import statements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment