Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

Apply Prettier #1202

Merged
merged 9 commits into from
Dec 20, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Enable linting again
  • Loading branch information
Hinton committed Dec 20, 2021
commit ad440ed0da355aa26d28783499ea8c91ebe26898
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ jobs:
- name: Install Node dependencies
run: npm ci

# - name: Run linter
# run: npm run lint
- name: Run linter
run: npm run lint

- name: Build application
run: npm run dist:lin
Expand Down Expand Up @@ -224,8 +224,8 @@ jobs:
- name: Install Node dependencies
run: npm ci

# - name: Run linter
# run: npm run lint
- name: Run linter
run: npm run lint

- name: Build & Sign (dev)
env:
Expand Down Expand Up @@ -477,8 +477,8 @@ jobs:
- name: Install Node dependencies
run: npm ci

# - name: Run linter
# run: npm run lint
- name: Run linter
run: npm run lint

- name: Build application (dev)
run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib",
"symlink:mac": "npm run symlink:lin",
"symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
"lint": "tslint 'src/**/*.ts'",
"lint": "tslint 'src/**/*.ts' && prettier --check .",
"lint:fix": "tslint 'src/**/*.ts' --fix",
"build": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\"",
"build:dev": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main:dev\" \"npm run build:renderer:dev\"",
Expand Down