New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jscsrc-guesser

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscsrc-guesser

Determine the JSCS ruleset some code currently follows

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-50%
Maintainers
2
Weekly downloads
 
Created
Source

jscsrc-guesser – JSCS configuration guesser

jscsrc-guesser is a tool that checks some code base and finds those JSCS rules the code base follows.

Installation

$ npm install -g jscsrc-guesser

Usage

Just run jscsrc-guesser with your code path(s) as argument(s):

$ jscsrc-guesser bin/ lib/ tests/ > autogenerated.jscsrc

You can also pass some optional arguments you could pass to jscs:

$ jscsrc-guesser --esnext index.js > autogenerated.jscsrc

Changelog

0.1.1 (2015-04-25)

  • Fix JSCS invocation
  • Show errors emitted by JSCS
  • Add JSCS check to npm test pipeline

0.1.0 (2015-04-22)

  • Initial version.

Todo

Fixes

  • Handle all different possible values for all rules
  • Don't put opposing rules in jscsrc just because they didn't fail
  • Fold multi-value options back to true

Features

  • Compare to presets or existing jscsrc
  • Sort rules in output alphabetically
  • Add i18n
  • Check which rules checked successfully instead of which rules didn't fail
  • Handle rules which failed rarely (for example by interactively proposing to add them to the output)

License

AGPL

Keywords

FAQs

Package last updated on 25 Apr 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc