Gathering detailed insights and metrics for eslint-config-airbnb-base
Gathering detailed insights and metrics for eslint-config-airbnb-base
Gathering detailed insights and metrics for eslint-config-airbnb-base
Gathering detailed insights and metrics for eslint-config-airbnb-base
eslint-config-standard-airbnb-base
standard + airbnb
eslint-config-airbnb-extended
Eslint Airbnb Config Extended
@nice-move/eslint-config-base
A `eslint` config for best practice
eslint-config-airbnb-base-typescript-prettier
Airbnb's *base* ESLint config with TypeScript and Prettier support
npm install eslint-config-airbnb-base
Typescript
Module System
Min. Node Version
Node Version
NPM Version
87.3
Supply Chain
92.3
Quality
78.5
Maintenance
100
Vulnerability
96.4
License
JavaScript (100%)
Total Downloads
1,641,148,187
Last Day
349,891
Last Week
6,558,294
Last Month
28,684,304
Last Year
338,780,338
MIT License
146,993 Stars
1,983 Commits
26,769 Forks
3,725 Watchers
5 Branches
514 Contributors
Updated on Jul 01, 2025
Minified
Minified + Gzipped
Latest Version
15.0.0
Package Id
eslint-config-airbnb-base@15.0.0
Unpacked Size
91.82 kB
Size
23.61 kB
File Count
21
NPM Version
8.1.0
Node Version
17.0.1
Published on
Nov 09, 2021
Cumulative downloads
Total Downloads
Last Day
-0.2%
349,891
Compared to previous day
Last Week
-10.1%
6,558,294
Compared to previous week
Last Month
0.5%
28,684,304
Compared to previous month
Last Year
3.1%
338,780,338
Compared to previous year
This package provides Airbnb's base JS .eslintrc (without React plugins) as an extensible shared config.
We export two ESLint configurations for your usage.
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint
and eslint-plugin-import
.
1npm info "eslint-config-airbnb-base@latest" peerDependencies
If using npm 5+, use this shortcut
1npx install-peerdeps --dev eslint-config-airbnb-base
If using yarn, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly.
Otherwise, run npm info "eslint-config-airbnb-base@latest" peerDependencies
to list the peer dependencies and versions, then run yarn add --dev <dependency>@<version>
for each listed peer dependency.
If using npm < 5, Linux/OSX users can run
1( 2 export PKG=eslint-config-airbnb-base; 3 npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest" 4)
Which produces and runs a command like:
1 npm install --save-dev eslint-config-airbnb-base eslint@^#.#.# eslint-plugin-import@^#.#.#
If using npm < 5, Windows users can either install all the peer dependencies manually, or use the install-peerdeps cli tool.
1npm install -g install-peerdeps 2install-peerdeps --dev eslint-config-airbnb-base
The cli will produce and run a command like:
1npm install --save-dev eslint-config-airbnb-base eslint@^#.#.# eslint-plugin-import@^#.#.#
"extends": "airbnb-base"
to your .eslintrc.Lints ES5 and below. Requires eslint
and eslint-plugin-import
.
1npm info "eslint-config-airbnb-base@latest" peerDependencies
Linux/OSX users can run
1( 2 export PKG=eslint-config-airbnb-base; 3 npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG" 4)
Which produces and runs a command like:
1npm install --save-dev eslint-config-airbnb-base eslint@^#.#.# eslint-plugin-import@^#.#.#
"extends": "airbnb-base/legacy"
to your .eslintrcSee Airbnb's overarching ESLint config, Airbnb's JavaScript styleguide, and the ESlint config docs for more information.
This entry point only errors on whitespace rules and sets all other rules to warnings. View the list of whitespace rules here.
Consider adding test cases if you're making complicated rules changes, like anything involving regexes. Perhaps in a distant future, we could use literate programming to structure our README as test cases for our .eslintrc?
You can run tests with npm test
.
You can make sure this module lints with itself using npm run lint
.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
Reason
0 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 4
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More