Gathering detailed insights and metrics for @rollup/plugin-eslint
Gathering detailed insights and metrics for @rollup/plugin-eslint
Gathering detailed insights and metrics for @rollup/plugin-eslint
Gathering detailed insights and metrics for @rollup/plugin-eslint
rollup-plugin-eslint
Verify entry point and all imported files with ESLint
@rbnlffl/rollup-plugin-eslint
Lint your Rollup bundles with ESLint. 🐝
@swissquote/rollup-plugin-eslint
Verify entry point and all imported files with ESLint
eslint-plugin-tree-shaking
Marks all side-effects in module initialization that will interfere with tree-shaking
npm install @rollup/plugin-eslint
Typescript
Module System
Min. Node Version
Node Version
NPM Version
50.2
Supply Chain
93.2
Quality
77.2
Maintenance
100
Vulnerability
96.7
License
JavaScript (75.11%)
TypeScript (24.88%)
Shell (0.01%)
Total Downloads
3,353,032
Last Day
1,034
Last Week
13,511
Last Month
85,634
Last Year
1,155,619
3,661 Stars
1,207 Commits
593 Forks
36 Watching
4 Branches
266 Contributors
Minified
Minified + Gzipped
Latest Version
9.0.5
Package Id
@rollup/plugin-eslint@9.0.5
Unpacked Size
11.07 kB
Size
3.31 kB
File Count
6
NPM Version
10.1.0
Node Version
20.8.0
Publised On
05 Oct 2023
Cumulative downloads
Total Downloads
Last day
-76.2%
1,034
Compared to previous day
Last week
-32.8%
13,511
Compared to previous week
Last month
-21.6%
85,634
Compared to previous month
Last year
-6.4%
1,155,619
Compared to previous year
2
1
🍣 A Rollup plugin to lint entry points and all imported files with ESLint.
This plugin requires an LTS Node version (v14.0.0+) and Rollup v1.20.0+.
Using npm:
1npm install @rollup/plugin-eslint --save-dev 2# or 3yarn add -D @rollup/plugin-eslint
1import eslint from '@rollup/plugin-eslint'; 2 3export default { 4 input: 'main.js', 5 plugins: [ 6 eslint({ 7 /* your options */ 8 }) 9 ] 10};
This plugin takes a configuration object intended for the ESLint constructor with the addition of a throwOnWarning
, throwOnError
, formatter
, include
and exclude
prop.
You can also use eslint configuration in the form of a .eslintrc.*
file in your project's root. It will be loaded automatically.
Type: String | String[]
Default: node_modules/**
A single picomatch
pattern or an array of patterns controlling which files this plugin should explicitly exclude. Gets forwarded to the createFilter
method of @rollup/pluginutils
.
Type: Boolean
Default: false
If true, will auto fix source code.
Type: Function<String> | Function<Promise<String>> | String
Default: stylish
Custom error formatter, the name of a built-in formatter, or the path to a custom formatter.
Type: String | String[]
Default: []
A single picomatch
pattern or an array of patterns controlling which files this plugin should explicitly include. Gets forwarded to the createFilter
method of @rollup/pluginutils
.
Type: Boolean
Default: false
If true, will throw an error and exit the process when ESLint reports any errors.
Type: Boolean
Default: false
If true, will throw an error and exit the process when ESLint reports any warnings.
No vulnerabilities found.
Reason
30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
Found 13/30 approved changesets -- score normalized to 4
Reason
security policy file not detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
16 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-16
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