Skip to content

Commit e33a99d

Browse files
committed
Rename *.scss to *.pcss
1 parent 0171a7e commit e33a99d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+182
-216
lines changed

.editorconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ trim_trailing_whitespace = true
88
insert_final_newline = true
99
indent_size = 2
1010

11-
[*.scss]
12-
indent_size = 4
13-
1411
[*.md]
1512
trim_trailing_whitespace = false
1613
indent_style = tab

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"import/extensions": 0,
7070
"import/prefer-default-export": 0,
7171
"jsx-a11y/no-static-element-interactions": 0,
72-
"jsx-a11y/label-has-for": 0
72+
"jsx-a11y/label-has-for": 0,
73+
"jsx-a11y/anchor-has-content": 0
7374
}
7475
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
"description": "一套前端设计语言和基于React的实现",
66
"scripts": {
77
"test": "lerna run test",
8-
"lint": "eslint packages/*/src packages/*/__tests__",
8+
"lint": "eslint packages/*/src packages/*/__tests__ site/src/ site/webpack site/zent site/scripts",
99
"eslint-check": "eslint --print-config packages/zent/button/index.js | eslint-config-prettier-check",
1010
"bootstrap": "./scripts/bootstrap.sh",
1111
"format-js": "prettier --single-quote --write",
12-
"prettify": "prettier --single-quote --write -- \"packages/*/{src,__tests__}/**/*.js\"",
12+
"prettify": "prettier --single-quote --write -- \"packages/*/{src,__tests__}/**/*.js\" \"site/{src,scripts,webpack,zent}/**/*.js\"",
1313
"postinstall": "./scripts/ensure-husky-hooks.sh",
1414
"precommit": "lint-staged",
1515
"prepush": "yarn lint && yarn test"
1616
},
1717
"lint-staged": {
18-
"packages/**/*.js": [
18+
"*.js": [
1919
"format-js",
2020
"eslint",
2121
"git add"
File renamed without changes.

packages/zent/assets/button.pcss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@import "./button/_zent-button-variable.pcss";
2+
@import "./button/_zent-button.pcss";
3+
/*大小相关*/
4+
@import './button/_zent-button-size.pcss';
5+
6+
/*风格相关*/
7+
@import './button/_zent-button-style.pcss';
8+
9+
/*状态相关*/
10+
@import './button/_zent-button-status.pcss';
11+
12+
@import './button/_zent-button-bordered.pcss';

packages/zent/assets/button.scss

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)