forked from pancakeswap/pancake-frontend
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.stylelintrc.js
36 lines (35 loc) · 859 Bytes
/
.stylelintrc.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
34
35
36
/**
* @type {import("stylelint").ConfigRules}
*/
const commonRules = {
'alpha-value-notation': null,
'color-function-notation': null,
'comment-empty-line-before': null,
'custom-property-empty-line-before': null,
'declaration-empty-line-before': null,
'function-whitespace-after': null,
'no-descending-specificity': null,
'rule-empty-line-before': null,
'value-keyword-case': null,
}
/**
* @type {import("stylelint").Config}
*/
module.exports = {
overrides: [
{
files: ['**/*.{ts,tsx}'],
extends: [
'stylelint-config-standard',
'stylelint-config-recommended',
'stylelint-config-styled-components',
'stylelint-config-prettier',
],
customSyntax: '@stylelint/postcss-css-in-js',
rules: {
...commonRules,
'function-no-unknown': null,
},
},
],
}