Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
e536eff
change tooling
dtemkin1 Aug 5, 2026
a09e0a5
move to config ts files
dtemkin1 Aug 5, 2026
0858bef
update ts
dtemkin1 Aug 5, 2026
8a9b760
enable sorting
dtemkin1 Aug 5, 2026
17e23e5
fix linting problems (todo: less disable rules)
dtemkin1 Aug 6, 2026
2c3694b
fix bugs :D
dtemkin1 Aug 6, 2026
682d82b
forgor
dtemkin1 Aug 6, 2026
24b881e
idk why this has to be like that but wtv
dtemkin1 Aug 6, 2026
78ee556
ts configs
dtemkin1 Aug 6, 2026
38311f1
fixes
dtemkin1 Aug 6, 2026
3d68e45
update target to default
dtemkin1 Aug 6, 2026
b4c7872
continue removing disable comments
dtemkin1 Aug 7, 2026
c7423e8
add performance plugin
dtemkin1 Aug 7, 2026
cb7e6d7
continue removing disable comments
dtemkin1 Aug 7, 2026
b67e83f
simplify
dtemkin1 Aug 7, 2026
c8ed19c
more remove disable
dtemkin1 Aug 7, 2026
4734417
improve types
dtemkin1 Aug 7, 2026
596aa6f
more
dtemkin1 Aug 7, 2026
ef37464
more x 2
dtemkin1 Aug 7, 2026
a7d32b9
add types in form
dtemkin1 Aug 7, 2026
7e53231
fixes
dtemkin1 Aug 7, 2026
ff540c4
Merge branch 'main' of https://github.com/sipb/hydrant into tooling
dtemkin1 Aug 7, 2026
82195e0
format
dtemkin1 Aug 7, 2026
f37399f
no longer needed
dtemkin1 Aug 7, 2026
3eb9ff4
Merge branch 'main' of https://github.com/sipb/hydrant into tooling
dtemkin1 Aug 7, 2026
6841756
reorder
dtemkin1 Aug 8, 2026
16b3d0a
reduce types
dtemkin1 Aug 8, 2026
2a83e7e
scuffed but works
dtemkin1 Aug 9, 2026
d878e82
remove oxlint disables
dtemkin1 Aug 9, 2026
0f978e7
remove more disables
dtemkin1 Aug 9, 2026
4517d28
apparently this is good for tree shaking
dtemkin1 Aug 9, 2026
3ffa536
idk where this got added tbh
dtemkin1 Aug 12, 2026
0f87590
not actually needed apparently
dtemkin1 Aug 12, 2026
c45b2ed
always generate types
dtemkin1 Aug 12, 2026
649118e
Merge branch 'main' of https://github.com/sipb/hydrant into tooling
dtemkin1 Aug 18, 2026
387fae7
format
dtemkin1 Aug 18, 2026
5d70430
Merge branch 'main' of https://github.com/sipb/hydrant into tooling
dtemkin1 Aug 24, 2026
c4b8bd2
Merge branch 'main' of https://github.com/sipb/hydrant into tooling
dtemkin1 Sep 22, 2026
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
4 changes: 2 additions & 2 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Whenever someone pushes to the `deploy` branch, this script will build Hydrant f

This runs two checks:

- Prettier for formatting
- ESLint linting + TypeScript typechecking (bundled as a single check)
- Oxfmt for formatting
- Oxlint for linting + TypeScript typechecking (bundled as a single check)

This pipeline does NOT trigger on pull requests or commits that only affect backend-related code, documentation, or JSON/TOML data.

Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/ci-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:

jobs:
prettier:
name: Prettier
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
Expand All @@ -33,8 +33,8 @@ jobs:
cache: "npm"
- name: Install node dependencies
run: npm ci
- name: Run Prettier
run: npm run ci-prettier
- name: Run Format
run: npm run format:check
lint:
name: Lint + Typecheck
runs-on: ubuntu-latest
Expand All @@ -47,10 +47,8 @@ jobs:
cache: "npm"
- name: Install node dependencies
run: npm ci
- name: Check types
run: npm run typecheck
- name: Run ESLint
run: npm run ci-eslint
- name: Run Lint + Typecheck
run: npm run lint
test:
name: Unit tests
runs-on: ubuntu-latest
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ jobs:
pip install .
- name: Run scrapers
run: python3 -m scrapers
- name: Check/generate types
run: npm run typecheck
- name: Build
run: npm run build
env:
Expand Down
1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["vitest.explorer", "ms-python.python"]
"recommendations": ["vitest.explorer", "ms-python.python", "oxc.oxc-vscode"]
}
86 changes: 0 additions & 86 deletions eslint.config.js

This file was deleted.

27 changes: 27 additions & 0 deletions oxfmt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { defineConfig } from "oxfmt";

// uses .editorconfig by default, no need to customize much
export default defineConfig({
ignorePatterns: ["public/*"],
sortImports: {
newlinesBetween: true,
customGroups: [
{
groupName: "react-libs",
elementNamePattern: ["react", "react-**"],
},
],
groups: [
"react-libs",
"type-import",
["value-builtin", "value-external"],
"type-internal",
"value-internal",
["type-parent", "type-sibling", "type-index"],
["value-parent", "value-sibling", "value-index"],
"style",
"unknown",
],
},
sortPackageJson: { sortScripts: true },
});
55 changes: 55 additions & 0 deletions oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import { defineConfig } from "oxlint";

export default defineConfig({
plugins: ["typescript", "react", "unicorn", "import", "react-perf"],
categories: {
correctness: "error",
suspicious: "warn",
},
options: {
typeAware: true,
typeCheck: true,
reportUnusedDisableDirectives: "error",
},
env: {
builtin: true,
es2023: true,
browser: true,
},
ignorePatterns: ["src/components/ui/**", "src/emotion/**"],
rules: {
"react-in-jsx-scope": "off",
"no-unassigned-import": [
"error",
{ allow: ["**/*.css", "temporal-polyfill/global"] },
],
"react/only-export-components": [
"warn",
{
allowConstantExport: true,
allowExportNames: [
"middleware",
"clientMiddleware",
"loader",
"clientLoader",
"action",
"clientAction",
"headers",
"handle",
"links",
"meta",
"shouldRevalidate",
],
},
],
"react/rules-of-hooks": "error",
},
overrides: [
{
files: ["tests/**"],
env: { vitest: true },

plugins: ["vitest"],
},
],
});
Loading
Loading