-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Treat .stylelintrc as YAML or JSON #10920
Copy link
Copy link
Closed
Labels
lang:jsonIssues affecting JSONIssues affecting JSONlang:yamlIssues affecting YAMLIssues affecting YAMLlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Metadata
Metadata
Assignees
Labels
lang:jsonIssues affecting JSONIssues affecting JSONlang:yamlIssues affecting YAMLIssues affecting YAMLlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Environments:
Steps to reproduce:
Prettier treats
.eslintrc(without extension) as JSON, but doesn't do the same to.stylelintrcor other cosmiconfig style config files.Expected behavior
*rcas built-in supported.cosmiconfigparser and use it as default for any*rcfiles without an extension.