forked from vmware-clarity/ng-clarity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.js
37 lines (36 loc) · 1.22 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
33
34
35
36
37
/*
* Copyright (c) 2016-2024 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
module.exports = {
extends: ['stylelint-config-recommended-scss', 'stylelint-config-prettier'],
defaultSeverity: 'error',
plugins: ['stylelint-scss', 'stylelint-plugin-license-header'],
rules: {
'no-descending-specificity': null,
'no-duplicate-selectors': null,
'no-invalid-position-at-import-rule': null,
'plugin/license-header': [true, { license: './.license-header.js' }],
'scss/at-extend-no-missing-placeholder': null,
'scss/at-import-no-partial-leading-underscore': null,
'scss/at-import-partial-extension': null,
'scss/comment-no-empty': null,
'scss/no-global-function-names': null,
'scss/operator-no-newline-after': null,
'scss/operator-no-unspaced': null,
'selector-type-no-unknown': [
true,
{
ignoreTypes: ['/^clr-/', '/^cds-/', '_'],
},
],
'selector-pseudo-element-no-unknown': [
true,
{
ignorePseudoElements: ['/^ng-deep/'],
},
],
},
};