Skip to content

Commit f8da3db

Browse files
committed
Update dependencies: ultracite/oxlint/oxfmt/lefthook
1 parent cba39f4 commit f8da3db

10 files changed

Lines changed: 3021 additions & 1371 deletions

.husky/pre-commit

Lines changed: 0 additions & 68 deletions
This file was deleted.

biome.jsonc

Lines changed: 0 additions & 15 deletions
This file was deleted.

css/marx.min.css

Lines changed: 637 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/marx.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lefthook.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pre-commit:
2+
parallel: true
3+
jobs:
4+
- name: ultracite
5+
glob: "*.{js,jsx,ts,tsx,json,jsonc,css}"
6+
run: npx ultracite fix {staged_files}
7+
stage_fixed: true

oxfmt.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from "oxfmt";
2+
import ultracite from "ultracite/oxfmt";
3+
4+
export default defineConfig({
5+
...ultracite,
6+
ignorePatterns: ["**/*.md", "**/*.mdx"],
7+
});

oxlint.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from "oxlint";
2+
import core from "ultracite/oxlint/core";
3+
4+
export default defineConfig({
5+
extends: [core],
6+
ignorePatterns: core.ignorePatterns,
7+
});

0 commit comments

Comments
 (0)