Installations
npm install @rbnlffl/rollup-plugin-eslint
Developer Guide
Typescript
Yes
Module System
ESM
Min. Node Version
>=18
Node Version
20.9.0
NPM Version
10.1.0
Score
43.9
Supply Chain
90.7
Quality
71.7
Maintenance
100
Vulnerability
96.7
License
Releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (75.88%)
JavaScript (21.83%)
Shell (2.3%)
Developer
Download Statistics
Total Downloads
143,052
Last Day
1
Last Week
111
Last Month
6,193
Last Year
25,687
GitHub Statistics
9 Stars
43 Commits
2 Forks
2 Watching
1 Branches
2 Contributors
Package Meta Information
Latest Version
6.0.0
Package Id
@rbnlffl/rollup-plugin-eslint@6.0.0
Unpacked Size
12.52 kB
Size
3.82 kB
File Count
12
NPM Version
10.1.0
Node Version
20.9.0
Publised On
04 Nov 2023
Total Downloads
Cumulative downloads
Total Downloads
143,052
Last day
0%
1
Compared to previous day
Last week
-69.3%
111
Compared to previous week
Last month
-25.1%
6,193
Compared to previous month
Last year
-35.4%
25,687
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
@rbnlffl/rollup-plugin-eslint
Nicely integrates the most recent version of eslint
into a rollup
plugin.
How
1npm i -D @rbnlffl/rollup-plugin-eslint
1import eslint from '@rbnlffl/rollup-plugin-eslint'; 2 3export default { 4 // .. 5 plugins: [ 6 eslint() 7 // .. 8 ] 9};
Config
This plugin respects your ESLint configuration as per default. It also takes a configuration object intended for the ESLint constructor with the addition of a throwOnWarning
, throwOnError
, filterInclude
and filterExclude
prop. The most popular configuration options are as follows:
fix
Type: boolean
Default: false
Utilized by: ESLint constructor
Controls whether to enable or disable the autofix feature of ESLint.
extensions
Type: string[]
Default: null
Utilized by: ESLint constructor
Controls what type of files ESLint should look at. The default of null
is equal to [ '.js' ]
.
throwOnWarning
Type: boolean
Default: false
Utilized by: The plugin itself
Controls whether or not to throw an error and exit the process when ESLint reports any warnings.
throwOnError
Type: boolean
Default: false
Utilized by: The plugin itself
Controls whether or not to throw an error and exit the process when ESLint reports any errors.
filterInclude
Type: FilterPattern
Default: undefined
Utilized by: @rollup/pluginutils
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
.
filterExclude
Type: FilterPattern
Default: 'node_modules/**'
Utilized by: @rollup/pluginutils
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
.
Why a new plugin?
Because rollup-plugin-eslint
seems to be dead and relies on eslint^6.0.0
, which resolves to v6.8.0
, resulting in unexpected errors when using rules introduced in versions 7 and up.
License
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: license:0
- Info: FSF or OSI recognized license: MIT License: license:0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/23 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 8 are checked with a SAST tool
Score
3
/10
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