JSCS Support for Visual Studio Code
JSCS support for Visual Studio Code.
Installation and Usage
The JSCS Linter is available in the Visual Studio Code Gallery. To install, press
Extensions: Install Extensions and then search for and select
Install JSCS in your workspace (or globally using the
# install locally to the workspace
npm install jscs
based on the rules you define in a
.jscsrc file or in your settings.
Configuring the JSCS Linter
The best way to configure how the linter flags issues in your code is to create a
.jscsrc file in the
root of your workspace. The VS Code JSCS Linter will look for this file first and if no
.jscsrc file is found
it will look into your custom Settings.
Here are the available settings options:
The JSCS preset to use, possible values:
Disable the JSCS Linter if no
.jscsrc configuration file is found, default is
Set JSCS configuration rules in your settings file directly.
The JSCS Linter is a great way to learn how to create extensions for VS Code.
We also love enhancements and bug fixes! To get started, clone the repo
and check out the README.md
for more details