ITADN

`prevent-abbreviations`: support CSS

#3265Openfregante 创建于 2026-06-15
evaluatingchange request
F
fregantecommented
### Description As titled. Honestly I don't know if it's useful or needed, the idea just stemmed from - https://github.com/sindresorhus/eslint-plugin-unicorn/issues/3257 - #2967 I think the classes can benefit from `prevent-abbreviations` if it's a CSS module otherwise the rule might just be too difficult/noisy to follow. Can the rule support CSS Modules only? ### Examples ```css // ❌ .dev { content: 'dev' } // ✅ .development { content: 'development' /* probably not!? */ } // ✅ :global(.dev) { content: 'dev' } ``` ### Additional Info _No response_
0 条评论