Skip to content

Commit

Permalink
Merge pull request #184 from kufu/renovate/stylelint-16.x
Browse files Browse the repository at this point in the history
Update dependency stylelint to v16
  • Loading branch information
mkmn authored Feb 28, 2024
2 parents e7c8766 + 0123fe5 commit 154326e
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 289 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@
"postcss-preset-env": "^9.3.0",
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0",
"stylelint": "^15.11.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^34.0.0",
"stylelint": "^16.2.1",
"stylelint-config-standard": "^36.0.0",
"typescript": "^5.3.3"
}
}
22 changes: 2 additions & 20 deletions stylelint.config.cjs
Original file line number Diff line number Diff line change
@@ -1,35 +1,17 @@
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
extends: ['stylelint-config-standard'],
customSyntax: 'postcss-html',
rules: {
'value-keyword-case': null,
'property-case': 'lower',
'unit-case': 'lower',
'function-name-case': null,
'declaration-colon-space-before': 'never',
'declaration-colon-space-after': 'always-single-line',
'declaration-block-trailing-semicolon': 'always',
'declaration-block-semicolon-newline-after': 'always',
'declaration-empty-line-before': null,
'block-closing-brace-empty-line-before': 'never',
'block-closing-brace-newline-after': 'always',
'block-opening-brace-space-before': 'always',
'selector-attribute-brackets-space-inside': 'never',
'selector-attribute-operator-space-after': 'never',
'selector-attribute-operator-space-before': 'never',
'selector-attribute-quotes': 'always',
'selector-combinator-space-after': 'always',
'selector-combinator-space-before': 'always',
'string-quotes': 'single',
'font-family-name-quotes': 'always-where-required',
'value-list-comma-space-after': 'always',
'number-leading-zero': 'always',
'color-hex-length': 'short',
'color-hex-case': 'lower',
'no-descending-specificity': null,
'rule-empty-line-before': null,
'alpha-value-notation': 'number',
'color-function-notation': 'legacy',
'selector-class-pattern': null,
},
}
};
Loading

0 comments on commit 154326e

Please sign in to comment.