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

@eslint/eslintrc

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint/eslintrc - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

6

lib/flat-compat.js

@@ -276,3 +276,3 @@ /**

* @param {Object} envConfig The `env` section of an ESLintRC config.
* @returns {Object} A flag-config object representing the environments.
* @returns {Object[]} An array of flag-config objects representing the environments.
*/

@@ -288,3 +288,3 @@ env(envConfig) {

* @param {...string} configsToExtend The names of the configs to load.
* @returns {Object} A flag-config object representing the config.
* @returns {Object[]} An array of flag-config objects representing the config.
*/

@@ -300,3 +300,3 @@ extends(...configsToExtend) {

* @param {...string} plugins The names of the plugins to load.
* @returns {Object} A flag-config object representing the plugins.
* @returns {Object[]} An array of flag-config objects representing the plugins.
*/

@@ -303,0 +303,0 @@ plugins(...plugins) {

{
"name": "@eslint/eslintrc",
"version": "1.4.0",
"version": "1.4.1",
"description": "The legacy ESLintRC config file format for ESLint",

@@ -5,0 +5,0 @@ "type": "module",

@@ -40,6 +40,6 @@ # ESLintRC Library

// mimic ESLintRC-style extends
compat.extends("standard", "example"),
...compat.extends("standard", "example"),
// mimic environments
compat.env({
...compat.env({
es2020: true,

@@ -50,6 +50,6 @@ node: true

// mimic plugins
compat.plugins("airbnb", "react"),
...compat.plugins("airbnb", "react"),
// translate an entire config
compat.config({
...compat.config({
plugins: ["airbnb", "react"],

@@ -56,0 +56,0 @@ extends: "standard",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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