forked from terrazzoapp/terrazzo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylelint.config.js
More file actions
19 lines (19 loc) · 865 Bytes
/
Copy pathstylelint.config.js
File metadata and controls
19 lines (19 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** @type {import('stylelint').Config} */
export default {
extends: ['stylelint-config-standard'],
plugins: ['stylelint-order'],
ignoreFiles: ['**/*.js', '**/*.ts', '**/*.tsx', '**/test/*'],
rules: {
'alpha-value-notation': 'number',
'declaration-block-no-redundant-longhand-properties': null, // this is fine
'hue-degree-notation': 'number',
'import-notation': null,
'lightness-notation': 'number',
'no-descending-specificity': null, // this often leads to unsolvable riddles
'number-max-precision': null, // in the running for dumbest rule ever created
'order/properties-alphabetical-order': true, // let me find things
'property-no-vendor-prefix': null, // we still need this
'selector-class-pattern': null,
'selector-pseudo-class-no-unknown': null, // stylelint considers the :global selector unknown
},
};