forked from nasa-jpl/explorer-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylelint.config.js
38 lines (38 loc) · 973 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
38
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
// add your custom config here
// https://stylelint.io/user-guide/configuration
rules: {
'color-hex-length': 'long',
'declaration-block-trailing-semicolon': null,
'no-descending-specificity': null,
'at-rule-empty-line-before': [
'always',
{
except: ['first-nested'],
ignore: ['after-comment', 'blockless-after-same-name-blockless'],
ignoreAtRules: ['apply'],
},
],
'at-rule-no-unknown': [
true,
{
// Ignore at-rules introduced by Tailwind and Sass via PostCSS.
ignoreAtRules: [
'tailwind',
'variants',
'responsive',
'apply',
'screen',
'layer',
'include',
'mixin',
'for',
'use',
'extend',
],
},
],
},
ignoreFiles: ['dist/**/*', 'node_modules/**/*'],
}