
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@rbnlffl/rollup-plugin-eslint
Advanced tools
Nicely integrates the most recent version of eslint into a rollup plugin.
npm i -D @rbnlffl/rollup-plugin-eslint
import eslint from '@rbnlffl/rollup-plugin-eslint';
export default {
// ..
plugins: [
eslint()
// ..
]
};
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:
fixType: boolean
Default: false
Utilized by: ESLint constructor
Controls whether to enable or disable the autofix feature of ESLint.
extensionsType: string[]
Default: null
Utilized by: ESLint constructor
Controls what type of files ESLint should look at. The default of null is equal to [ '.js' ].
throwOnWarningType: 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.
throwOnErrorType: 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.
filterIncludeType: 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.
filterExcludeType: 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.
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.
MIT
FAQs
Lint your Rollup bundles with ESLint. 🐝
We found that @rbnlffl/rollup-plugin-eslint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.