Socket
Socket
Sign inDemoInstall

jscs

Package Overview
Dependencies
256
Maintainers
5
Versions
95
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    jscs

JavaScript Code Style


Version published
Weekly downloads
65K
decreased by-1.42%
Maintainers
5
Install size
27.5 MB
Created
Weekly downloads
 

Changelog

Source

Version 2.2.0 (09-28-2015):

Again, it's been way too long since the last version; we're going to be releasing more often in the future!

In this release, we have a nicer homepage, 5 new rules, 4 more autofixable rules, many new rule options/bug fixes, and a jscs-jsdoc@1.2.0 update.

We also added support for using YAML in config files, checking JS style in HTML files, and are trying out some non-stylistic rules (like disallowUnusedParams)!

Be on the look out for https://github.com/cst/cst (just finished ES6 support this weekend) if you haven't already.

Autofixing: Support for 4 more rules!

Thanks to @markelog, we also have autofix support for the following rules:

We will also be labeling which rules don't support autofixing (only a few).

Configuration: YAML support, and linting JS in HTML files

We weren't even thinking about different config formats, but @ronkorving stepped in and added support for using YAML as a config format!

So now you can use a .jscsrc / jscs.json (JSON) file or a .jscs.yaml (YAML) file.

@lahmatiy has landed support for linting javascript in HTML files with the extract option! Thanks so much for sticking with us for that PR.

Example usage:

jscs ./hello.html --extract *.html

New Rules

Readme

Source

Build Status Coverage Status

Dependency Status devDependency Status Gitter

JSCS — JavaScript Code Style

JSCS is a code style linter for programmatically enforcing your style guide. You can configure JSCS for your project in detail using over 150 validation rules, including presets from popular style guides like jQuery, Airbnb, Google, and more.

More about JSCS
Who uses JSCS?

Keywords

FAQs

Last updated on 28 Sep 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc