Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

CSNW/csnw-linter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get Started with VS Code

  • If you haven't already, install Eslint: npm install eslint --save-dev.
  • Install the CSNW Linter using the latest release tag. See tags here.For example: npm install https://github.com/CSNW/csnw-linter.git#v1.0.3.
  • Install the "Eslint" VS Code extension (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 (examples here)
  • To enable automatic small fixes on file save, add "eslint.autoFixOnSave": true to VSCode settings.json.
  • See Also: https://github.com/CSNW/onboarding-standards

About

Linter based on CSNW style guide

Resources

Stars

Watchers

Forks

Packages

No packages published