File tree Expand file tree Collapse file tree
packages/cli/src/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " ultracite " : patch
3+ ---
4+
5+ Don't pass options to formatters, only linters
Original file line number Diff line number Diff line change @@ -208,13 +208,13 @@ export const check = async (
208208
209209 switch ( linter ) {
210210 case "eslint" : {
211- await runPrettierCheck ( files , passthrough ) ;
211+ await runPrettierCheck ( files , [ ] ) ;
212212 await runEslintCheck ( files , passthrough ) ;
213- await runStylelintCheck ( files , passthrough ) ;
213+ await runStylelintCheck ( files , [ ] ) ;
214214 break ;
215215 }
216216 case "oxlint" : {
217- await runOxfmtCheck ( files , passthrough ) ;
217+ await runOxfmtCheck ( files , [ ] ) ;
218218 await runOxlintCheck ( files , passthrough ) ;
219219 break ;
220220 }
Original file line number Diff line number Diff line change @@ -215,13 +215,13 @@ export const fix = async (
215215
216216 switch ( linter ) {
217217 case "eslint" : {
218- await runPrettierFix ( files , passthrough ) ;
218+ await runPrettierFix ( files , [ ] ) ;
219219 await runEslintFix ( files , passthrough ) ;
220- await runStylelintFix ( files , passthrough ) ;
220+ await runStylelintFix ( files , [ ] ) ;
221221 break ;
222222 }
223223 case "oxlint" : {
224- await runOxfmtFix ( files , passthrough ) ;
224+ await runOxfmtFix ( files , [ ] ) ;
225225 await runOxlintFix ( files , passthrough ) ;
226226 break ;
227227 }
You can’t perform that action at this time.
0 commit comments