@es-exec/esbuild-plugin-eslint
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

ESLint

A plugin to lint files during file resolution or all resolved (non node_module files) after the build finishes when the single flag is used.

Installation

npm

npm install @es-exec/esbuild-plugin-eslint

yarn

yarn add @es-exec/esbuild-plugin-eslint

Usage

import eslint from '@es-exec/esbuild-plugin-eslint';

/** @type import('@es-exec/esbuild-plugin-eslint').ESLintPluginOptions */
const options = {
    single: true, // Run one single lint on all  files outside of node_modules.
    eslintOptions: {
        ... // Any ESLint options.
    },
};

export default {
    ..., // Other esbuild config options.
    plugins: [
        eslint(options)
    ],
};

Package Sidebar

Install

npm i @es-exec/esbuild-plugin-eslint

Weekly Downloads

25

Version

0.0.5

License

MIT

Unpacked Size

24.2 kB

Total Files

10

Last publish

Collaborators

  • tim117