forked from jackjdleslie/neptune-web
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstylelint.config.js
36 lines (36 loc) · 930 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
module.exports = {
extends: ['stylelint-config-standard'],
plugins: [
'stylelint-value-no-unknown-custom-properties',
'stylelint-no-unsupported-browser-features',
],
rules: {
'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,
'no-descending-specificity': null,
'plugin/no-unsupported-browser-features': [
true,
{
severity: 'warning',
},
],
'csstools/value-no-unknown-custom-properties': [
true,
{
importFrom: ['./node_modules/@transferwise/neptune-tokens/tokens.css'],
},
],
},
ignoreFiles: [
'**/*.js',
'**/*.ts',
'**/*.tsx',
'**/bootstrap-forms.less',
'**/legacy-variables.less',
'**/navbar-base.less',
'**/_logical-properties-modern-browsers.less',
],
};