first commit
This commit is contained in:
1
vant/packages/vant-stylelint-config/.pydio
Normal file
1
vant/packages/vant-stylelint-config/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
321234b7-9344-429c-a26c-b902a0e7040f
|
||||
23
vant/packages/vant-stylelint-config/README.md
Normal file
23
vant/packages/vant-stylelint-config/README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# Stylelint Config of Vant
|
||||
|
||||
## Install
|
||||
|
||||
#### NPM
|
||||
|
||||
```shell
|
||||
npm i @vant/stylelint-config -D
|
||||
```
|
||||
|
||||
#### YARN
|
||||
|
||||
```shell
|
||||
yarn add @vant/stylelint-config --dev
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
{
|
||||
"extends": ["@vant/stylelint-config"]
|
||||
}
|
||||
```
|
||||
11
vant/packages/vant-stylelint-config/index.js
Normal file
11
vant/packages/vant-stylelint-config/index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
module.exports = {
|
||||
extends: ['stylelint-config-standard', 'stylelint-config-rational-order'],
|
||||
rules: {
|
||||
'order/properties-order': [],
|
||||
'at-rule-no-unknown': null,
|
||||
'number-leading-zero': null,
|
||||
'no-descending-specificity': null,
|
||||
'declaration-colon-newline-after': null,
|
||||
'font-family-no-missing-generic-family-keyword': null,
|
||||
},
|
||||
};
|
||||
19
vant/packages/vant-stylelint-config/package.json
Normal file
19
vant/packages/vant-stylelint-config/package.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "@vant/stylelint-config",
|
||||
"version": "1.1.0",
|
||||
"description": "stylelint config of vant.",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-stylelint-config",
|
||||
"peerDependencies": {
|
||||
"stylelint": "^12.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"stylelint-config-rational-order": "^0.1.2",
|
||||
"stylelint-config-standard": "^19.0.0",
|
||||
"stylelint-order": "^3.1.1"
|
||||
}
|
||||
}
|
||||
2433
vant/packages/vant-stylelint-config/yarn.lock
Normal file
2433
vant/packages/vant-stylelint-config/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user