Ignoring files
See original GitHub issueHello,
Could be possible that prettier-standard ignore files based on standard ignore
property?
"standard": {
"globals": [
"fetch"
],
"parser": "babel-eslint",
"ignore": [ ←yep
"/lib/"
]
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Ignoring files - GitHub Docs
Configuring ignored files for a single repository · Open TerminalTerminalGit Bash. · Navigate to the location of your Git repository. · Create a...
Read more >.gitignore file - ignoring files in Git | Atlassian Git Tutorial
Ignored files are usually build artifacts and machine generated files that can be derived from your repository source or should otherwise not be...
Read more >How to ignore certain files in Git - Stack Overflow
The problem is that .gitignore ignores just files that weren't tracked before (by git add ). Run git reset name_of_file to unstage the...
Read more >.gitignore File – How to Ignore Files and Folders in Git
Inside .gitignore , you can tell Git to ignore only a single file or a single folder by mentioning the name or pattern...
Read more >gitignore Documentation - Git
A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the NOTES below...
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
I copied the content of my .gitignore to .eslintignore:
That works. The original standard linter uses the .gitignore file by default. That would be handy here too.
I’ve been trying to achieve the same result via
.prettierignore
without success. It seemsprettier-standard
ignores this feature.