Skip to content

Commit 541541f

Browse files
author
ziyuhehe
committed
rebrand
1 parent e918b9f commit 541541f

File tree

65 files changed

+2124
-891
lines changed

Some content is hidden

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

65 files changed

+2124
-891
lines changed

.eslintrc.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ env:
44
es2022: true
55
node: true
66
extends:
7-
- 'airbnb-base'
8-
- 'plugin:markdown/recommended'
9-
- 'prettier'
7+
- "airbnb-base"
8+
- "plugin:markdown/recommended"
9+
- "prettier"
1010
plugins:
1111
- markdown
1212
- prettier
@@ -15,10 +15,10 @@ parserOptions:
1515
ecmaVersion: 13
1616
overrides:
1717
- files:
18-
- "**/*.md"
18+
- "**/*.md"
1919
processor: "markdown/markdown"
2020
- files:
21-
- '**/*.md/*.{js}'
21+
- "**/*.md/*.{js}"
2222
parserOptions:
2323
ecmaFeatures:
2424
impliedStrict: true

.lintstagedrc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@
44
"yarn prettier --list-different --config ./.prettiermarkdownrc",
55
"yarn markdownlint"
66
],
7-
"*.js": [
8-
"yarn eslint --quiet",
9-
"yarn prettier --list-different --config ./.prettierrc"
10-
]
11-
}
7+
"*.js": ["yarn eslint --quiet", "yarn prettier --list-different --config ./.prettierrc"]
8+
}

.markdownlint.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,20 @@ MD032: true
171171
# MD033/no-inline-html - Inline HTML
172172
MD033:
173173
# Allowed elements
174-
allowed_elements: ["br", "pre", "a", "iframe", "blockquote", "ul", "li", "details", "summary", "Available", "Deprecated"]
174+
allowed_elements:
175+
[
176+
"br",
177+
"pre",
178+
"a",
179+
"iframe",
180+
"blockquote",
181+
"ul",
182+
"li",
183+
"details",
184+
"summary",
185+
"Available",
186+
"Deprecated",
187+
]
175188

176189
# MD034/no-bare-urls - Bare URL used
177190
MD034: true
@@ -239,4 +252,4 @@ MD047: true
239252
# MD048/code-fence-style - Code fence style
240253
MD048:
241254
# Code fence style
242-
style: "backtick"
255+
style: "backtick"

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
"trailingComma": "es5",
1616
"useTabs": false,
1717
"vueIndentScriptAndStyle": false
18-
}
18+
}

CODE_OF_CONDUCT.md

Lines changed: 55 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@
44

55
## Our Pledge
66

7-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
7+
We as members, contributors, and leaders pledge to make participation in our community a
8+
harassment-free experience for everyone, regardless of age, body size, visible or invisible
9+
disability, ethnicity, sex characteristics, gender identity and expression, level of experience,
10+
education, socio-economic status, nationality, personal appearance, race, religion, or sexual
11+
identity and orientation.
812

9-
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
13+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and
14+
healthy community.
1015

1116
## Our Standards
1217

@@ -15,68 +20,98 @@ Examples of behavior that contributes to a positive environment for our communit
1520
- Demonstrating empathy and kindness toward other people
1621
- Being respectful of differing opinions, viewpoints, and experiences
1722
- Giving and gracefully accepting constructive feedback
18-
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
23+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the
24+
experience
1925
- Focusing on what is best not just for us as individuals, but for the overall community
2026

2127
Examples of unacceptable behavior include:
2228

2329
- The use of sexualized language or imagery, and sexual attention or advances of any kind
2430
- Trolling, insulting or derogatory comments, and personal or political attacks
2531
- Public or private harassment
26-
- Publishing others' private information, such as a physical or email address, without their explicit permission
27-
- Contacting individual members, contributors, or leaders privately, outside designated community mechanisms, without their explicit permission
32+
- Publishing others' private information, such as a physical or email address, without their
33+
explicit permission
34+
- Contacting individual members, contributors, or leaders privately, outside designated community
35+
mechanisms, without their explicit permission
2836
- Other conduct which could reasonably be considered inappropriate in a professional setting
2937

3038
## Enforcement Responsibilities
3139

32-
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
40+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior
41+
and will take appropriate and fair corrective action in response to any behavior that they deem
42+
inappropriate, threatening, offensive, or harmful.
3343

34-
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
44+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits,
45+
code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and
46+
will communicate reasons for moderation decisions when appropriate.
3547

3648
## Scope
3749

38-
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
50+
This Code of Conduct applies within all community spaces, and also applies when an individual is
51+
officially representing the community in public spaces. Examples of representing our community
52+
include using an official e-mail address, posting via an official social media account, or acting as
53+
an appointed representative at an online or offline event.
3954

4055
## Enforcement
4156

42-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [email protected]. All complaints will be reviewed and investigated promptly and fairly.
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community
58+
leaders responsible for enforcement at [[email protected]](mailto:[email protected]). All complaints will be reviewed
59+
and investigated promptly and fairly.
4360

44-
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
61+
All community leaders are obligated to respect the privacy and security of the reporter of any
62+
incident.
4563

4664
## Enforcement Guidelines
4765

48-
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
66+
Community leaders will follow these Community Impact Guidelines in determining the consequences for
67+
any action they deem in violation of this Code of Conduct:
4968

5069
### 1. Correction
5170

52-
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
71+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or
72+
unwelcome in the community.
5373

54-
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
74+
**Consequence**: A private, written warning from community leaders, providing clarity around the
75+
nature of the violation and an explanation of why the behavior was inappropriate. A public apology
76+
may be requested.
5577

5678
### 2. Warning
5779

5880
**Community Impact**: A violation through a single incident or series of actions.
5981

60-
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
82+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people
83+
involved, including unsolicited interaction with those enforcing the Code of Conduct, for a
84+
specified period of time. This includes avoiding interactions in community spaces as well as
85+
external channels like social media. Violating these terms may lead to a temporary or permanent ban.
6186

6287
### 3. Temporary Ban
6388

64-
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
89+
**Community Impact**: A serious violation of community standards, including sustained inappropriate
90+
behavior.
6591

66-
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
92+
**Consequence**: A temporary ban from any sort of interaction or public communication with the
93+
community for a specified period of time. No public or private interaction with the people involved,
94+
including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this
95+
period. Violating these terms may lead to a permanent ban.
6796

6897
### 4. Permanent Ban
6998

70-
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
99+
**Community Impact**: Demonstrating a pattern of violation of community standards, including
100+
sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement
101+
of classes of individuals.
71102

72103
**Consequence**: A permanent ban from any sort of public interaction within the community.
73104

74105
## Attribution
75106

76-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at <https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
107+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at
108+
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
77109

78-
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
110+
Community Impact Guidelines were inspired by
111+
[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
79112

80113
[homepage]: https://www.contributor-covenant.org
81114

82-
For answers to common questions about this code of conduct, see the FAQ at <https://www.contributor-covenant.org/faq>. Translations are available at <https://www.contributor-covenant.org/translations>.
115+
For answers to common questions about this code of conduct, see the FAQ at
116+
<https://www.contributor-covenant.org/faq>. Translations are available at
117+
<https://www.contributor-covenant.org/translations>.

0 commit comments

Comments
 (0)