forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.js
20 lines (20 loc) · 757 Bytes
/
.stylelintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module.exports = {
processors: ['stylelint-processor-styled-components'],
extends: 'stylelint-config-standard',
ignoreFiles: [
// TypeScript declaration files contain no styles.
// Stylelint is also reporting parseError on `docs/types/react-docgen.d.ts`.
'**/*.d.ts',
],
rules: {
'value-no-vendor-prefix': true,
'property-no-vendor-prefix': true,
'no-empty-source': null,
'no-missing-end-of-source-newline': null,
'declaration-colon-newline-after': null,
'value-keyword-case': null,
'value-list-comma-newline-after': null, // not compatible with prettier
'function-parentheses-newline-inside': null, // not compatible with prettier
'string-no-newline': null, // not compatible with prettier
},
};