Skip to content

Commit

Permalink
chore: lets run oxlint in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
maraisr committed Mar 21, 2024
1 parent d9b7dcd commit 7a3922b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ jobs:
cache: pnpm
check-latest: true

- name: Install
run: pnpm install
- name: (env) globals
run: pnpm add -g oxlint

- name: Compiles
run: pnpm run build

- name: Check Types
run: pnpm run typecheck
- run: pnpm install
- run: oxlint .
- run: pnpm run build
- run: pnpm run typecheck
2 changes: 1 addition & 1 deletion src/components/Tools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function Tools() {
let toggleGrid = React.useCallback(() => {
setState(
(prev) => ({
visible: !prev?.visible ?? false,
visible: !prev?.visible || false,
}),
{
persistence: 'session',
Expand Down

0 comments on commit 7a3922b

Please sign in to comment.