Last active
October 27, 2020 19:47
-
-
Save bino-faata/0caad58e718c12a27177249ab2ec94fe to your computer and use it in GitHub Desktop.
NPM, vscode, eslint, etc settings
This file contains 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
npm init -y | |
npm i -D eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard | |
Create .eslintrc.js: | |
module.exports = { | |
"extends": "standard" | |
}; | |
In VS Code, Ctrl + Shift + X | |
Search ESLint | |
Install ESLint | |
Restart VS Code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Eslint AirBnB
Create .eslintrc.js:
In VS Code, Ctrl + Shift + X
Search ESLint
Install ESLint
Restart VS Code