Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gobble-jscs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gobble-jscs

Check JavaScript files with gobble and jscs

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

gobble-jscs

Check JavaScript files with gobble and jscs.

Installation

npm install gobble-jscs

Usage

gobble('src/js').observe( 'jscs', {
	// string, array, or RegExp
	accept: '.js',
	
	// if `true`, errors will not cause the whole build to fail
	reportOnly: false,

	// custom reporter
	reporter: function (results) {
		// `results` is an array of { file, filePath, errors } objects
	},

	// all other options are jscs options
});

If no jscs options are supplied with the second argument, gobble-jscs will use the nearest .jscsrc file instead (recommended). See the jscs website for documentation on the options you can specify.

License

MIT. Copyright (c) 2015 Martin Kolárik.

Keywords

FAQs

Package last updated on 09 Jun 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