stylefmt example broken for multiple files
See original GitHub issueHere is a minimal example: https://github.com/richardgill/lint-staged-stylefmt-bug-example
stylefmt doesn’t accept multiple files on the command line. Looks like there used to be a --list
parameter, but it’s not longer there.
Using --recursive
works for me via npm run
but doesn’t work with lint-staged. I think I am seeing an additional --
getting added to the command which messes with stylefmt
.
Note that is only an issue for when you break the css for multiple files (add spaces before the }
's to test. I think it works ok for one file.
Could you confirm that lint-staged is adding an extra --
and once I full understand what’s going on. We can raise an issue with stylefmt.
Thanks,
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Stylefmt committing wrong scss file when multiple ... - GitHub
Stylefmt committing wrong scss file when multiple files committed at the same time #317. Open. jebzaki opened this issue on Jun 28, ...
Read more >Lint your CSS with stylelint
For example, you can disallow empty blocks, invalid hex values, duplicate selectors, unknown animation names, and mistaken linear-gradient ...
Read more >Css Autoprefixer for multiple files in single function/go
Since you asked for an answer : In your IDE (I take Visual Studio Code as an example):. Ctrl+Maj+F will launch the global...
Read more >vscode-stylefmt - Visual Studio Marketplace
Launch VS Code Quick Open ( Ctrl+P ), paste the following command, and press enter. Copy. Copied to clipboard. More Info ...
Read more >The LaTEXinfo Documentation Format
different documents, one providing on-line information and the other for a printed manual, you need write only one document. When the system is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@okonet Confirmed that it works. Thanks!
The workaround I’m using to account for
--
withstylefmt
is: