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

@beemo/driver-eslint

Package Overview
Dependencies
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beemo/driver-eslint - npm Package Compare versions

Comparing version 0.10.1 to 0.11.0

10

lib/ESLintDriver.js

@@ -60,3 +60,7 @@ 'use strict';

return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = ESLintDriver.__proto__ || Object.getPrototypeOf(ESLintDriver)).call.apply(_ref, [this].concat(args))), _this), _this.handleCreateIgnoreFile = function (event, configPath, config) {
if (Array.isArray(config.ignore)) {
if (config.ignore) {
if (!Array.isArray(config.ignore)) {
throw new TypeError('Ignore configuration must be an array of strings.');
}
var ignorePath = _path2.default.join(_path2.default.dirname(configPath), '.eslintignore');

@@ -81,3 +85,5 @@

title: 'ESLint'
}).on('eslint.create-config-file', this.handleCreateIgnoreFile);
});
this.on('eslint.create-config-file', this.handleCreateIgnoreFile);
}

@@ -84,0 +90,0 @@ }, {

8

package.json
{
"name": "@beemo/driver-eslint",
"version": "0.10.1",
"version": "0.11.0",
"description": "ESLint driver for Beemo.",

@@ -14,5 +14,2 @@ "keywords": [

"main": "./lib/index.js",
"scripts": {
"build": "build-lib"
},
"engines": {

@@ -27,9 +24,8 @@ "node": ">=6.5.0"

"devDependencies": {
"@milesj/build-tool-config": "0.50.0",
"eslint": "^4.17.0"
},
"peerDependencies": {
"@beemo/core": "^0.10.1",
"@beemo/core": "^0.11.0",
"eslint": "^4.10.0"
}
}

@@ -6,3 +6,2 @@ # ESLint Driver

## Installation

@@ -18,4 +17,4 @@

In your configuration module, install the driver, ESLint, and any plugins. Create a
file at `configs/eslint.js` in which to house your ESLint configuration.
In your configuration module, install the driver, ESLint, and any plugins. Create a file at
`configs/eslint.js` in which to house your ESLint configuration.

@@ -45,7 +44,3 @@ In your consuming project, enable the driver by adding `eslint` to your `drivers` config.

// ...
ignore: [
'lib/',
'*.min.js',
'*.map',
],
ignore: ['lib/', '*.min.js', '*.map'],
};

@@ -52,0 +47,0 @@ ```

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