-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstylelint.config.js
28 lines (28 loc) · 940 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
// @see https://www.npmjs.com/package/stylelint-stylus
// @see https://stylelint.io/user-guide/configure/
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-prettier',
'stylelint-config-standard-scss',
'stylelint-config-prettier-scss',
// @see https://www.npmjs.com/package/stylelint-stylus
'stylelint-stylus/standard',
],
// plugins: [
// // add this plugin here:
// "stylelint-stylus",
// ],
// overrides: [
// {
// files: ["*.stylus", "*.styl", "**/*.stylus", "**/*.styl"],
// customSyntax: "postcss-styl",
// },
// ],
rules: {
// override/add rules settings here, such as:
// "stylus/declaration-colon": "never"
// @see https://stylelint.io/user-guide/rules/list/selector-pseudo-class-no-unknown/#ignorepseudoclasses-regex-string
'selector-pseudo-class-no-unknown': [true, { ignorePseudoClasses: ['global', 'local'] }],
},
};