Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rollup-plugin-eslint-bundle

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-eslint-bundle

Rollup plugin to verify (and fix) bundled code with ESLint

  • 5.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
177
increased by30.15%
Maintainers
1
Weekly downloads
 
Created
Source

rollup-plugin-eslint-bundle Travis Build Status JavaScript Style Guide

Rollup plugin to verify (and fix) bundled code with ESLint.

Install

npm i rollup-plugin-eslint-bundle -D

Usage

import { rollup } from 'rollup';
import eslint from 'rollup-plugin-eslint-bundle';

rollup({
    entry: 'main.js',
    plugins: [
        eslint({ /* your options */ })
    ]
});

Options

See more options here eslint-config.

throwOnError

Type: boolean
Default: false

If true, will throw an error if any errors were found.

throwOnWarning

Type: boolean
Default: false

If true, will throw an error if any warnings were found.

formatter

Type: function or string
Default: stylish

Custom error formatter or the name of a built-in formatter.

fix

Type: boolean
Default: false

Whether to run autofixing logic on bundled code

License

MIT © Nikolay Borzov

Keywords

FAQs

Package last updated on 02 Nov 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc