mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 02:12:43 +08:00
chore: update stylelint config (#2400)
This commit is contained in:
parent
58d1186d5c
commit
784539f88e
21
.stylelintrc
Normal file
21
.stylelintrc
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"extends": [
|
||||
"@vant/stylelint-config"
|
||||
],
|
||||
"rules": {
|
||||
"unit-no-unknown": [
|
||||
true,
|
||||
{
|
||||
"ignoreUnits": "/rpx/"
|
||||
}
|
||||
],
|
||||
"selector-type-no-unknown": [
|
||||
true,
|
||||
{
|
||||
"ignoreTypes": [
|
||||
"/page/"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
page {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
background: #f2f3f5;
|
||||
min-height: 100vh;
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
padding: 0 0 100rpx;
|
||||
color: #323233;
|
||||
font-size: 16px;
|
||||
font-family: 'PingFang SC', Helvetica, Arial, sans-serif;
|
||||
background: #f7f8fa;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-family: 'PingFang SC', Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.demo-margin-left {
|
||||
|
@ -81,11 +81,6 @@
|
||||
"webpack-cli": "^3.3.6",
|
||||
"webpack-serve": "^2.0.3"
|
||||
},
|
||||
"stylelint": {
|
||||
"extends": [
|
||||
"@vant/stylelint-config"
|
||||
]
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user