Skip to content

Commit 6765115

Browse files
committed
chore: migrate from biome to rslint
1 parent f446c81 commit 6765115

13 files changed

Lines changed: 110 additions & 141 deletions

.github/renovate.json5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["github>rstackjs/renovate"]
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
extends: ['github>rstackjs/renovate'],
44
}

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
3131
with:
3232
node-version: 24.14.0
33-
cache: "pnpm"
33+
cache: 'pnpm'
3434

3535
- name: Install Dependencies
3636
run: pnpm install

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
# Run `npm run bump` to bump the version and create a git tag.
77
push:
88
tags:
9-
- "v*"
9+
- 'v*'
1010

1111
workflow_dispatch:
1212

@@ -47,4 +47,4 @@ jobs:
4747
- name: Create GitHub Release
4848
uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1
4949
with:
50-
generateReleaseNotes: "true"
50+
generateReleaseNotes: 'true'

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
3434
with:
3535
node-version: 24.14.0
36-
cache: "pnpm"
36+
cache: 'pnpm'
3737

3838
- name: Install Dependencies
3939
run: pnpm install && npx playwright install chromium

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ignore artifacts:
2+
dist
3+
pnpm-lock.yaml

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"recommendations": ["biomejs.biome"]
2+
"recommendations": ["rstack.rslint", "esbenp.prettier-vscode"]
33
}

.vscode/settings.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"search.useIgnoreFiles": true,
33
"[json]": {
4-
"editor.defaultFormatter": "biomejs.biome"
4+
"editor.defaultFormatter": "esbenp.prettier-vscode"
55
},
66
"[typescript]": {
7-
"editor.defaultFormatter": "biomejs.biome"
7+
"editor.defaultFormatter": "esbenp.prettier-vscode"
88
},
99
"[javascript]": {
10-
"editor.defaultFormatter": "biomejs.biome"
10+
"editor.defaultFormatter": "esbenp.prettier-vscode"
1111
},
1212
"[javascriptreact]": {
13-
"editor.defaultFormatter": "biomejs.biome"
13+
"editor.defaultFormatter": "esbenp.prettier-vscode"
1414
},
1515
"[css]": {
16-
"editor.defaultFormatter": "biomejs.biome"
16+
"editor.defaultFormatter": "esbenp.prettier-vscode"
1717
}
1818
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add plugin to your `rsbuild.config.ts`:
2222

2323
```ts
2424
// rsbuild.config.ts
25-
import { pluginExample } from "rsbuild-plugin-example";
25+
import { pluginExample } from 'rsbuild-plugin-example';
2626

2727
export default {
2828
plugins: [pluginExample()],
@@ -41,7 +41,7 @@ Some description.
4141

4242
```js
4343
pluginExample({
44-
foo: "bar",
44+
foo: 'bar',
4545
});
4646
```
4747

biome.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)