generated from morewings/ts-redux-next
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylelint.config.js
More file actions
22 lines (22 loc) · 801 Bytes
/
stylelint.config.js
File metadata and controls
22 lines (22 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-prettier/recommended'],
rules: {
'function-calc-no-unspaced-operator': true,
'order/order': ['custom-properties', 'declarations'],
'order/properties-alphabetical-order': true,
'property-no-vendor-prefix': true,
'media-feature-name-no-vendor-prefix': true,
'at-rule-no-vendor-prefix': true,
'selector-no-vendor-prefix': true,
'max-nesting-depth': 3,
'selector-max-compound-selectors': 5,
'selector-class-pattern': [
'^[a-z][a-zA-Z0-9]+$',
{
message: 'Expected "%s" variable name to be lower camelCase',
},
],
},
plugins: ['stylelint-order'],
ignoreFiles: ['**/*.snap'],
};