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

eslint-plugin-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-wrapper - npm Package Compare versions

Comparing version 0.0.3-0 to 0.0.3

5

index.js

@@ -240,5 +240,4 @@ class EslintPluginWrapper {

prefixConfigRule([key, val]) {
const matchingPlugin = Object.keys(this.plugins).find(name =>
key.startsWith(`${name}/`),
)
const plugins = Object.keys(this.plugins)
const matchingPlugin = plugins.find(name => key.startsWith(`${name}/`))
return matchingPlugin ? [`${this.pluginName}/${key}`, val] : [key, val]

@@ -245,0 +244,0 @@ }

2

package.json
{
"name": "eslint-plugin-wrapper",
"version": "0.0.3-0",
"version": "0.0.3",
"description": "Write project-specific rules, in your own eslint config file",

@@ -5,0 +5,0 @@ "main": "index.js",

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