- If you haven't already, install Eslint:
npm install eslint --save-dev
. - Install the CSNW Linter:
npm install @csnw/eslint-config-csnw --save-dev
. - Install the "Eslint" VS Code extention (by Dirk Baeumer).
- Create an
.eslintrc
file in the project root (or update the existing one) and add{"extends": "@csnw/eslint-config-csnw"}
. You are free to further define project specific rules and exceptions here. - To enable automatic small fixes on file save, add
"eslint.autoFixOnSave": true
tosettings.json
.
-
Notifications
You must be signed in to change notification settings - Fork 0
julieCSNW/csnw-linter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published