-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
stylelint.config.js
37 lines (37 loc) · 962 Bytes
/
stylelint.config.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
module.exports = {
extends: ['stylelint-config-standard'],
// add your custom config here
// https://stylelint.io/user-guide/configuration
// ignore all files that are not of the 3 types listed below
ignoreFiles: [],
// in addition use the defined rule sets
rules: {
'at-rule-empty-line-before': [
'always',
{
except: ['first-nested'],
},
],
'at-rule-no-unknown': [
true,
{
ignoreAtRules: ['include', 'mixin', 'if'],
},
],
'block-no-empty': true,
'color-no-invalid-hex': true,
'color-hex-length': 'long',
'font-family-no-duplicate-names': true,
'font-family-no-missing-generic-family-keyword': [
true,
{
ignoreFontFamilies: ['Nunito'],
},
],
'no-invalid-double-slash-comments': true,
'property-no-vendor-prefix': true,
'selector-class-pattern': null,
'string-no-newline': true,
'unit-no-unknown': true,
},
}