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 May 4, 2024 via pnpm

eslint-config-airbnb 19.0.4

Airbnb's ESLint config, following our styleguide
Package summary
Share
2
issues
1
moderate severity
license
1
1
low severity
license
1
9
licenses
195
MIT
15
ISC
7
Apache-2.0
13
other licenses
BSD-2-Clause
7
BSD-3-Clause
2
Python-2.0
1
MPL-2.0
1
+ 2 more
Package created
22 May 2015
Version published
25 Dec 2021
Maintainers
5
Total deps
230
Direct deps
8
License
MIT

Issues

2

1 moderate severity issue

moderate
Recommendation: Validate that the package complies with your license policy
via: eslint-plugin-jsx-a11y@6.8.0
Collapse
Expand

1 low severity issue

low
Recommendation: Read and validate the license terms
via: eslint-plugin-jsx-a11y@6.8.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
195 Packages, Including:
@babel/runtime@7.24.5
@eslint-community/eslint-utils@4.4.0
@eslint-community/regexpp@4.10.0
@eslint/eslintrc@2.1.4
@eslint/js@8.57.0
@nodelib/fs.scandir@2.1.5
@nodelib/fs.stat@2.0.5
@nodelib/fs.walk@1.2.8
@types/json5@0.0.29
acorn-jsx@5.3.2
acorn@8.11.3
ajv@6.12.6
ansi-regex@5.0.1
ansi-styles@4.3.0
array-buffer-byte-length@1.0.1
array-includes@3.1.8
array.prototype.findlast@1.2.5
array.prototype.findlastindex@1.2.5
array.prototype.flat@1.3.2
array.prototype.flatmap@1.3.2
array.prototype.toreversed@1.1.2
array.prototype.tosorted@1.1.3
arraybuffer.prototype.slice@1.0.3
ast-types-flow@0.0.8
available-typed-arrays@1.0.7
balanced-match@1.0.2
brace-expansion@1.1.11
call-bind@1.0.7
callsites@3.1.0
chalk@4.1.2
color-convert@2.0.1
color-name@1.1.4
concat-map@0.0.1
confusing-browser-globals@1.0.11
cross-spawn@7.0.3
data-view-buffer@1.0.1
data-view-byte-length@1.0.1
data-view-byte-offset@1.0.0
debug@3.2.7
debug@4.3.4
deep-is@0.1.4
define-data-property@1.1.4
define-properties@1.2.1
dequal@2.0.3
emoji-regex@9.2.2
es-abstract@1.23.3
es-define-property@1.0.0
es-errors@1.3.0
es-iterator-helpers@1.0.19
es-object-atoms@1.0.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
15 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
semver@6.3.1
which@2.0.2
wrappy@1.0.2

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
7 Packages, Including:
@humanwhocodes/config-array@0.11.14
@humanwhocodes/module-importer@1.0.1
aria-query@5.3.0
axobject-query@3.2.1
doctrine@2.1.0
doctrine@3.0.0
eslint-visitor-keys@3.4.3

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
7 Packages, Including:
damerau-levenshtein@1.0.8
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

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

Mozilla Public License 2.0

Weakly Protective
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
place-warranty
use-patent-claims
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
disclose-source
include-original
1 Packages, Including:
axe-core@4.7.0

Creative Commons Zero v1.0 Universal

Public Domain
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
language-subtag-registry@0.3.22

(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

8
All Dependencies CSV
β“˜ This is a list of eslint-config-airbnb 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
eslint-config-airbnb-base15.0.023.61 kBMIT
prod
eslint-plugin-import2.29.1343.75 kBMIT
prod peer
eslint-plugin-jsx-a11y6.8.0124.09 kBMIT
prod peer
1
1
eslint-plugin-react-hooks4.6.2114.9 kBMIT
prod peer
eslint-plugin-react7.34.1789.64 kBMIT
prod peer
eslint8.57.02.9 MBMIT
prod peer
object.assign4.1.518.68 kBMIT
prod
object.entries1.1.831.8 kBMIT
prod

Visualizations

Frequently Asked Questions

What does eslint-config-airbnb do?

The eslint-config-airbnb is an npm package that offers Airbnb's .eslintrc configuration as a shareable, extensible configuration. Basically, it provides a set of ESLint rules that follow Airbnb's own coding style guide, including ECMAScript 6+ and React rules. This helps developers maintain quality and consistency in their JavaScript code, making it easier to read, debug and maintain the codebase. The package requires dependencies including eslint, eslint-plugin-import, eslint-plugin-react, eslint-plugin-react-hooks, and eslint-plugin-jsx-a11y.

How do you use eslint-config-airbnb?

To use the eslint-config-airbnb package, it needs to be installed along with its peer dependencies. The installation process varies based on the npm version and operating system you're using. Here's a common way to install using npm version 5 or above:

npx install-peerdeps --dev eslint-config-airbnb

Once installed, the configuration can be extended in your project's ESLint configuration file (.eslintrc). For the default configuration, simply add "extends": "airbnb" to your .eslintrc:

{
  "extends": "airbnb"
}

If you want to enable the linting rules for React Hooks, the configuration can be extended as follows:

{
  "extends": ["airbnb", "airbnb/hooks"]
}

The package also offers other configurations like eslint-config-airbnb/whitespace for linting whitespace rules and eslint-config-airbnb/base for cases where React is not needed.

Where are the eslint-config-airbnb docs?

The official documentation of eslint-config-airbnb, including the usage instructions, linting rules, and other details can be found in the README file of the GitHub repository at https://github.com/airbnb/javascript. You can also refer to Airbnb's JavaScript style guide at https://github.com/airbnb/javascript and the ESLint config docs at https://eslint.org/docs/user-guide/configuring#extending-configuration-files for additional information and usage guidelines.