New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

.eslintrc

4

Brocfile.js

@@ -6,3 +6,2 @@ var eslint = require('./lib/index'),

var plugin = eslint('lib', {
config: './eslint.json'
});

@@ -12,4 +11,3 @@

var test = eslint('test', {
config: './conf/eslint.json',
rulesdir: './conf/rules',
rulePaths: ['conf/rules'],
format: 'eslint/lib/formatters/compact'

@@ -16,0 +14,0 @@ });

@@ -35,2 +35,3 @@ var Filter = require('broccoli-filter'),

'use strict';
var config = {};

@@ -51,7 +52,10 @@ if (!(this instanceof EslintValidationFilter)) {

this.cli = new CLIEngine({
configFile: options.config || './node_modules/eslint/conf/eslint.json',
rulePaths: options.rulesdir ? [options.rulesdir] : []
});
config.rulePaths = options.rulesdir ? [options.rulesdir] : [];
if ('config' in options) {
config.rulePaths = options.config;
}
this.cli = new CLIEngine(options);
this.testGenerator = options.testGenerator;

@@ -58,0 +62,0 @@ if (this.testGenerator) {

{
"name": "broccoli-lint-eslint",
"version": "0.1.1",
"version": "0.1.2",
"description": "broccoli filter that runs eslint",

@@ -31,3 +31,3 @@ "main": "lib/index.js",

"broccoli-filter": "^0.1.12",
"eslint": "^0.18.0"
"eslint": "^0.19.0"
},

@@ -34,0 +34,0 @@ "devDependencies": {

@@ -63,3 +63,3 @@ # [broccoli](https://github.com/joliss/broccoli)-lint-eslint

- relativePath - The relative path to the file being tested.
- errors - A generated string of errors found.
- errors - An array of eslint error objects found.

@@ -66,0 +66,0 @@ Example usage:

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