-
-
Notifications
You must be signed in to change notification settings - Fork 283
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-infra] Add vale for style-guide lint on docs #3178
Conversation
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.
Few small comments. How can we share configs between projects?
We could probably define a common, custom GitHub action that runs with our intended configuration? |
@bharatkashyap Could this help us? |
We will have to add the client/server side rules. But otherwise I think yes it would be better to copy what will be in mui/mui-x#12132 such that @samuelsycamore can update rules at one place to enforce every repo to use it (or at least be aware of them) |
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.
Love this
Co-authored-by: Jan Potoms <[email protected]> Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Jan Potoms <[email protected]> Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]> Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]> Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]> Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]> Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]> Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]> Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]> Signed-off-by: Bharat Kashyap <[email protected]>
# 2. Update/create YAML files | ||
# 3. Run `pnpm docs:zipRules` to generate the zip files | ||
# 4. You can test locally by replacing the url with the file path of the generated zip | ||
Packages = Google, https://github.com/mui/material-ui/raw/master/docs/writing-rules.zip |
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.
We have no guarantees that master is the active branch:
Packages = Google, https://github.com/mui/material-ui/raw/master/docs/writing-rules.zip | |
Packages = Google, https://github.com/mui/material-ui/raw/HEAD/docs/writing-rules.zip |
handled in #3293.
vale
to enforce style guide rules #3167