Support configuration defined ignore lists in a similar way as ESLint (loading ignore lists from multiple sources) #15481
Labels
area:cli
Issues with Prettier's Command Line Interface
type:enhancement
A potential new feature to be added, or an improvement to how we print something
The current options for ignoring files are inadequate for complex projects where lists of files to be ignored may be shared across different tools.
As proposed elsewhere in a PR, using ESLint's style of
ignorePatterns
in the configuration file would fix this issue and provide plenty of flexibility.Using the same
ignorePatterns
in Prettier's configuration file would:The current options are inadequate because:
.prettierignore
does not allow import from other files.--ignore-path
arguments on the command line (added in v3), is not practical for editor integration, since different editors would need additional settings.prettierIgnore
key inpackage.json
#12672 are proposing for aprettierIgnore
in package.json, however, this is insufficient as:eslintIgnore
list as well which would likely largely be a duplicate.The text was updated successfully, but these errors were encountered: