Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thebuilder committed Feb 1, 2024
1 parent 91b67bd commit e470602
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
run: pnpm biome ci .
- name: Test
run: pnpm test
env:
Expand Down
5 changes: 0 additions & 5 deletions .prettierignore

This file was deleted.

6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ Here's what each part of the commit message means:
updating dependencies).
- `<subject>`: A short description of the change.

### Code Style
### Code Style and Linting

`react-intersection-observer` uses [Prettier](https://prettier.io/) for code
formatting. Please ensure that your changes are formatted with Prettier before
`react-intersection-observer` uses [Biome](https://biomejs.dev/) for code
formatting and linting. Please ensure that your changes are formatted with Biome before
submitting your pull request.

### Testing
Expand Down
9 changes: 8 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"files": {
"ignore": ["node_modules/**", "dist/**", "storybook-static/**"]
"ignore": [
".idea/**",
"node_modules/**",
"dist/**",
"coverage/**",
"storybook-static/**",
"pnpm-lock.yaml"
]
},
"organizeImports": {
"enabled": true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
},
"lint-staged": {
"*.{js,json,css,md,ts,tsx}": [
"biome check --apply"
"biome check --apply --no-errors-on-unmatched --files-ignore-unknown=true"
]
},
"size-limit": [
Expand Down
9 changes: 3 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e470602

Please sign in to comment.