fabric icon indicating copy to clipboard operation
fabric copied to clipboard

Fix compatibility with stylelint 14.0

Open wushangwei opened this issue 2 years ago • 1 comments

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 https://github.com/stylelint/stylelint/issues/3259

wushangwei avatar Jun 17 '22 14:06 wushangwei

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

chenshuai2144 avatar Jun 28 '22 09:06 chenshuai2144