Stylelint14の対応
Closed this issue · 3 comments
Hiratake commented
Stylelintのバージョン14への移行対応を行う。
https://stylelint.io/migration-guide/to-14/
Hiratake commented
SCSSを扱うには stylelint-config-standard-scss が必要。
現在入っている stylelint-config-standard
は stylelint-config-standard-scss
に含まれているようなので削除。
Hiratake commented
Vueで使用するには postcss-html が必要。
パッケージのページに postcss-scss を入れるようにとあるのでこれも追加する。
If you want support SCSS/SASS/LESS/SugarSS syntax, you need to install the corresponding module.
SCSS: postcss-scss
Hiratake commented
クラス名に kebab-case を強要されてBEMが使えないので selector-class-pattern
を設定する。
また、 rgba()
でカンマを削除するようにエラーが出るが、ビルド時におこられるので color-function-notation
を legacy
にする。