wishthis/node_modules/fomantic-ui/.stylelintrc.js
2023-08-17 11:47:40 +02:00

48 lines
1.8 KiB
JavaScript

module.exports = {
extends: [
'stylelint-config-standard',
],
customSyntax: 'postcss-less',
ignoreFiles: [
'dist/**',
'test/coverage/**',
],
rules: {
'at-rule-empty-line-before': null,
'at-rule-name-case': null,
'at-rule-no-unknown': null,
'block-no-empty': null,
'color-function-notation': 'legacy',
'color-hex-case': 'lower',
'declaration-colon-newline-after': null, // handled by Prettier
'font-family-no-missing-generic-family-keyword': null,
'function-no-unknown': null,
'import-notation': null,
indentation: null, // handled by Prettier
'keyframes-name-pattern': null,
linebreaks: 'unix',
'max-line-length': null,
'no-descending-specificity': null,
'no-extra-semicolons': null, // handled by Prettier
'no-duplicate-selectors': null,
'number-max-precision': 5,
'property-case': null,
'property-no-vendor-prefix': [true, {
ignoreProperties: [
'background-clip', // https://caniuse.com/background-clip-text
'appearance', // https://caniuse.com/css-appearance
'backdrop-filter', // https://caniuse.com/css-backdrop-filter
'text-size-adjust', // https://caniuse.com/text-size-adjust
],
}],
'rule-empty-line-before': null,
'string-quotes': 'double',
'value-keyword-case': null,
// TODO rules to be removed/fixed in v2.10.0 as fixes are not compatible with IE11
'alpha-value-notation': 'number', // https://caniuse.com/mdn-css_properties_opacity_percentages
'selector-not-notation': null, // https://caniuse.com/css-not-sel-list
'selector-no-vendor-prefix': null,
},
reportNeedlessDisables: true,
};