Skip to content

Commit 4752195

Browse files
author
Maledong
authored
doc: Add syntax check commands in READMD.md (#3952)
For users, we should notify them by adding some syntax check commands into README.md.
1 parent 8185459 commit 4752195

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ Before submitting, you must pass all the unit tests and syntax checks by running
7272
* `npm-run-all test:lint test:unit` run all the unit test cases in `tests` folder, as well as check syntax with eslint.
7373
* `npm-run-all --parallel test:lint:*` run all the syntax checks for `js`, `md` and other related files.
7474

75+
There're also two syntax check commands for you:
76+
* `npm run test:lint:js -- --fix` try to automatically fix some formations for all the js files.
77+
* `npm run test:lint:stylelint -- --fix` try to automatically fix some formations for all the css/scss files.
78+
7579
## Notice
7680

7781
* Multiple locales can be built by using comma-separated values in the `DEFAULT_LOCALE` variable: `DEFAULT_LOCALE=en,es,it`.

0 commit comments

Comments
 (0)