Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changepacks/changepack_log__L_t84RVYpiOqQEWV7oib.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"changes":{"package.json":"Patch"},"note":"Support oxlint","date":"2026-01-22T15:25:57.906162800Z"}
2 changes: 1 addition & 1 deletion .changepacks/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"latestPackage": "package.json",
"publish": {},
"updateOn": {}
}
}
42 changes: 21 additions & 21 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Check Pull Request
on:
pull_request:
branches:
- main
jobs:
check:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun i
- run: |
bun test
bun run build
# eslint project can not lint before build
bun lint
name: Check Pull Request
on:
pull_request:
branches:
- main
jobs:
check:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun i
- run: |
bun test
bun run build
# eslint project can not lint before build
bun lint
74 changes: 37 additions & 37 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
name: Publish Package to npm
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
# create pull request comments
pull-requests: write
# Actions > General > Workflow permissions for creating pull request
# Create brench to create pull request
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun i
- run: |
bun test
bun run build
# eslint project can not lint before build
bun lint
- uses: changepacks/action@main
id: changepacks
with:
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
name: Publish Package to npm

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
# create pull request comments
pull-requests: write

# Actions > General > Workflow permissions for creating pull request
# Create brench to create pull request
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun i
- run: |
bun test
bun run build
# eslint project can not lint before build
bun lint
- uses: changepacks/action@main
id: changepacks
with:
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
19 changes: 19 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"extends": ["./oxlintrc.json"],
"jsPlugins": [
"./dist/oxlint.mjs",
"eslint-plugin-simple-import-sort",
"eslint-plugin-unused-imports",
"@tanstack/eslint-plugin-query",
"eslint-plugin-eslint-plugin"
],
"rules": {
"eslint-plugin/require-meta-docs-description": "error",
"eslint-plugin/require-meta-type": "error",
"eslint-plugin/no-unused-message-ids": "error",
"eslint-plugin/no-missing-message-ids": "error",
"eslint-plugin/prefer-message-ids": "error",
"eslint-plugin/no-deprecated-report-api": "error"
}
}
104 changes: 58 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,58 @@
# eslint-plugin-devup

`devup` is a system for faster and more accurate software development used at DevFive.

`eslint-plugin-devup` helps you develop software quickly and accurately.

For details on each rule, please refer to the files in the `src/rules` directory.

As this was originally used internally and has now been made public, some rules exist for company-specific systems.

All rules are provided as `named exports` so you can use only the rules you want.

## Installation

```bash
bun add -d eslint-plugin-devup
```

## Usage

Create an `eslint.config.mjs` file in your project root.

```js
import { configs } from 'eslint-plugin-devup'

export default configs.recommended
```

## Test

Coverage score must be 100%.

```bash
bun test
```

## Contributing

- When adding or modifying rules, add or modify files in the `src/rules` directory.
- When adding or modifying rules, add a description of the rule in `README.md`.

All opinions and contributions are welcome.

## Join the Community

[Discord](https://discord.gg/8zjcGc7cWh)
# eslint-plugin-devup

`devup` is a system for faster and more accurate software development used at DevFive.

`eslint-plugin-devup` helps you develop software quickly and accurately.

For details on each rule, please refer to the files in the `src/rules` directory.

As this was originally used internally and has now been made public, some rules exist for company-specific systems.

All rules are provided as `named exports` so you can use only the rules you want.

## Installation

```bash
bun add -d eslint-plugin-devup
```

## Usage

### ESLint

Create an `eslint.config.mjs` file in your project root.

```js
import { configs } from "eslint-plugin-devup";

export default configs.recommended;
```

### Oxlint

Create an `.oxlintrc.json` file in your project root.

```json
{
"extends": ["eslint-plugin-devup/oxlintrc"]
}
```

## Test

Coverage score must be 100%.

```bash
bun test
```

## Contributing

- When adding or modifying rules, add or modify files in the `src/rules` directory.
- When adding or modifying rules, add a description of the rule in `README.md`.

All opinions and contributions are welcome.

## Join the Community

[Discord](https://discord.gg/8zjcGc7cWh)
Loading