Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Mar 31, 2024 via pnpm

eslint 4.14.0

An AST-based pattern checker for JavaScript.
Package summary
Share
6
issues
3
high severity
license
2
meta
1
1
moderate severity
vulnerability
1
2
low severity
license
2
7
licenses
99
MIT
19
ISC
8
BSD-2-Clause
8
other licenses
BSD-3-Clause
3
Apache-2.0
2
Apache License, Version 2.0
2
(WTFPL OR MIT)
1
Package created
4 Jul 2013
Version published
23 Dec 2017
Maintainers
4
Total deps
134
Direct deps
37
License
MIT

Issues

6

3 high severity issues

high
Recommendation: Validate that the package complies with your license policy
via: inquirer@3.3.0
Recommendation: Validate that the package complies with your license policy
via: inquirer@3.3.0
via: file-entry-cache@2.0.0
Collapse
Expand

1 moderate severity issue

moderate
Recommendation: Upgrade to version 6.12.3 or later
via: ajv@5.5.2
Collapse
Expand

2 low severity issues

low
Recommendation: Read and validate the license terms
via: inquirer@3.3.0
Recommendation: Read and validate the license terms
via: inquirer@3.3.0
Collapse
Expand

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
99 Packages, Including:
acorn-jsx@3.0.1
acorn@3.3.0
acorn@5.7.4
ajv-keywords@3.5.2
ajv@5.5.2
ajv@6.12.6
ansi-escapes@3.2.0
ansi-regex@2.1.1
ansi-regex@3.0.1
ansi-styles@2.2.1
ansi-styles@3.2.1
argparse@1.0.10
babel-code-frame@6.26.0
balanced-match@1.0.2
brace-expansion@1.1.11
buffer-from@1.1.2
caller-path@0.1.0
callsites@0.2.0
chalk@1.1.3
chalk@2.4.2
chardet@0.4.2
circular-json@0.3.3
cli-cursor@2.1.0
co@4.6.0
color-convert@1.9.3
color-name@1.1.3
concat-map@0.0.1
concat-stream@1.6.2
core-util-is@1.0.3
cross-spawn@5.1.0
debug@3.2.7
deep-is@0.1.4
escape-string-regexp@1.0.5
eslint@4.14.0
external-editor@2.2.0
fast-deep-equal@1.1.0
fast-deep-equal@3.1.3
fast-json-stable-stringify@2.1.0
fast-levenshtein@2.0.6
figures@2.0.0
file-entry-cache@2.0.0
flat-cache@1.3.4
functional-red-black-tree@1.0.1
globals@11.12.0
has-ansi@2.0.0
has-flag@3.0.0
iconv-lite@0.4.24
ignore@3.3.10
imurmurhash@0.1.4
inquirer@3.3.0

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
19 Packages, Including:
cli-width@2.2.1
fs.realpath@1.0.0
glob@7.2.3
graceful-fs@4.2.11
inflight@1.0.6
inherits@2.0.4
is-resolvable@1.1.0
isexe@2.0.0
lru-cache@4.1.5
minimatch@3.1.2
mute-stream@0.0.7
once@1.4.0
pseudomap@1.0.2
rimraf@2.6.3
semver@5.7.2
signal-exit@3.0.7
which@1.3.1
wrappy@1.0.2
yallist@2.1.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
8 Packages, Including:
eslint-scope@3.7.3
espree@3.5.4
esprima@4.0.1
esrecurse@4.3.0
estraverse@4.3.0
estraverse@5.3.0
esutils@2.0.3
uri-js@4.4.1

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
3 Packages, Including:
esquery@1.5.0
sprintf-js@1.0.3
table@4.0.3

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
2 Packages, Including:
doctrine@2.1.0
eslint-visitor-keys@1.3.0

Apache License, Version 2.0

Invalid
Not OSI Approved
2 Packages, Including:
rx-lite-aggregates@4.0.8
rx-lite@4.0.8

(WTFPL OR MIT)

Permissive
1 Packages, Including:
path-is-inside@1.0.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

37
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
ajv5.5.2493.95 kBMIT
prod
1
babel-code-frame6.26.02.86 kBMIT
prod
chalk2.4.29.63 kBMIT
prod
concat-stream1.6.23.72 kBMIT
prod
cross-spawn5.1.05.91 kBMIT
prod
debug3.2.716.48 kBMIT
prod
doctrine2.1.021.74 kBApache-2.0
prod
eslint-scope3.7.315.25 kBBSD-2-Clause
prod
eslint-visitor-keys1.3.07.64 kBApache-2.0
prod
espree3.5.420.32 kBBSD-2-Clause
prod
esquery1.5.0155.76 kBBSD-3-Clause
prod
esutils2.0.39.32 kBBSD-2-Clause
prod
file-entry-cache2.0.05.96 kBMIT
prod
1
functional-red-black-tree1.0.19.86 kBMIT
prod
glob7.2.315.08 kBISC
prod
globals11.12.08.48 kBMIT
prod
ignore3.3.107.74 kBMIT
prod
imurmurhash0.1.44.21 kBMIT
prod
inquirer3.3.017.54 kBMIT
prod
2
2
is-resolvable1.1.02 kBISC
prod
js-yaml3.14.175.07 kBMIT
prod
json-stable-stringify-without-jsonify1.0.14.51 kBMIT
prod
levn0.3.07.78 kBMIT
prod
lodash4.17.21311.49 kBMIT
prod
minimatch3.1.211.66 kBISC
prod
mkdirp0.5.62.95 kBMIT
prod
natural-compare1.4.02.45 kBMIT
prod
optionator0.8.313.72 kBMIT
prod
path-is-inside1.0.21.78 kB(WTFPL OR MIT)
prod
pluralize7.0.05.69 kBMIT
prod
progress2.0.35.86 kBMIT
prod
require-uncached1.0.31.81 kBMIT
prod
semver5.7.217.45 kBISC
prod
strip-ansi4.0.01.61 kBMIT
prod
strip-json-comments2.0.12.22 kBMIT
prod
table4.0.314.95 kBBSD-3-Clause
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.