Replies: 1 comment
-
不需要了, 另外除了组件库以外格式化 css 的意义不大,css 的新语法也是出现的非常快的,lint 基本跟不上(除非你一直升级,这是不现实的),同时 css in js 和现在 stylx 等 precompiled atom 的 css in js 也非常流行,是不可能 cover 这么多场景的 css lint 的,所以不建议使用任何形式的 css lint 了(或者就使用 tailwind + 相关 prettier 插件来排序)。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
stylelint-config-prettier
umi lint使用的是新版的stylelint, 这里stylelint-config-prettier还是旧的版本,是否不需要这个插件了?Note
As of Stylelint v15 all style-related rules have been deprecated. If you are using v15 or higher and are not making use of these deprecated rules, this plugin is no longer necessary.
Beta Was this translation helpful? Give feedback.
All reactions