Support checking multiple files at once
See original GitHub issuePlease support an arbitrary number of files passed in on the commandline. For example:
cfn-lint template1.yaml template2.yaml
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:13 (13 by maintainers)
Top Results From Across the Web
How To Select Multiple Files on a Computer: A Guide - Indeed
The ability to select multiple files is important because it means you can perform actions on many files at one time, which is...
Read more >How to Select Multiple Files or Folders on a Windows Computer
An alternative way to pick up multiple Windows files is through your mouse. Simply left-click your mouse button and drag it over the...
Read more >How to Select or Highlight Multiple Files and Folders
You can use a combination of selecting multiple files or folders and single files or folders at the same time by following the...
Read more >Support checking multiple files at once · Issue #149 - GitHub
Please support an arbitrary number of files passed in on the commandline. For example: cfn-lint template1.yaml template2.yaml.
Read more >How to Select Multiple Files on a Windows 10 PC at Once
To select multiple files on Windows 10 from your desktop, hold down the Ctrl key as you click on each file until all...
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 Free
Top 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
Nearly every linter supports as a standard interface
linter [filename, [filename ...]]
(except this one) please consider the precedents set by tools like pyflakes / flake8 / pylint / eslint / prettier / black / etc.Not only does this make invocation dead simple with xargs, it is much more performant (the interpreter and subprocess overhead occurs once instead of a linear amount of times by file). This overhead is especially high on windows. (even on Linux, compare the time taken between
git ls-files -- '*.py' | xargs pylint
vs.git ls-files -- '*.py' | xargs -n1 pylint
).Also in line with other posix tools you could simply invoke with a glob
linter *.yaml
instead of needing to copy paste a complicated wrapper everywhere.The main motivation here is so that this linter can easily be integrated into other frameworks, in particular https://pre-commit.com
Released in v0.7.4