File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 3
3
## 🏃♂️ Simple start
4
4
5
5
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/ ` **
8
9
9
- ## 🧹 Code style
10
+ ## 🧹 Code quality
10
11
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 `
12
13
13
- Run ** ` npm run format:fix ` ** at the root to fix code style.
14
+ To run linters manually, use the following commands:
14
15
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 `
16
21
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.
19
23
20
24
## 🤞 Good luck
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ const __dirname = path.dirname(__filename);
6
6
7
7
const STATIC_PATH = path . join ( __dirname , ".." , "public" ) ;
8
8
const HTML_FILES_PATH = path . join ( STATIC_PATH , "html" ) ;
9
- const PORT = 3001 ;
9
+ const PORT = 3421 ;
10
10
11
11
export { HTML_FILES_PATH , PORT , STATIC_PATH } ;
You can’t perform that action at this time.
0 commit comments