-
-
Save knbknb/324e12b93ffb0918c5b0234c31bce85c to your computer and use it in GitHub Desktop.
.eslintrc.json file for "Building a JavaScript Development" Pluralsight course
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"root": true, | |
"extends": [ | |
"eslint:recommended", | |
"plugin:import/errors", | |
"plugin:import/warnings" | |
], | |
"parserOptions": { | |
"ecmaVersion": 7, | |
"sourceType": "module" | |
}, | |
"env": { | |
"browser": true, | |
"node": true, | |
"mocha": true | |
}, | |
"rules": { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"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 incorrectimport
statements