2023-07-25 22:38:04 +02:00
|
|
|
module.exports = {
|
2023-11-11 16:18:20 +01:00
|
|
|
plugins: ['stylelint-stylus'],
|
|
|
|
rules: {
|
|
|
|
'stylus/pythonic': 'never',
|
|
|
|
'stylus/declaration-colon': 'always',
|
|
|
|
'stylus/semicolon': 'never',
|
|
|
|
'stylus/single-line-comment-double-slash-space-after': 'always',
|
|
|
|
'stylus/property-no-unknown': null,
|
|
|
|
'stylus/selector-type-no-unknown': null,
|
|
|
|
'stylus/selector-list-comma': 'always',
|
|
|
|
'stylus/indentation': [
|
2023-11-11 16:22:07 +01:00
|
|
|
2,
|
2023-11-11 16:18:20 +01:00
|
|
|
{
|
|
|
|
indentInsideParens: 'twice',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'rule-empty-line-before': [
|
|
|
|
'always',
|
|
|
|
{
|
|
|
|
except: ['first-nested'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
extends: ['stylelint-stylus/standard'],
|
2023-07-26 00:22:22 +02:00
|
|
|
}
|