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

Fix compatibility with stylelint 14.0 #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wushangwei
Copy link

@wushangwei wushangwei commented Jun 17, 2022

When stylelint upgrades to 14.x, projects using fabric's stylelint (like Ant Design Pro) with throw errors:
Unknown rule function-calc-no-invalid function-calc-no-invalid
'function-calc-no-invalid' is removed in stylelint 14.x, and in order to get rid of the error, stylelint-config-standard should be upgraded.

Then, I also noticed that stylelint is throwing selector-class-pattern errors in my Ant Design Pro project, due to the rules forcing kebab cases. So added two permissive rules according to stylelint/stylelint#3259

@chenshuai2144
Copy link
Collaborator

我想去掉stylelint,这个库太鸡肋了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants