mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
26 lines
1.1 KiB
JavaScript
26 lines
1.1 KiB
JavaScript
/** @type {import('stylelint').Config} */
|
|
export default {
|
|
extends: 'stylelint-config-recommended-scss',
|
|
rules: {
|
|
'no-empty-source': null,
|
|
'block-no-empty': [true, { severity: 'warning' }],
|
|
'no-descending-specificity': null,
|
|
'font-family-no-missing-generic-family-keyword': [
|
|
true,
|
|
{ ignoreFontFamilies: ['Material Icons'] },
|
|
],
|
|
'selector-type-no-unknown': null, // stylelint doesn't recognize angular components
|
|
'scss/comment-no-empty': null, // allow for double slash multiline comments
|
|
'scss/load-no-partial-leading-underscore': null, // this project uses underscored files
|
|
'scss/operator-no-newline-after': null, // prettier conficts with this rule
|
|
'scss/operator-no-unspaced': null, // code style not error
|
|
'scss/load-partial-extension': null, // it's code style not an error
|
|
'scss/no-global-function-names': null, // to pass this a big migration is required, to be re-enabled later
|
|
'selector-pseudo-element-no-unknown': [
|
|
true,
|
|
{
|
|
ignorePseudoElements: ['ng-deep'],
|
|
},
|
|
],
|
|
},
|
|
};
|