Skip to content

Commit ccc4c0e

Browse files
authored
chore: format setup
* chore: format setup * fix
1 parent 219c26f commit ccc4c0e

File tree

542 files changed

+17147
-12978
lines changed

Some content is hidden

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

542 files changed

+17147
-12978
lines changed

.eslintrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module.exports = {
22
root: true,
33
// This tells ESLint to load the config from the package `eslint-config-docs`
4-
extends: ["docs"],
4+
extends: ['docs'],
55
settings: {
66
next: {
7-
rootDir: ["apps/*/"],
7+
rootDir: ['apps/*/'],
88
},
99
},
10-
};
10+
};

.github/ISSUE_TEMPLATE/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 📚 Documentation
22
description: Report any issues or suggest improvements for our documentation.
3-
labels: ["type: docs"]
3+
labels: ['type: docs']
44
body:
55
- type: markdown
66
attributes:
@@ -18,7 +18,7 @@ body:
1818
label: Preliminary Checks
1919
description: Please review and check each box before submitting.
2020
options:
21-
- label: "I have searched for similar issues: https://github.com/zeropsio/docs/issues"
21+
- label: 'I have searched for similar issues: https://github.com/zeropsio/docs/issues'
2222
required: true
2323
- type: textarea
2424
validations:
@@ -42,5 +42,5 @@ body:
4242
label: Would you like to help fix this issue?
4343
description: If you're interested in contributing a solution, check the box below.
4444
options:
45-
- label: "I would like to work on this"
45+
- label: 'I would like to work on this'
4646
required: false

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
- /closes # <!-- Add an issue number -->
1717

18-
1918
<!-- #### First-time contributor to Zerops Docs? -->
2019

2120
<!-- Join our Discord Server -->

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Build
22

33
on:
44
push:
5-
branches:
6-
- main
5+
branches:
6+
- main
77
pull_request:
88
branches:
99
- main
@@ -14,11 +14,11 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v3
17-
17+
1818
- name: Get yarn cache directory path
1919
id: yarn-cache-dir-path
2020
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
21-
21+
2222
- uses: actions/cache@v4
2323
id: yarn-cache
2424
with:
@@ -31,12 +31,12 @@ jobs:
3131
uses: actions/setup-node@v3
3232
with:
3333
node-version: '18'
34-
34+
3535
- name: Install Dependencies
3636
run: yarn install --frozen-lockfile
3737

3838
- name: Run Build
3939
run: yarn build
4040

4141
# - name: Run Lint
42-
# run: yarn lint
42+
# run: yarn lint

.prettierignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Ignore build and output directories
2+
.build
3+
.cache
4+
node_modules
5+
build
6+
out
7+
.next
8+
9+
# Ignore Docusaurus-generated files
10+
.docusaurus
11+
12+
# Ignore coverage reports
13+
coverage
14+
15+
# Ignore lock files
16+
package-lock.json
17+
yarn.lock
18+
19+
# Ignore any custom files or directories you don't want Prettier to format
20+
public
21+
static
22+
dist
23+
24+
# Ignore specific file types
25+
*.min.js
26+
*.bundle.js
27+
*.svg
28+
29+
# Ignore config and env files
30+
*.env
31+
*.config.js

.prettierrc

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
{
2-
"endOfLine": "auto",
3-
"semi": false,
4-
"singleQuote": false,
5-
"tabWidth": 2,
2+
"semi": true,
3+
"singleQuote": true,
64
"trailingComma": "es5",
7-
"arrowParens": "always"
5+
"printWidth": 80,
6+
"tabWidth": 2,
7+
"useTabs": false,
8+
"bracketSpacing": true,
9+
"jsxSingleQuote": false,
10+
"overrides": [
11+
{
12+
"files": "*.md",
13+
"options": {
14+
"proseWrap": "preserve"
15+
}
16+
}
17+
]
818
}

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nmMode: hardlinks-local
1+
nmMode: hardlinks-local

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Examples of behavior that contributes to creating a positive environment include
1010
- Examples of unacceptable behavior by participants include:
1111

1212
The use of sexualized language or imagery and unwelcome sexual attention or advances
13+
1314
- Trolling, insulting/derogatory comments, and personal or political attacks
1415
- Public or private harassment
1516
- Publishing others' private information, such as a physical or electronic address, without explicit permission

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Our <b>Documentation</b> for people who want help with interacting with <a href=
1313

1414
This repository utilizes the powerful [MedusaJS Docs](http://docs.medusajs.com/) theme and components, combined with Docusaurus, to serve users a seamless documentation experience.
1515

16-
1716
## Contributing Guide
1817

1918
If you're planning to contribute to our documentation, please check out our [CONTRIBUTING.md](https://github.com/zeropsio/docs/blob/main/CONTRIBUTING.md) guide.

apps/docs/.content.eslintrc.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
module.exports = {
22
root: true,
3-
extends: [
4-
"docs/content"
5-
],
6-
}
3+
extends: ['docs/content'],
4+
};

0 commit comments

Comments
 (0)