Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop dprint process plugins #174

Merged
merged 5 commits into from
May 3, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/ci-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
- run: nix develop --command echo 'This step should be done before any other "nix develop" steps because of measuring Nix build time'
- run: nix develop --command task deps
- run: nix develop --command task check
# - run: nix run . -- --version
# - run: nix run . -- --version
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
}
```

It targets [dprint official plugins](https://github.com/dprint?q=plugin&type=all&language=&sort=) except WASM based as [dprint-plugin-prettier](https://github.com/kachick/renovate-config-dprint/issues/11).
Now targets WASM plugins in [dprint official](https://github.com/dprint?q=plugin&type=all&language=&sort=) only.\
It means to exclude process plugins like [dprint-plugin-prettier](https://github.com/kachick/renovate-config-dprint/issues/11) and [dprint-plugin-exec](https://github.com/dprint/dprint-plugin-exec).

When updating by bot as renovate, I recommend to check the dprint diff in CI.\
A way is to integrate [dprint/check](https://github.com/dprint/check) in your GitHub Actions.
Expand Down
2 changes: 2 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ tasks:
fmt:
cmds:
- dprint fmt
- yamlfmt -formatter retain_line_breaks=true .
- nixpkgs-fmt ./*.nix
lint:
cmds:
- dprint check
- yamlfmt -lint -formatter retain_line_breaks=true .
- typos . .github .vscode
- nixpkgs-fmt --check ./*.nix
deps:
Expand Down
7 changes: 1 addition & 6 deletions dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
},
"dockerfile": {
},
"prettier": {
"printWidth": 120,
"singleQuote": true
},
"excludes": [
"**/node_modules",
"**/*-lock.json",
Expand All @@ -25,7 +21,6 @@
"https://plugins.dprint.dev/markdown-0.17.0.wasm",
"https://plugins.dprint.dev/toml-0.6.1.wasm",
"https://plugins.dprint.dev/dockerfile-0.3.0.wasm",
"https://plugins.dprint.dev/sql-0.2.0.wasm",
"https://plugins.dprint.dev/prettier-0.27.0.json@3557a62b4507c55a47d8cde0683195b14d13c41dda66d0f0b0e111aed107e2fe"
"https://plugins.dprint.dev/sql-0.2.0.wasm"
]
}
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
nil
nixpkgs-fmt
dprint
yamlfmt
typos
go-task
];
Expand Down