Skip to content

Commit 70660f4

Browse files
mizdraclaude
andauthored
chore: migrate from Prettier to oxfmt (#341)
* chore: migrate from Prettier to oxfmt - Replace prettier + @mizdra/prettier-config-mizdra with oxfmt + @mizdra/oxfmt-config - Replace lint:prettier script with lint:oxfmt - Remove .prettierignore (ignore patterns moved to lint:oxfmt script flags) - Update CI to remove prettier cache - Update VS Code settings to remove prettier-vscode references - Update CLAUDE.md tech stack Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: format all files with oxfmt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: add changeset for prettier to oxfmt migration Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6ec7d5a commit 70660f4

20 files changed

Lines changed: 572 additions & 237 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@css-modules-kit/core': patch
3+
'@css-modules-kit/ts-plugin': patch
4+
'@css-modules-kit/codegen': patch
5+
'@css-modules-kit/eslint-plugin': patch
6+
'@css-modules-kit/stylelint-plugin': patch
7+
'css-modules-kit-vscode': patch
8+
---
9+
10+
chore: migrate from Prettier to oxfmt

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
- uses: actions/cache@v4
2424
with:
2525
path: |
26-
node_modules/.cache/prettier/.prettier-cache
2726
packages/*/dist
2827
packages/*/tsconfig.build.tsbuildinfo
2928
tsconfig.tsbuildinfo

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
**/dist
22
/examples/*/generated
33
/examples/*/src
4+
/.claude

.vscode/extensions.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"recommendations": [
3-
"esbenp.prettier-vscode",
4-
"dbaeumer.vscode-eslint",
5-
"vitest.explorer",
6-
"mizdra.css-modules-kit-vscode"
7-
]
2+
"recommendations": ["oxc.oxc-vscode", "vitest.explorer", "mizdra.css-modules-kit-vscode"]
83
}

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"editor.tabSize": 2,
3-
"editor.defaultFormatter": "esbenp.prettier-vscode",
43
"[rust]": {
54
"editor.defaultFormatter": "rust-lang.rust-analyzer"
65
},

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function myFunction() {
108108
- TypeScript
109109
- Vitest
110110
- ESLint
111-
- Prettier
111+
- Oxfmt
112112
- npm, npm workspaces
113113
- Changesets
114114

crates/zed/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "css-modules-kit-zed",
3-
"private": true,
4-
"version": "0.1.2"
3+
"version": "0.1.2",
4+
"private": true
55
}

examples/1-basic/eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { defineConfig } from 'eslint/config';
2-
import css from '@eslint/css';
31
import cssModulesKit from '@css-modules-kit/eslint-plugin';
2+
import css from '@eslint/css';
3+
import { defineConfig } from 'eslint/config';
44

55
export default defineConfig([
66
{

0 commit comments

Comments
 (0)