Prettier ignores "ignore" rule
See original GitHub issueAdding
<!-- prettier-ignore -->
to an ejs file is ignored.
Please provide a section in the docu for how to do that correctly, if this way is the wrong way. Thank you!
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Ignoring Code - Prettier
Use .prettierignore to ignore (i.e. not reformat) certain files and folders completely. Use “prettier-ignore” comments to ignore parts of files.
Read more >How to ignore specific rule(s) with prettier? - Stack Overflow
@AlexanderNied i use package.json which is the same and it only specifies how rules apply, if it set to "semi": false it will...
Read more >Ignoring rules | Dev Cheatsheets - Michael Currin
A collection of code snippets and CLI guides for quick and easy reference while coding.
Read more >prettier ignore folders | The search engine you control.
Ignoring Code · Prettier ... To exclude files from formatting, create a .prettierignore file in the root of your project. .prettierignore uses gitignore...
Read more >prettier ignore rule Code Example - Code Grepper
Answers related to “prettier ignore rule” · prettier ignore exclude · how to ignore prettier · disable prettier for some specific file ·...
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
@rowild glad to hear you’ve got something worked out!
I think you want make a file called
.prettierignore
with the following contents?.prettierignore works like .gitignore