Gathering detailed insights and metrics for eslint-plugin-builtin-compat
Gathering detailed insights and metrics for eslint-plugin-builtin-compat
Gathering detailed insights and metrics for eslint-plugin-builtin-compat
Gathering detailed insights and metrics for eslint-plugin-builtin-compat
npm install eslint-plugin-builtin-compat
Typescript
Module System
Min. Node Version
Node Version
NPM Version
70.7
Supply Chain
85.3
Quality
78.4
Maintenance
50
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
114,786
Last Day
1
Last Week
607
Last Month
3,524
Last Year
46,496
6 Stars
16 Commits
1 Forks
3 Watchers
1 Branches
3 Contributors
Updated on Apr 25, 2024
Minified
Minified + Gzipped
Latest Version
0.0.2
Package Id
eslint-plugin-builtin-compat@0.0.2
Unpacked Size
111.50 kB
Size
32.47 kB
File Count
16
NPM Version
4.6.1
Node Version
8.6.0
Cumulative downloads
Total Downloads
Last Day
-50%
1
Compared to previous day
Last Week
-40.4%
607
Compared to previous week
Last Month
18.1%
3,524
Compared to previous month
Last Year
-1.5%
46,496
Compared to previous year
7
Checks built-in methods compatibility. It uses browser-compat-data to determine incompatible method calls.
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-builtin-compat
:
$ npm install eslint-plugin-builtin-compat --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-builtin-compat
globally.
Add builtin-compat
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
1{ 2 "plugins": ["builtin-compat"] 3}
Then configure the rules you want to use under the rules section.
1{ 2 "rules": { 3 "builtin-compat/no-incompatible-builtins": 2 4 } 5}
You can ignore certain built-ins, usually after adding a polyfill:
1{ 2 "settings": { 3 "builtin-compat-ignore": ["assign", "startsWith"] 4 } 5}
Configure supported browsers in package.json
(see browserslist):
1{ 2 "browserslist": ["last 1 versions", "not ie <= 8"] 3}
Contributions are welcome! Just open an issues with any idea or pull-request if it is no-brainer. Make sure all tests and linting rules pass.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
48 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
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