stylelintでextendsルールを上書きできない
Opened this issue · 0 comments
mitsuruog commented
現在、stylelint-config-suitcss
をextendsしてルールを作成してます。
#31 の件でproperty-no-vendor-prefix
を上書きするさいの課題です。現在は回避しています。
stylelint/configuration.md at master · stylelint/stylelint https://github.com/stylelint/stylelint/blob/master/docs/user-guide/configuration.md#extends
を参照すると、次のように定義できそうなのですが、動作しませんでした。
そのため、stylelint-config-suitcss
の内容をそのままコピーして、property-no-vendor-prefix
の部分を直接上書きしています。
module.exports = {
'extends': 'stylelint-config-suitcss',
'rules': {
'property-no-vendor-prefix': null,
},
};
stylelintのバグかもしれないので、現状のまま少し放置します。