Skip to content

Commit 01e7911

Browse files
committed
BSA-270: update port and readme
1 parent 4d102bb commit 01e7911

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,22 @@
33
## 🏃‍♂️ Simple start
44

55
1. **`npm install`** at the root
6-
2. **`npm run dev`** at the root
7-
3. open **`http://localhost:3001/`**
6+
2. **`npx simple-git-hooks`** at the root
7+
3. **`npm run dev`** at the root
8+
4. open **`http://localhost:3421/`**
89

9-
## 🧹 Code style
10+
## 🧹 Code quality
1011

11-
Run **`npm run format:check`** at the root to check code style.
12+
We use linters to check code quality. All linters will run during commit. Make sure to enable pre-commit hook by running `npx simple-git-hooks`
1213

13-
Run **`npm run format:fix`** at the root to fix code style.
14+
To run linters manually, use the following commands:
1415

15-
## 💡 PS
16+
- `npm run lint:editor`
17+
- `npm run lint:fs`
18+
- `npm run lint:js`
19+
- `npm run lint:format`
20+
- `npm run lint:type`
1621

17-
The project has a [Prettier](https://prettier.io/) set up, to validate your code.
18-
Please use it!
22+
Run **`npm run format:fix`** at the root to fix code style issues.
1923

2024
## 🤞 Good luck

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ const __dirname = path.dirname(__filename);
66

77
const STATIC_PATH = path.join(__dirname, "..", "public");
88
const HTML_FILES_PATH = path.join(STATIC_PATH, "html");
9-
const PORT = 3001;
9+
const PORT = 3421;
1010

1111
export { HTML_FILES_PATH, PORT, STATIC_PATH };

0 commit comments

Comments
 (0)