Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 7, 2024 via pnpm

eslint 8.56.0

An AST-based pattern checker for JavaScript.
Package summary
Share
0
issues
7
licenses
71
MIT
14
ISC
6
BSD-2-Clause
8
other licenses
Apache-2.0
4
BSD-3-Clause
2
Python-2.0
1
(MIT OR CC0-1.0)
1
Package created
4 Jul 2013
Version published
15 Dec 2023
Maintainers
4
Total deps
99
Direct deps
38
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
71 Packages, Including:
@eslint-community/eslint-utils@4.4.0
@eslint-community/regexpp@4.10.0
@eslint/eslintrc@2.1.4
@eslint/js@8.56.0
@nodelib/fs.scandir@2.1.5
@nodelib/fs.stat@2.0.5
@nodelib/fs.walk@1.2.8
acorn-jsx@5.3.2
acorn@8.11.3
ajv@6.12.6
ansi-regex@5.0.1
ansi-styles@4.3.0
balanced-match@1.0.2
brace-expansion@1.1.11
callsites@3.1.0
chalk@4.1.2
color-convert@2.0.1
color-name@1.1.4
concat-map@0.0.1
cross-spawn@7.0.3
debug@4.3.4
deep-is@0.1.4
escape-string-regexp@4.0.0
eslint@8.56.0
fast-deep-equal@3.1.3
fast-json-stable-stringify@2.1.0
fast-levenshtein@2.0.6
file-entry-cache@6.0.1
find-up@5.0.0
flat-cache@3.2.0
globals@13.24.0
graphemer@1.4.0
has-flag@4.0.0
ignore@5.3.1
import-fresh@3.3.0
imurmurhash@0.1.4
is-extglob@2.1.1
is-glob@4.0.3
is-path-inside@3.0.3
js-yaml@4.1.0
json-buffer@3.0.1
json-schema-traverse@0.4.1
json-stable-stringify-without-jsonify@1.0.1
keyv@4.5.4
levn@0.4.1
locate-path@6.0.0
lodash.merge@4.6.2
ms@2.1.2
natural-compare@1.4.0
optionator@0.9.4

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
14 Packages, Including:
@ungap/structured-clone@1.2.0
fastq@1.17.1
flatted@3.3.1
fs.realpath@1.0.0
glob-parent@6.0.2
glob@7.2.3
inflight@1.0.6
inherits@2.0.4
isexe@2.0.0
minimatch@3.1.2
once@1.4.0
rimraf@3.0.2
which@2.0.2
wrappy@1.0.2

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
6 Packages, Including:
eslint-scope@7.2.2
espree@9.6.1
esrecurse@4.3.0
estraverse@5.3.0
esutils@2.0.3
uri-js@4.4.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
4 Packages, Including:
@humanwhocodes/config-array@0.11.14
@humanwhocodes/module-importer@1.0.1
doctrine@3.0.0
eslint-visitor-keys@3.4.3

BSD 3-Clause "New" or "Revised" 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
use-trademark
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
@humanwhocodes/object-schema@2.0.3
esquery@1.5.0

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

(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

38
All Dependencies CSV
β“˜ This is a list of eslint 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@eslint-community/eslint-utils4.4.062.2 kBMIT
prod
@eslint-community/regexpp4.10.065.3 kBMIT
prod
@eslint/eslintrc2.1.4123.27 kBMIT
prod
@eslint/js8.56.03.69 kBMIT
prod
@humanwhocodes/config-array0.11.1414.84 kBApache-2.0
prod
@humanwhocodes/module-importer1.0.16.92 kBApache-2.0
prod
@nodelib/fs.walk1.2.87.19 kBMIT
prod
@ungap/structured-clone1.2.06.89 kBISC
prod
ajv6.12.6197.63 kBMIT
prod
chalk4.1.211.31 kBMIT
prod
cross-spawn7.0.37.3 kBMIT
prod
debug4.3.412.94 kBMIT
prod
doctrine3.0.021.83 kBApache-2.0
prod
escape-string-regexp4.0.01.97 kBMIT
prod
eslint-scope7.2.225.33 kBBSD-2-Clause
prod
eslint-visitor-keys3.4.37.92 kBApache-2.0
prod
espree9.6.115.95 kBBSD-2-Clause
prod
esquery1.5.0155.76 kBBSD-3-Clause
prod
esutils2.0.39.32 kBBSD-2-Clause
prod
fast-deep-equal3.1.33.57 kBMIT
prod
file-entry-cache6.0.17.61 kBMIT
prod
find-up5.0.03.72 kBMIT
prod
glob-parent6.0.23.37 kBISC
prod
globals13.24.09.35 kBMIT
prod
graphemer1.4.057.01 kBMIT
prod
ignore5.3.114.1 kBMIT
prod
imurmurhash0.1.44.21 kBMIT
prod
is-glob4.0.34.16 kBMIT
prod
is-path-inside3.0.31.95 kBMIT
prod
js-yaml4.1.099.96 kBMIT
prod
json-stable-stringify-without-jsonify1.0.14.51 kBMIT
prod
levn0.4.17.29 kBMIT
prod
lodash.merge4.6.212.77 kBMIT
prod
minimatch3.1.211.66 kBISC
prod
natural-compare1.4.02.45 kBMIT
prod
optionator0.9.448.98 kBMIT
prod
strip-ansi6.0.11.99 kBMIT
prod
text-table0.2.03.81 kBMIT
prod

Visualizations

Frequently Asked Questions

What does eslint do?

ESLint is a highly versatile tool that helps developers identify and report on patterns found in ECMAScript or JavaScript code. Similar to JSLint and JSHint, it improves the quality of your code by checking for common coding errors and enforcing your desired coding conventions. ESLint is distinguished by its complete pluggability, meaning every rule is a plugin that can be adjusted or extended.

How do you use eslint?

To use ESLint, you need to first install it in your project. The GitHub readme provides a straightforward guide on how to do this. You can install ESLint to your project by running the command npm init @eslint/config in your terminal.

After successfully installing ESLint, you can run it on any file or directory in your project with the following command: ./node_modules/.bin/eslint yourfile.js.

ESLint also allows you to configure the rules that it enforces. This is achieved by editing the .eslintrc file in your directory. Here's an example of how such configuration might look:

{
    "rules": {
        "semi": ["error", "always"],
        "quotes": ["error", "double"]
    }
}

In this particular example, two rules are declared: The "semi" rule, which enforces the use of semicolons at the end of statements, and the "quotes" rule, which enforces the use of double quotes for string literals.

Where are the eslint docs?

You can find exhaustive documentation on how to use and configure ESLint at https://eslint.org. It includes a detailed user guide that explains how to install, configure, and use ESLint. The documentation also includes practical examples that demonstrate the different ways to use ESLint, as well as a comprehensive list of available rules that you can use to customize how ESLint works in your project.