Forrest logo
back to the parallel-lint tool

parallel-lint:tldr:cabdf

parallel-lint: Lint a directory, excluding the specified directory.
$ parallel-lint --exclude ${path-to-excluded_directory} ${path-to-directory}
try on your machine

The command parallel-lint is a tool used for linting PHP files, which means it checks for errors, warnings, and coding style violations in the codebase.

Let's break down the command:

  • parallel-lint refers to the executable or command used to run the linting tool.
  • --exclude is an option or flag used to specify the path to the directory that needs to be excluded from the linting process. This allows you to skip linting specific directories.
  • ${path-to-excluded_directory} is a placeholder indicating that you need to replace it with the actual path to the directory you want to exclude from the linting. For example, if you want to exclude a directory named "tests" located in the current directory, you would replace ${path-to-excluded_directory} with ./tests.
  • ${path-to-directory} is another placeholder indicating that you need to replace it with the actual path to the directory that you want to lint. It represents the target directory where the linting process will be performed. Replace it with the path to the directory you want to lint.

Overall, the command runs the parallel-lint tool with the specified options to lint the PHP files in the given directory, excluding the designated excluded directory.

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