Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .eslintrc.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Format check
run: npm run format:check
- name: Install Playwright browsers
run: npx playwright install chromium --with-deps
- name: Build
Expand Down
6 changes: 6 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"useTabs": false,
"tabWidth": 2,
"ignorePatterns": ["test/textures/**", "build/**"]
}
21 changes: 21 additions & 0 deletions oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { defineConfig } from "oxlint";

export default defineConfig({
plugins: ["typescript", "oxc"],
categories: {
correctness: "warn",
suspicious: "warn",
},
rules: {
"typescript/no-non-null-assertion": "off",
},
overrides: [
{
files: ["test/**"],
rules: {
"typescript/no-explicit-any": "off",
"typescript/triple-slash-reference": "off",
},
},
],
});
Loading