Socket
Socket
Sign inDemoInstall

@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.3.2 to 1.3.3

3

lib/cascading-config-array-factory.js

@@ -253,4 +253,3 @@ /**

rulePaths,
loadRules,
resolver
loadRules
}),

@@ -257,0 +256,0 @@ baseConfigData,

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

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

# ESLintRC Library
This repository contains the legacy ESLintRC configuration file format for ESLint.
This repository contains the legacy ESLintRC configuration file format for ESLint. This package is not intended for use outside of the ESLint ecosystem. It is ESLint-specific and not intended for use in other programs.
**Note:** This package is not intended for use outside of the ESLint ecosystem. It is ESLint-specific and not intended for use in other programs.
**Note:** This package is frozen except for critical bug fixes as ESLint moves to a new config system.

@@ -19,6 +19,4 @@ ## Installation

## Future Usage
## Usage
**Note:** This package is not intended for public use at this time. The following is an example of how it will be used in the future.
The primary class in this package is `FlatCompat`, which is a utility to translate ESLintRC-style configs into flat configs. Here's how you use it inside of your `eslint.config.js` file:

@@ -28,3 +26,9 @@

import { FlatCompat } from "@eslint/eslintrc";
import path from "path";
import { fileURLToPath } from "url";
// mimic CommonJS variables -- not needed if using CommonJS
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({

@@ -31,0 +35,0 @@ baseDirectory: __dirname, // optional; default: process.cwd()

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