Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 15, 2024 via pnpm

@eslint/eslintrc 2.1.4

The legacy ESLintRC config file format for ESLint
Package summary
Share
0
issues
6
licenses
21
MIT
2
BSD-2-Clause
1
Python-2.0
3
other licenses
Apache-2.0
1
ISC
1
(MIT OR CC0-1.0)
1
Package created
24 Aug 2020
Version published
1 Dec 2023
Maintainers
2
Total deps
27
Direct deps
9
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
21 Packages, Including:
@eslint/eslintrc@2.1.4
acorn-jsx@5.3.2
acorn@8.11.3
ajv@6.12.6
balanced-match@1.0.2
brace-expansion@1.1.11
callsites@3.1.0
concat-map@0.0.1
debug@4.3.4
fast-deep-equal@3.1.3
fast-json-stable-stringify@2.1.0
globals@13.24.0
ignore@5.3.1
import-fresh@3.3.0
js-yaml@4.1.0
json-schema-traverse@0.4.1
ms@2.1.2
parent-module@1.0.1
punycode@2.3.1
resolve-from@4.0.0
strip-json-comments@3.1.1

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
espree@9.6.1
uri-js@4.4.1

Python License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
state-changes
1 Packages, Including:
argparse@2.0.1

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
1 Packages, Including:
eslint-visitor-keys@3.4.3

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
minimatch@3.1.2

(MIT OR CC0-1.0)

Public Domain
1 Packages, Including:
type-fest@0.20.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

9
All Dependencies CSV
β“˜ This is a list of @eslint/eslintrc 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
ajv6.12.6197.63 kBMIT
prod
debug4.3.412.94 kBMIT
prod
espree9.6.115.95 kBBSD-2-Clause
prod
globals13.24.09.35 kBMIT
prod
ignore5.3.114.1 kBMIT
prod
import-fresh3.3.02.28 kBMIT
prod
js-yaml4.1.099.96 kBMIT
prod
minimatch3.1.211.66 kBISC
prod
strip-json-comments3.1.12.78 kBMIT
prod

Visualizations

Frequently Asked Questions

What does @eslint/eslintrc do?

The "@eslint/eslintrc" is a JavaScript library designed to manage the legacy ESLintRC configuration file format specific to ESLint. This package provides a utility to translate ESLintRC-style configs into flat configs for enabling and managing ESLint rules, where ESLint is a tool to find and fix problems in your JavaScript code. It's important to note that this package is primarily intended for use within the ESLint ecosystem and isn't designed for use in other programs.

How do you use @eslint/eslintrc?

Using "@eslint/eslintrc" requires installation through npm or yarn, then importation into your eslint.config.js file where it can be utilized. The primary class provided by the library is FlatCompat.

Installation can be done using npm:

npm install @eslint/eslintrc --save-dev

Or using yarn:

yarn add @eslint/eslintrc -D

Usage in an eslint.config.js file might look like:

import { FlatCompat } from "@eslint/eslintrc";
import js from "@eslint/js";
import path from "path";
import { fileURLToPath } from "url";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const compat = new FlatCompat({
    baseDirectory: __dirname,
    resolvePluginsRelativeTo: __dirname,
    recommendedConfig: js.configs.recommended,
    allConfig: js.configs.all,
});

export default [
    ...compat.extends("standard", "example"),
    ...compat.env({ es2020: true, node: true }),
    ...compat.plugins("airbnb", "react"),
    ...compat.config({
        plugins: ["airbnb", "react"],
        extends: "standard",
        env: { es2020: true, node: true },
        rules: { semi: "error" }
    })
];

Where are the @eslint/eslintrc docs?

Documentation for "@eslint/eslintrc" is not explicitly mentioned in the README of the package. However, you can refer to the source code and related documentation on the GitHub repository at https://github.com/eslint/eslintrc.git. Keep in mind that the package is frozen and open only for critical bug fixes as ESLint moves to a new config system. Thus, extensive documentation might not be available or maintained.