Skip to content

Commit

Permalink
script: use default prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jun 5, 2019
1 parent fc136b6 commit 3d3b5ad
Show file tree
Hide file tree
Showing 14 changed files with 2,714 additions and 2,579 deletions.
8 changes: 4 additions & 4 deletions .gitpod.yml
@@ -1,6 +1,6 @@
ports:
- port: 8000
onOpen: open-preview
- port: 8000
onOpen: open-preview
tasks:
- init: npm install
command: npm start
- init: npm install
command: npm start
12 changes: 12 additions & 0 deletions .prettierignore
Expand Up @@ -2,3 +2,15 @@
package.json
.umi
.umi-production
/dist
.dockerignore
.DS_Store
.eslintignore
*.png
*.toml
docker
.editorconfig
Dockerfile*
.gitignore
.prettierignore
LICENSE
8 changes: 7 additions & 1 deletion .prettierrc
Expand Up @@ -9,6 +9,12 @@
"options": {
"parser": "json"
}
},
{
"files": "document.ejs",
"options": {
"parser": "html"
}
}
]
}
}
7 changes: 2 additions & 5 deletions .stylelintrc.json
Expand Up @@ -5,12 +5,9 @@
"stylelint-config-rational-order",
"stylelint-config-prettier"
],
"plugins": [
"stylelint-order",
"stylelint-declaration-block-no-ignored-properties"
],
"plugins": ["stylelint-order", "stylelint-declaration-block-no-ignored-properties"],
"rules": {
"no-descending-specificity": null,
"plugin/declaration-block-no-ignored-properties": true
}
}
}
20 changes: 10 additions & 10 deletions CODE_OF_CONDUCT.md
Expand Up @@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Expand Down
3 changes: 1 addition & 2 deletions README.fr-FR.md
Expand Up @@ -115,9 +115,8 @@ Toute forme de contribution est la bienvenue, voici quelques exemples de façons
- Soumettre des [issues](http://github.com/ant-design/ant-design-pro/issues) pour reporter les bugs ou poser des questions.
- Proposer des [pull requests](http://github.com/ant-design/ant-design-pro/pulls) pour améliorer notre code.


<div align="center">
<a href="https://www.netlify.com">
<img src="https://www.netlify.com/img/global/badges/netlify-color-bg.svg"/>
</a>
</div>
</div>
2 changes: 1 addition & 1 deletion README.ja-JP.md
Expand Up @@ -121,4 +121,4 @@ Gitpod(GitHub 用の無料オンライン開発環境)でプロジェクト
<a href="https://www.netlify.com">
<img src="https://www.netlify.com/img/global/badges/netlify-color-bg.svg"/>
</a>
</div>
</div>
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -121,4 +121,4 @@ Any type of contribution is welcome, here are some examples of how you may contr
<a href="https://www.netlify.com">
<img src="https://www.netlify.com/img/global/badges/netlify-color-bg.svg"/>
</a>
</div>
</div>
2 changes: 1 addition & 1 deletion config/plugin.config.ts
Expand Up @@ -112,4 +112,4 @@ const getAntdSerials = (color: string) => {
});
const colorPalettes = generate(color);
return lightens.concat(colorPalettes);
}
};
4 changes: 2 additions & 2 deletions docker/docker-compose.dev.yml
@@ -1,4 +1,4 @@
version: "3.5"
version: '3.5'

services:
ant-design-pro_dev:
Expand All @@ -7,7 +7,7 @@ services:
build:
context: ../
dockerfile: Dockerfile.dev
container_name: "ant-design-pro_dev"
container_name: 'ant-design-pro_dev'
volumes:
- ../src:/usr/src/app/src
- ../config:/usr/src/app/config
Expand Down

0 comments on commit 3d3b5ad

Please sign in to comment.