Address linting issues

This commit is contained in:
mark
2023-01-13 07:34:32 +01:00
parent 786dbbab1e
commit 03b665f273

View File

@@ -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