project list ignored

Check your local project package directories for forceignored files.

Description for project list ignored 

When deploying or retrieving metadata between your local project and an org, you can specify the source files you want to exclude with a .forceignore file. The .forceignore file structure mimics the .gitignore structure. Each line in .forceignore specifies a pattern that corresponds to one or more files. The files typically represent metadata components, but can be any files you want to exclude, such as LWC configuration JSON files or tests.

Aliases for project list ignored 

force:source:ignored:list

Flags 

Flag Name (Long)Flag Name (Short)Description
‑‑flags‑dirN/AType: Value

Import flag values from a directory.
‑‑jsonN/AType: Boolean

Format output as json.
‑‑source‑dir‑pType: Value

File or directory of files that the command checks for foreceignored files.

Examples for project list ignored 

List all the files in all package directories that are ignored:

1sf project list ignored

List all the files in a specific directory that are ignored:

1sf project list ignored --source-dir force-app

Check if a particular file is ignored:

1sf project list ignored --source-dir package.xml