forked from smocean/stylelint-config-sm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
18 lines (18 loc) · 1.08 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"name": "stylelint-config-sm",
"version": "0.2.1",
"description": "sm shareable config for stylelint",
"keywords": [
"stylelint",
"stylelint-config"
],
"author": {
"name": "fengxuena"
},
"main": "index.js",
"readme": "# stylelint-config-sm\n\n> 神马前端stylelint配置\n\n\n## 安装\n\n依次在项目目录中安装如下node.js依赖包:\n\n```console\n$ npm install stylelint\n```\n```console\n$ npm install postcss\n```\n```console\n$ npm install postcss-scss\n```\n```console\n$ npm install stylelint-config-sm\n```\n\n## 使用\n\n项目中.stylelintrc配置文件为:\n\n```json\n{\n \"extends\": \"stylelint-config-sm\"\n}\n```\n\n### 扩展配置\n\n可以在配置文件中添加`rules`选项,覆盖或者添加新规则。\n\n```json\n{\n \"extends\": \"stylelint-config-sm\",\n \"rules\": {\n \"indentation\": [2, \"tab\"],\n \"number-leading-zero\": 0\n }\n}\n```\n\n",
"readmeFilename": "README.md",
"_id": "[email protected]",
"_shasum": "c5f245af9bc5aa2c9ad93a87e623f80a88eba2d4",
"_from": "stylelint-config-sm@*"
}