Forrest logo
back to the parallel-lint tool

parallel-lint:tldr:aa771

parallel-lint: Lint a directory of files using a comma-separated list of extension(s).
$ parallel-lint -e ${php,html,phpt} ${path-to-directory}
try on your machine

The "parallel-lint" command is used to perform parallel linting on multiple files and directories.

Here is the breakdown of the command:

  • "parallel-lint": This is the name of the command itself, which is used to execute the parallel linting process.
  • "-e ${php,html,phpt}": The "-e" flag specifies the file extensions to be included in the linting process. In this case, it includes PHP, HTML, and PHPT (PHP test file) extensions. "${php,html,phpt}" is a placeholder that will be replaced with the actual file extensions when executing the command.
  • "${path-to-directory}": This is the path to the directory where the linting process will be performed. It can be replaced with the actual path to the target directory.

In summary, the command will perform linting on all PHP, HTML, and PHPT files within the specified directory simultaneously.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the parallel-lint tool