Add support for ignoring files
See original GitHub issueSometimes you want to specifically ignore files from being linted (for example, you have some server side handlebars files in the repo).
I’d like for these ignores to go into the existing .template-lintrc.js
file (I don’t really want to have “yet another file” for this like .eslintignore
).
Perhaps something like:
module.exports = {
extends: 'recommended',
ignoredFiles: [.....],
};
Thoughts?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Ignoring files - GitHub Docs
Configuring ignored files for a single repository ... You can create a .gitignore file in your repository's root directory to tell Git which...
Read more >.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 in Git: How To Use .gitignore Files - BMC Software
When making commits to any Git repository, you'll choose the files you want to stage and then you'll commit them.
Read more >.gitignore File – How to Ignore Files and Folders in Git
Git can only ignore untracked files that haven't yet been committed to the repository.
Read more >Ignoring Files | Tower Help - Tower Git Client
Therefore, it's best to ignore files before they are checked into version control, right at the beginning of a project. If they have...
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
Yes. ESLint has a large variety of ways for ignoring files, and while I don’t think it’s necessarily needed or urgent to support all of them, my preference would be to follow ESLint’s lead.
I’ve added a TypeDoc theme to my codebase. TypeDoc happens to use Handlebars. Now
ember-template-lint
freaks out. 😦