New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Restrict docs markdown and demos to 80ch #21481
Conversation
Details of bundle changes.Comparing: 2c56498...c1aee17 Details of page changes
|
@@ -31,10 +31,6 @@ const babelConfig = { | |||
|
|||
const workspaceRoot = path.join(__dirname, '../../'); | |||
|
|||
const prettierConfig = prettier.resolveConfig.sync(process.cwd(), { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works in a world without overrides
. To get options from overrides
we need to tell prettier for which file we want the config.
@eps1lon Have you consider to use 80 ch? It's the recommended and default max-width from Prettier. Here is how |
No argument here. Re-used 60ch from the markdown codeblocks. |
035fa96
to
972cbc8
Compare
972cbc8
to
c1aee17
Compare
It was discovered in #21463 (comment) that some of our demos overflow since they're formatted with a print-width of 100ch. . We reduced it to
6080(#21481 (comment)) in #21463 for inline code blocks but the PR was merged before we had a chance to decide what to do with standalone demos.