forked from metalsmith/metalsmith.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.stylelintrc.js
More file actions
30 lines (30 loc) · 847 Bytes
/
.stylelintrc.js
File metadata and controls
30 lines (30 loc) · 847 Bytes
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
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
plugins: ['stylelint-no-unsupported-browser-features', 'stylelint-selector-bem-pattern'],
rules: {
'at-rule-empty-line-before': [
'always',
{
except: ['first-nested']
}
],
'font-family-name-quotes': 'always-where-recommended',
'at-rule-no-vendor-prefix': true,
'media-feature-name-no-vendor-prefix': true,
'property-no-vendor-prefix': true,
'selector-no-vendor-prefix': true,
'value-no-vendor-prefix': true,
'color-named': 'never',
'declaration-no-important': true,
'font-weight-notation': 'numeric',
'plugin/no-unsupported-browser-features': [
true,
{
severity: 'warning'
}
],
'plugin/selector-bem-pattern': {
preset: 'suit'
}
}
};