Skip to content

Commit 6390674

Browse files
committed
init precommit
1 parent a93f4fa commit 6390674

File tree

4 files changed

+22
-5
lines changed

4 files changed

+22
-5
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
4+
hooks:
5+
- id: end-of-file-fixer
6+
- id: trailing-whitespace
7+
- id: check-json
8+
- id: check-merge-conflict
9+
- repo: https://github.com/pre-commit/mirrors-prettier
10+
rev: v3.1.0
11+
hooks:
12+
- id: prettier

.prettierrc.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
semi: true,
3+
singleQuote: false,
4+
tabWidth: 2,
5+
useTabs: false,
6+
};

BUILDING.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1+
Build process is not finalized yet, currently only Appimage is built for linux systems.
12

2-
Build process is not finalized yet, but you can run the full app with extension support enabled.
3+
It is recommended to build from source for now, see `DEVELOPING.md` first for basic environment setup.
34

4-
See `DEVELOPING.md` first for basic environment setup.
5-
6-
The sources for the two kinds of builds are in `applications/`, with Electron builds being packaged by electron-builder.
5+
The sources for the two kinds of builds are `browser-app` and `electron-app`, with Electron builds being packaged by electron-builder.

DEVELOPING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Start watching either type of build you're working with:
2626
# or
2727
yarn watch:electron
2828

29-
> right now there seems to be a problem with the 'watch' automatic recompilation, for now just use `build:*` instead.
29+
> right now there seems to be a problem with the 'watch' automatic recompilation, for now just use `build:*` or `start:*` instead.
3030
3131
To build without watching, use `build:browser` or `build:electron` instead.
3232

0 commit comments

Comments
 (0)