Skip to content

Commit 1ea0300

Browse files
committed
thjs-122: * stylelint configuration for workspaces
1 parent f1003bc commit 1ea0300

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

apps/frontend/stylelint.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ const config = {
33
extends: ['../../stylelint.config.js', 'stylelint-config-standard-scss'],
44
plugins: ['stylelint-scss'],
55
rules: {
6+
'color-hex-length': 'long',
7+
'declaration-no-important': true,
8+
'max-nesting-depth': 0,
9+
'no-descending-specificity': true,
610
'selector-class-pattern': null,
711
'selector-pseudo-class-no-unknown': [
812
true,
913
{ ignorePseudoClasses: ['global'] }
10-
]
14+
],
15+
'unit-disallowed-list': ['em', 'rem']
1116
}
1217
};
1318

stylelint.config.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
/** @type {import('stylelint').Config} */
22
const config = {
3-
extends: ['stylelint-config-standard', 'stylelint-config-recess-order'],
4-
rules: {
5-
'color-hex-length': 'long',
6-
'declaration-no-important': true,
7-
'max-nesting-depth': 0,
8-
'no-descending-specificity': true,
9-
'selector-class-pattern': null,
10-
'unit-disallowed-list': ['em', 'rem']
11-
}
3+
extends: ['stylelint-config-standard', 'stylelint-config-recess-order']
124
};
135

146
export default config;

0 commit comments

Comments
 (0)