-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.js
32 lines (32 loc) · 1 KB
/
.stylelintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-css-modules',
'stylelint-config-prettier',
],
plugins: ['stylelint-declaration-block-no-ignored-properties'],
customSyntax: 'postcss-scss',
rules: {
'no-descending-specificity': null,
'function-url-quotes': 'always',
'selector-attribute-quotes': 'always',
'font-family-no-missing-generic-family-keyword': null,
'plugin/declaration-block-no-ignored-properties': true,
'unit-no-unknown': [true, { ignoreUnits: ['rpx'] }],
// webcomponent
'selector-type-no-unknown': null,
'at-rule-no-unknown': [
true,
{
ignoreAtRules: ['mixin', 'include', 'extend'],
},
],
'function-no-unknown': [true, { ignoreFunctions: ['constant'] }],
'import-notation': null,
'no-empty-source': null,
'property-no-vendor-prefix': null,
'selector-class-pattern': null,
'value-keyword-case': null,
},
ignoreFiles: ['**/*.js', '**/*.jsx', '**/*.tsx', '**/*.ts'],
};