-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.config.js
33 lines (32 loc) · 1 KB
/
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
// https://github.com/stylelint/stylelint/blob/main/docs/user-guide/configure.md
module.exports = {
overrides: [
{
files: [
'*.module.css',
'**/*.module.css',
'*.module.scss',
'**/*.module.scss',
],
rules: {
'selector-class-pattern': '[^]*',
},
},
{
files: ['apps/**/_app.scss'],
rules: {
'selector-id-pattern': '__next',
},
},
],
extends: [
'stylelint-config-standard', // https://github.com/stylelint/stylelint-config-standard
'stylelint-config-recommended-scss', // https://github.com/stylelint-scss/stylelint-config-recommended-scss
'stylelint-config-css-modules', // MUST come after config-standard and recommended-scss https://github.com/pascalduez/stylelint-config-css-modules
'stylelint-config-idiomatic-order', // https://github.com/ream88/stylelint-config-idiomatic-order
],
plugins: [
// 'stylelint-order', // https://github.com/hudochenkov/stylelint-order
],
rules: {},
};