Skip to content

Commit 39b9023

Browse files
authoredSep 4, 2024
ADD: Format Check Action (stereum-dev#2033)
* ADD: staking module for ejector, random EC in OneClickInstallation * ADD: Format Check for Repo * FIX: typo
1 parent 44450ef commit 39b9023

File tree

306 files changed

+3076
-5886
lines changed

Some content is hidden

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

306 files changed

+3076
-5886
lines changed
 
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Code Quality Check
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
prettier:
11+
name: Prettier
12+
runs-on: ubuntu-22.04
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: "20"
18+
- run: npm install
19+
working-directory: ./launcher
20+
- run: npm run format:check
21+
working-directory: ./launcher

‎.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"editor.formatOnSave": true,
1515
"editor.defaultFormatter": "esbenp.prettier-vscode"
1616
},
17+
"[javascript]": {
18+
"editor.defaultFormatter": "esbenp.prettier-vscode"
19+
},
1720
"vue3snippets.enable-compile-vue-file-on-did-save-code": true,
1821
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
1922
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false

0 commit comments

Comments
 (0)