Skip to content

Commit 6ea53e1

Browse files
committed
Update Prettier
1 parent 507fe94 commit 6ea53e1

File tree

121 files changed

+1918
-1826
lines changed

Some content is hidden

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

121 files changed

+1918
-1826
lines changed

.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

.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)