HUB
Sign inSign up
drone-oxlint logo

adamlui/drone-oxlint

By adamlui

•Updated 1 day ago

Drone/Woodpecker plugin for running Oxlint.

Image
Security
Languages & frameworks
Developer tools
0

260

adamlui/drone-oxlint repository overview

⁠ drone-oxlint

[Latest Build]⁠ [License: MIT]⁠ [Docker Hub Downloads]⁠ [Supports Drone / Woodpecker >=1.0.0]⁠

Drone⁠/Woodpecker⁠ plugin for running Oxlint⁠ on your repo.


⁠ Quick start

⁠ Drone CI
kind: pipeline
name: default

steps:
  - name: oxlint
    image: adamlui/drone-oxlint:v1.0.1@sha256:d69b2028aa6d75387a159f7bd2f726ddd1e844839db7c7edfee814c1817476d0
⁠ Woodpecker CI
steps:
  - name: oxlint
    image: adamlui/drone-oxlint:v1.0.1@sha256:d69b2028aa6d75387a159f7bd2f726ddd1e844839db7c7edfee814c1817476d0

⁠ Settings

SettingDescriptionDefault
configPath to an Oxlint config file. Oxlint is also compatible with JSON ESLint configs (v8 and lower).none
allowWhitespace-separated list of rules or categories to allow.none
warnWhitespace-separated list of rules or categories to warn.none
denyWhitespace-separated list of rules or categories to deny.none
pluginsWhitespace-separated list of plugins to enable (e.g. nextjs import).none
plugins_disableWhitespace-separated list of plugins to disable (e.g. react).none
all_filesLint all files, not just changed files on pull requests.false
base_branchBase branch that PRs are compared against.PR target branch
versionOxlint version to install. Accepts a SemVer pattern. Forwarded to npx.latest
working_directoryDirectory to run Oxlint in. Useful for monorepos.workspace root
⁠Example config:
  - name: oxlint
    image: adamlui/drone-oxlint:v1.0.1@sha256:d69b2028aa6d75387a159f7bd2f726ddd1e844839db7c7edfee814c1817476d0
    settings:
      config: oxlint.config.ts
      deny: correctness no-eval
      plugins: nextjs jest

⁠ Shield embed

[Linted by drone-oxlint]⁠
⁠HTML
<a target="_blank" href="https://codeberg.org/adamlui/drone-oxlint/#readme">
    <img height=32 alt="[Linted by drone-oxlint]" src="https://img.shields.io/badge/Linted_by-drone--oxlint-black?logo=drone&logoColor=white&labelColor=464646&style=for-the-badge"></a>
⁠Markdown
[![[Linted by drone-oxlint]](https://img.shields.io/badge/Linted_by-drone--oxlint-black?logo=drone&logoColor=white&labelColor=464646&style=for-the-badge)](https://codeberg.org/adamlui/drone-oxlint/#readme)

⁠ Contributing

All contributions welcome! See docs/CONTRIBUTING.md⁠ to get started.
  1. Fork the repo > create a branch from main.
  2. Make your change (one contribution per branch).
  3. Open a merge request > describe what you changed and why.
⁠ Dev setup

You'll need Docker⁠ and (for local pipeline testing) the Drone CLI⁠.

git clone https://codeberg.org/adamlui/drone-oxlint.git
cd drone-oxlint

The plugin is built from the Dockerfile⁠ and runs via entrypoint.sh. If you change either, rebuild the image:

docker build -t adamlui/drone-oxlint:dev .
⁠ Test your change

Run the example pipeline locally:

drone exec --pipeline default

No Drone CLI? Test the image directly:

docker run --rm -v "$PWD:/app" -w /app adamlui/drone-oxlint:dev

⁠ Financial contributions

If you find this project useful, you can support its development:

[PayPal] [Ko-fi]


⁠ License

Copyright © 2026 Adam Lui⁠ under the MIT license⁠.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE


⁠ eslint-plugin-woodpecker⁠
ESLint rules for Woodpecker CI files (including shell commands!)

Tag summary

Content type

Image

Digest

sha256:52e9845b8…

Size

80.6 MB

Last updated

1 day ago

docker pull adamlui/drone-oxlint