Use ignore file
See original GitHub issueESLint allows to use ignore file with list of globs similar to .gitignore
or .npmignore
, it would be very useful if lint-staged
can also take this file in config.
Currently in the project I have to duplicate contents of this file in lint-staged
config.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
.gitignore file - ignoring files in Git | Atlassian Git Tutorial
Git ignore patterns are used to exclude certain files in your working directory from your Git history. They can be local, global, or...
Read more >Ignoring files - GitHub Docs
Excluding local files without creating a .gitignore file · Open TerminalTerminalGit Bash. · Navigate to the location of your Git repository. · Using...
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 >.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 >How to Use a .gitignore File - Pluralsight
Here's how it works. A .gitignore file is a plain text file where each line contains a pattern for files/directories to ignore. Generally,...
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 removing
ignore
option is very bad DX, developers just want ignore file, now we need write function(s), it is very uncomfortable and no examples in README how better solve this, when something was removed it is good practice put example how solve previous behavior@iiroj spent last 10 days crafting the PR that closed about 10-15 issues and I spent hours doing code reviews. We’re sorry that your use case become more complicated and we’d appreciate any help that would improve the DX.
We added some examples. Again, if your example is missing, you’re welcome to help us with a PR that adds a better or missing example.
Starting from now I’m marking any unrelated and not helpful comments as off-topic to keep issues related to the library.