-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I've been trying out the new experimental CLI, and it is indeed seeming to be a lot faster.
Something I've noticed is that it appears there's no current support for Configuration Overrides. I suspect it just hasn't been added yet, which is fine, but as I couldn't see an existing issue for it, I thought I'd file one for helping with tracking.
STR
- Set up a repo with a
.prettierrc.jssuch as the one below:
module.exports = {
arrowParens: "avoid",
endOfLine: "lf",
printWidth: 80,
tabWidth: 2,
trailingComma: "es5",
overrides: [
{
files: "*.css",
options: {
parser: "css",
// Using a larger printWidth to avoid wrapping selectors.
printWidth: 160,
},
},
],
};- Run the formatter
Expected Results
The CSS files are formatted correctly, with line width 160.
Actual Results
The CSS files are formatted with line width 80.
Standard8, tordans, kirillgroshkov and cypressSapkirillgroshkov
Metadata
Metadata
Assignees
Labels
No labels