Skip to content
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

[Feature]: when set "stylelint.configFile",merge the config in .stylelintrc in the project and the config in "stylelint.configFile" #414

Open
1 task done
u373693041 opened this issue Aug 5, 2022 · 0 comments
Labels
type: enhancement a new feature that isn't related to rules

Comments

@u373693041
Copy link

What problem does this feature solve?

I have a global stylelint config, so i set "stylelint.configFile"
But I have specific rules in some projects, so I need create a .stylelintrc.json in the project to set the specific rules
and I need the rules which set in "stylelint.configFile" needn't set in project again
so merge them like eslint is a good way

How does this feature solve the problem?

if there is a .stylelintrc.json in the project folder, merge them
and the file in project root has higher priority

What are some alternatives to this feature?

No response

Code of Conduct

  • I agree to follow vscode-stylelint's Code of Conduct
@u373693041 u373693041 added the type: enhancement a new feature that isn't related to rules label Aug 5, 2022
@u373693041 u373693041 changed the title [Feature]: when set "stylelint.configFile",merge the config in .stylelintrc in the project and the "stylelint.configFile" [Feature]: when set "stylelint.configFile",merge the config in .stylelintrc in the project and the config in "stylelint.configFile" Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement a new feature that isn't related to rules
Projects
None yet
Development

No branches or pull requests

1 participant