Skip to content

Conversation

@bharatkashyap
Copy link
Collaborator

@bharatkashyap bharatkashyap added the scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). label Feb 8, 2024
Copy link
Member

@Janpot Janpot left a 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?

@bharatkashyap
Copy link
Collaborator Author

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?

@Janpot
Copy link
Member

Janpot commented Feb 20, 2024

@bharatkashyap Could this help us?

@alexfauquette
Copy link
Member

alexfauquette commented Feb 20, 2024

@bharatkashyap Could mui/material-ui#41176 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)

Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this

bharatkashyap and others added 5 commits February 22, 2024 02:52
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]>
bharatkashyap and others added 5 commits February 22, 2024 02:53
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]>
@bharatkashyap bharatkashyap merged commit ee9eef5 into mui:master Feb 22, 2024
# 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
Copy link
Member

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:

Suggested change
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs-infra] Setup up vale to enforce style guide rules

5 participants