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

eslint-plugin-escompat

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-escompat - npm Package Compare versions

Comparing version 2.2.0 to 3.0.0

4

lib/index.js

@@ -66,8 +66,6 @@ const path = require('path')

const v2breakingRules = new Set(['no-nullish-coalescing', 'no-bigint', 'no-regexp-lookbehind', 'no-regexp-named-groups'])
module.exports.configs.recommended = {
plugins: ['escompat'],
parserOptions: { ecmaVersion: 2020 },
rules: Object.keys(module.exports.rules).filter(rule => !v2breakingRules.has(rule)).reduce((o, r) => (o['escompat/' + r] = ['error'], o), {})
rules: Object.keys(module.exports.rules).reduce((o, r) => (o['escompat/' + r] = ['error'], o), {})
}
{
"name": "eslint-plugin-escompat",
"version": "2.2.0",
"version": "3.0.0",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [],

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