Skip to content

Commit

Permalink
chore: enable biome format in lint-staged (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 committed May 24, 2024
1 parent 3a597ac commit 32f72f2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion e2e/tests/custom-id.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ test.describe('custom-id test', async () => {
const text = await page.evaluate(h1 => h1?.textContent, h1);
expect(text).toContain('Guide');
});

});
2 changes: 1 addition & 1 deletion e2e/tests/replace-rules.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ test.describe('replace-rules test', async () => {
await page.goto(`http://localhost:${appPort}`);
const h1 = await page.$('h1');
const content = await page.evaluate(h1 => h1?.textContent, h1);
expect(content).toContain('h1')
expect(content).toContain('h1');
});
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"packageManager": "pnpm@8.15.4",
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs,cjs}": [
"biome lint . --diagnostic-level=warn"
"biome check . --apply --organize-imports-enabled=false --no-errors-on-unmatched"
],
"package.json": [
"pnpm run check-dependency-version"
Expand Down

0 comments on commit 32f72f2

Please sign in to comment.