usrspace-browser-addon/.stylelintrc.cjs
Thomas Rupprecht b631c01873 chore(package): update dependencies
update: `@commitlint/{cli,config-conventional,cz-commitlint}`, `@types/firefox-webext-browser`,
`dprint`, `eslint{,-plugin-unicorn}`, `git-cliff`, `stylelint-plugin-defensive-css`
2023-11-08 20:03:59 +01:00

28 lines
783 B
JavaScript

module.exports = {
extends: ['stylelint-config-standard'],
plugins: ['stylelint-plugin-defensive-css', 'stylelint-plugin-logical-css'],
rules: {
'custom-property-empty-line-before': null,
'color-hex-length': 'long',
'plugin/use-defensive-css': [true, {
'accidental-hover': false,
'background-repeat': true,
'custom-property-fallbacks': false,
'flex-wrapping': false,
'scroll-chaining': false,
'scrollbar-gutter': false,
'vendor-prefix-grouping': true,
}],
'plugin/use-logical-properties-and-values': [true, {
'severity': 'warning',
'disable-auto-fix': true,
'ignore': ['overflow-y', 'overflow-x'],
}],
'plugin/use-logical-units': [true, {
'severity': 'warning',
'disable-auto-fix': true,
'ignore': ['dvh', 'dvw'],
}],
},
};