-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into nova (and run prettier format)
Conflicts: .github/workflows/nova-build-temp.yaml .gitignore api/src/initServices.ts api/src/models/db/protocolVersion.ts api/src/routes.ts api/src/routes/node/info.ts client/package-lock.json client/package.json client/src/app/App.tsx client/src/app/AppUtils.tsx client/src/app/components/NetworkSwitcher.tsx client/src/app/routes.tsx client/src/app/routes/stardust/Visualizer.scss client/src/index.tsx client/src/models/config/protocolVersion.ts package.json
- Loading branch information
Showing
638 changed files
with
19,111 additions
and
18,807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Format & Lint Check | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
jobs: | ||
lint-check: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
project: [api, client] | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ${{ matrix.project }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16" | ||
|
||
- name: Install Dependencies | ||
run: npm install | ||
|
||
- name: Format Check | ||
run: npm run format:check | ||
|
||
- name: Lint Check | ||
run: npm run lint:check | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,5 @@ config.prod.json | |
env.js | ||
|
||
iota-sdk | ||
|
||
**/.eslintcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged --allow-empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
.eslintrc.js | ||
*.d.ts | ||
|
||
dist/** | ||
node_modules/** |
Oops, something went wrong.