{"id":18074899,"url":"https://github.com/robinloeffel/rollup-plugin-eslint","last_synced_at":"2025-04-12T06:16:27.098Z","repository":{"id":71059408,"uuid":"267601606","full_name":"robinloeffel/rollup-plugin-eslint","owner":"robinloeffel","description":"Lint your Rollup bundles with ESLint. 🐝","archived":false,"fork":false,"pushed_at":"2023-11-04T09:27:08.000Z","size":311,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T21:06:46.370Z","etag":null,"topics":["eslint","rollup","rollup-plugin"],"latest_commit_sha":null,"homepage":"https://npmjs.com/@rbnlffl/rollup-plugin-eslint","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robinloeffel.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-28T13:46:22.000Z","updated_at":"2023-11-04T09:25:41.000Z","dependencies_parsed_at":"2024-06-18T21:14:09.876Z","dependency_job_id":"fd6b90c8-d4b1-4441-a42d-9526368bc64e","html_url":"https://github.com/robinloeffel/rollup-plugin-eslint","commit_stats":{"total_commits":41,"total_committers":4,"mean_commits":10.25,"dds":0.3414634146341463,"last_synced_commit":"9080cd1d7b357743ae306e6eeda5ae5dcee9c0c4"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinloeffel%2Frollup-plugin-eslint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinloeffel%2Frollup-plugin-eslint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinloeffel%2Frollup-plugin-eslint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinloeffel%2Frollup-plugin-eslint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robinloeffel","download_url":"https://codeload.github.com/robinloeffel/rollup-plugin-eslint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246062674,"owners_count":20717678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eslint","rollup","rollup-plugin"],"created_at":"2024-10-31T10:23:44.519Z","updated_at":"2025-03-28T16:31:09.254Z","avatar_url":"https://github.com/robinloeffel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @rbnlffl/rollup-plugin-eslint\n\n[![latest version on npm](https://img.shields.io/npm/v/@rbnlffl/rollup-plugin-eslint)](https://www.npmjs.com/package/@rbnlffl/rollup-plugin-eslint)\n[![npm downloads a month](https://img.shields.io/npm/dm/@rbnlffl/rollup-plugin-eslint)](https://www.npmjs.com/package/@rbnlffl/rollup-plugin-eslint)\n[![required node version](https://img.shields.io/node/v/@rbnlffl/rollup-plugin-eslint)](https://github.com/nodejs/Release)\n[![eslint peer dependency](https://img.shields.io/npm/dependency-version/@rbnlffl/rollup-plugin-eslint/peer/eslint?label=eslint%20peer%20dep)](https://github.com/eslint/eslint)\n[![rollup peer dependency](https://img.shields.io/npm/dependency-version/@rbnlffl/rollup-plugin-eslint/peer/rollup?label=rollup%20peer%20dep)](https://github.com/rollup/rollup)\n[![package license](https://img.shields.io/npm/l/@rbnlffl/rollup-plugin-eslint)](license)\n\n\u003e Lint your [Rollup](https://github.com/rollup/rollup) bundles with [ESLint](https://github.com/eslint/eslint). 🐝\n\nNicely integrates the most recent version of [`eslint`](https://github.com/eslint/eslint) into a [`rollup`](https://github.com/rollup/rollup) plugin.\n\n## How\n\n```sh\nnpm i -D @rbnlffl/rollup-plugin-eslint\n```\n\n```js\nimport eslint from '@rbnlffl/rollup-plugin-eslint';\n\nexport default {\n  // ..\n  plugins: [\n    eslint()\n    // ..\n  ]\n};\n```\n\n## Config\n\nThis plugin respects your [ESLint configuration](https://eslint.org/docs/user-guide/configuring) as per default. It also takes a configuration object intended for the [ESLint constructor](https://eslint.org/docs/developer-guide/nodejs-api#-new-eslintoptions) with the addition of a `throwOnWarning`, `throwOnError`, `filterInclude` and `filterExclude` prop. The most popular configuration options are as follows:\n\n### `fix`\n\nType: `boolean`\u003cbr\u003e\nDefault: `false`\u003cbr\u003e\nUtilized by: [ESLint constructor](https://eslint.org/docs/developer-guide/nodejs-api#-new-eslintoptions)\n\nControls whether to enable or disable the autofix feature of ESLint.\n\n### `extensions`\n\nType: `string[]`\u003cbr\u003e\nDefault: `null`\u003cbr\u003e\nUtilized by: [ESLint constructor](https://eslint.org/docs/developer-guide/nodejs-api#-new-eslintoptions)\n\nControls what type of files ESLint should look at. The default of `null` is equal to `[ '.js' ]`.\n\n### `throwOnWarning`\n\nType: `boolean`\u003cbr\u003e\nDefault: `false`\u003cbr\u003e\nUtilized by: [The plugin itself](https://github.com/robinloeffel/rollup-plugin-eslint/blob/master/src/index.js#L34)\n\nControls whether or not to throw an error and exit the process when ESLint reports any warnings.\n\n### `throwOnError`\n\nType: `boolean`\u003cbr\u003e\nDefault: `false`\u003cbr\u003e\nUtilized by: [The plugin itself](https://github.com/robinloeffel/rollup-plugin-eslint/blob/master/src/index.js#L38)\n\nControls whether or not to throw an error and exit the process when ESLint reports any errors.\n\n### `filterInclude`\n\nType: [`FilterPattern`](https://github.com/rollup/plugins/tree/master/packages/pluginutils#include-and-exclude)\u003cbr\u003e\nDefault: `undefined`\u003cbr\u003e\nUtilized by: [`@rollup/pluginutils`](https://github.com/rollup/plugins/tree/master/packages/pluginutils#createfilter)\n\nA single [`picomatch`](https://github.com/micromatch/picomatch) pattern or an array of patterns controlling which files this plugin should explicitly include. Gets forwarded to the [`createFilter`](https://github.com/rollup/plugins/tree/master/packages/pluginutils#createfilter) method of `@rollup/pluginutils`.\n\n### `filterExclude`\n\nType: [`FilterPattern`](https://github.com/rollup/plugins/tree/master/packages/pluginutils#include-and-exclude)\u003cbr\u003e\nDefault: `'node_modules/**'`\u003cbr\u003e\nUtilized by: [`@rollup/pluginutils`](https://github.com/rollup/plugins/tree/master/packages/pluginutils#createfilter)\n\nA single [`picomatch`](https://github.com/micromatch/picomatch) pattern or an array of patterns controlling which files this plugin should explicitly exclude. Gets forwarded to the [`createFilter`](https://github.com/rollup/plugins/tree/master/packages/pluginutils#createfilter) method of `@rollup/pluginutils`.\n\n## Why a new plugin?\n\nBecause [`rollup-plugin-eslint`](https://github.com/TrySound/rollup-plugin-eslint) seems to be dead and relies on [`eslint^6.0.0`](https://github.com/TrySound/rollup-plugin-eslint/blob/master/package.json#L42), which resolves to `v6.8.0`, resulting in unexpected errors when using rules introduced in versions 7 and up.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinloeffel%2Frollup-plugin-eslint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinloeffel%2Frollup-plugin-eslint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinloeffel%2Frollup-plugin-eslint/lists"}