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

broccoli-lint-eslint

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-lint-eslint

broccoli filter that runs eslint

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24K
increased by14.98%
Maintainers
1
Weekly downloads
 
Created
Source

broccoli-lint-eslint

Lint JavaScript using Eslint

This is a fork of makepanic/broccoli-eslint used to add new features and keep up to date with the latest ESLint. This fork may go away however it will track any API changes made to it's fork as long as possible. Most of the test setup and the build configuration is based on sindresorhus/grunt-eslint. The internal validation is heavily inspired by eslint cli.js

Install

npm install --save broccoli-lint-eslint

Example

Note: The API will change in subsequent 0.x versions.

var eslint = require('broccoli-lint-eslint');
tree = eslint(tree, options);

API

eslint(tree, options, internalOptions)

options
config

Type: String Default: ./eslint.json

Path to eslint configuration file.

rulesdir

Type: String Default: built-in rules directory

Path to a directory with custom rules. Your custom rules will be used in addition to the built-in ones.

Recommended read: Working with Rules

format

Type: String Default: 'eslint/lib/formatters/stylish'

Path path to a custom formatter (See eslint/tree/master/lib/formatters for alternatives).

internalOptions
throwOnError

Type: Boolean

Cause exception error on first severe error

Keywords

FAQs

Package last updated on 29 Mar 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