fix: add lint confirmation messages for CSS and JS linters
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint:html": "htmlhint \"**/*.html\"",
|
"lint:html": "htmlhint \"**/*.html\"",
|
||||||
"lint:css": "stylelint \"css/**/*.css\" \"fonts/**/*.css\"",
|
"lint:css": "stylelint \"css/**/*.css\" \"fonts/**/*.css\" && echo Stylelint: No errors found",
|
||||||
"lint:js": "eslint \"js/**/*.js\" --ignore-pattern \"**/*.min.js\"",
|
"lint:js": "eslint \"js/**/*.js\" --ignore-pattern \"**/*.min.js\" && echo ESLint: No errors found",
|
||||||
"lint": "npm run lint:html && npm run lint:css && npm run lint:js",
|
"lint": "npm run lint:html && npm run lint:css && npm run lint:js",
|
||||||
"format": "prettier --write \"**/*.{html,css,js,json,md}\" --ignore-path .prettierignore",
|
"format": "prettier --write \"**/*.{html,css,js,json,md}\" --ignore-path .prettierignore",
|
||||||
"format:check": "prettier --check \"**/*.{html,css,js,json,md}\" --ignore-path .prettierignore",
|
"format:check": "prettier --check \"**/*.{html,css,js,json,md}\" --ignore-path .prettierignore",
|
||||||
|
|||||||
Reference in New Issue
Block a user