$ nvm --version
0.33.11
$ node -v
v11.1.0
$ npm -v
6.4.1
$ yarn -v
1.12.3
Format the current file:
- Press
command + option + L
in WebStorm on macOS. - Press
Ctrl + Alt + L
in WebStorm on Windows.
Use Eslint to check grammar:
# check
./node_modules/.bin/eslint .
# check and fix
./node_modules/.bin/eslint --fix .
- All code files are edited by WebStorm.
- All ".md" files are edited by Typora.
- Style of all ".md" files is Github Flavored Markdown.
- There is a LF (Linux) at end of each line..