mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-18 15:33:10 +00:00
Address linting issues
This commit is contained in:
@@ -39,6 +39,7 @@ npm run build:debug
|
|||||||
## Validating linting rules
|
## Validating linting rules
|
||||||
|
|
||||||
Use the the following command to analyze the source code and to test for any stylistic errors. The lint command validates three types of files in the `assets` folder and `content` folder:
|
Use the the following command to analyze the source code and to test for any stylistic errors. The lint command validates three types of files in the `assets` folder and `content` folder:
|
||||||
|
|
||||||
* Javascript (`assets/*.js`) using [eslint][eslint].
|
* Javascript (`assets/*.js`) using [eslint][eslint].
|
||||||
* CSS and SASS (`assets/scss/**/*.{css,sass,scss,sss,less}`) using [stylelint][stylelint].
|
* CSS and SASS (`assets/scss/**/*.{css,sass,scss,sss,less}`) using [stylelint][stylelint].
|
||||||
* Markdown (`*.md` and `content/**/*.md`) using [markdownlint-cli2][markdownlint].
|
* Markdown (`*.md` and `content/**/*.md`) using [markdownlint-cli2][markdownlint].
|
||||||
@@ -77,4 +78,4 @@ npm install
|
|||||||
[npm]: https://www.npmjs.com
|
[npm]: https://www.npmjs.com
|
||||||
[eslint]: https://eslint.org
|
[eslint]: https://eslint.org
|
||||||
[stylelint]: https://stylelint.io/
|
[stylelint]: https://stylelint.io/
|
||||||
[markdownlint]: https://github.com/DavidAnson/markdownlint-cli2
|
[markdownlint]: https://github.com/DavidAnson/markdownlint-cli2
|
||||||
|
Reference in New Issue
Block a user