Skip to content

Commit f447aac

Browse files
committed
Merge branch 'main' into quickSetup
2 parents 5ce9349 + c022ac6 commit f447aac

File tree

149 files changed

+3832
-9098
lines changed

Some content is hidden

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

149 files changed

+3832
-9098
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"prefer-const": ["warn", { "destructuring": "all" }],
2222
"no-constant-condition": ["error", { "checkLoops": false }],
2323
"import/extensions": ["warn", "always", { "ts": "never" }],
24-
"no-throw-literal": "error"
24+
"no-throw-literal": "error",
2525
}
2626
}

.github/workflows/ci-cd.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,20 @@ jobs:
2626

2727
- name: es-lint
2828
run: npm run lint
29+
30+
prettier:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Git checkout
34+
uses: actions/checkout@v2
35+
36+
- name: Use Node.js ${{ env.NODE_VERSION }}
37+
uses: actions/setup-node@v2
38+
with:
39+
node-version: ${{ env.NODE_VERSION }}
40+
41+
- name: Install node dependencies
42+
run: npm i
43+
44+
- name: Prettier
45+
run: npm run prettier

.pnpm-debug.log

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules/
2+
config.json
3+
package-lock.json
4+
.eslintrc
5+
Dockerfile
6+
.github/

.prettierrc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
{
2-
"printWidth": 120
2+
"bracketSameLine": true,
3+
"trailingComma": "none",
4+
"arrowParens": "always",
5+
"bracketSpacing": true,
6+
"proseWrap": "always",
7+
"singleQuote": false,
8+
"printWidth": 120,
9+
"endOfLine": "lf",
10+
"useTabs": false,
11+
"tabWidth": 2,
12+
"semi": true
313
}

0 commit comments

Comments
 (0)