Skip to content

Commit

Permalink
feat: use biome linter (#34)
Browse files Browse the repository at this point in the history
* feat: use biome linter

* fixup! feat: use biome linter

* fixup! fixup! feat: use biome linter

* fixup! fixup! fixup! feat: use biome linter

* fixup! fixup! fixup! fixup! feat: use biome linter

* fixup! fixup! fixup! fixup! fixup! feat: use biome linter

* fixup! fixup! fixup! fixup! fixup! fixup! feat: use biome linter
  • Loading branch information
RafaelGSS authored Dec 28, 2024
1 parent a46008f commit 11c1108
Show file tree
Hide file tree
Showing 29 changed files with 1,890 additions and 1,647 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ jobs:
- name: Install dependencies
run: npm install

- name: Run linter
run: npm run lint:ci

- name: Run tests
run: npm test
21 changes: 21 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noParameterAssign": "off"
}
}
},
"formatter": {
"enabled": true
},
"files": {
"ignore": ["examples/*", "test/plugin-api-doc.js"]
}
}
Loading

0 comments on commit 11c1108

Please sign in to comment.