-
-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Prettier Config + Prettify all files on Src and Electron Folder (#…
…788) * feat: add prettier scripts * chore: ignore locale files * feat: prettier on all files * chore: add prettier to lint workflow * chore: prettify more files * chore: fix time container
- Loading branch information
1 parent
45e8969
commit 376c647
Showing
106 changed files
with
4,546 additions
and
3,711 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"name": "Heroic Games Launcher", | ||
"name": "Heroic Games Launcher", | ||
|
||
// Sets the run context to one level up instead of the .devcontainer folder. | ||
"context": "..", | ||
// Sets the run context to one level up instead of the .devcontainer folder. | ||
"context": "..", | ||
|
||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. | ||
"dockerFile": "../Dockerfile", | ||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. | ||
"dockerFile": "../Dockerfile", | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [], | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [], | ||
|
||
"postCreateCommand": "pacman -Syyu --noconfirm && pacman -S nodejs npm yarn --noconfirm", | ||
"postCreateCommand": "pacman -Syyu --noconfirm && pacman -S nodejs npm yarn --noconfirm" | ||
} |
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
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 |
---|---|---|
|
@@ -17,3 +17,5 @@ jobs: | |
run: yarn | ||
- name: Lint code. | ||
run: yarn lint | ||
- name: Prettier code. | ||
run: yarn prettier |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules | ||
dist | ||
build | ||
public/index.html | ||
public/index.html | ||
public/locales/ |
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,6 +1,6 @@ | ||
{ | ||
"trailingComma": "none", | ||
"tabWidth": 2, | ||
"semi": false, | ||
"singleQuote": true | ||
} | ||
"trailingComma": "none", | ||
"tabWidth": 2, | ||
"semi": false, | ||
"singleQuote": true | ||
} |
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,9 +1,9 @@ | ||
{ | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"coenraads.bracket-pair-colorizer-2", | ||
"steoates.autoimport", | ||
"dsznajder.es7-react-js-snippets", | ||
"eamodio.gitlens" | ||
"eamodio.gitlens", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
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,41 +1,41 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "dist", | ||
"problemMatcher": [], | ||
"label": "Test", | ||
"detail": "yarn test", | ||
"group": { | ||
"kind": "test", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"type": "npm", | ||
"script": "dist", | ||
"problemMatcher": [], | ||
"label": "Build for Linux", | ||
"detail": "yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --linux", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"type": "npm", | ||
"script": "dist", | ||
"problemMatcher": [], | ||
"label": "Build for Windows", | ||
"detail": "yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --win" | ||
}, | ||
{ | ||
"type": "npm", | ||
"script": "dist", | ||
"problemMatcher": [], | ||
"label": "Build for MacOS", | ||
"detail": "yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --darwin" | ||
} | ||
] | ||
} | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "dist", | ||
"problemMatcher": [], | ||
"label": "Test", | ||
"detail": "yarn test", | ||
"group": { | ||
"kind": "test", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"type": "npm", | ||
"script": "dist", | ||
"problemMatcher": [], | ||
"label": "Build for Linux", | ||
"detail": "yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --linux", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"type": "npm", | ||
"script": "dist", | ||
"problemMatcher": [], | ||
"label": "Build for Windows", | ||
"detail": "yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --win" | ||
}, | ||
{ | ||
"type": "npm", | ||
"script": "dist", | ||
"problemMatcher": [], | ||
"label": "Build for MacOS", | ||
"detail": "yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --darwin" | ||
} | ||
] | ||
} |
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
Oops, something went wrong.