question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ESLint 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:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alexander-akaitcommented, Jul 2, 2019

@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

0reactions
okonetcommented, Jul 2, 2019

@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.

when something was removed it is good practice put example how solve previous behavior

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found