forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylelint.config.mjs
More file actions
33 lines (33 loc) · 911 Bytes
/
stylelint.config.mjs
File metadata and controls
33 lines (33 loc) · 911 Bytes
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
export default {
extends: 'stylelint-config-standard',
rules: {
'alpha-value-notation': null,
'custom-property-pattern': null,
'media-feature-range-notation': null,
'no-empty-source': null,
'selector-class-pattern': null,
'string-no-newline': null, // not compatible with prettier
'value-keyword-case': null,
},
overrides: [
{
files: ['**/*.js', '**/*.cjs', '**/*.mjs', '**/*.mts', '**/*.ts', '**/*.tsx'],
customSyntax: 'postcss-styled-syntax',
},
{
files: [
'docs/data/material/integrations/interoperability/**/*.js',
'docs/data/material/integrations/interoperability/**/*.tsx',
],
rules: {
'nesting-selector-no-missing-scoping-root': null,
},
},
{
files: ['docs/data/joy/**/*.js', 'docs/data/joy/**/*.tsx'],
rules: {
'property-no-deprecated': null,
},
},
],
};