Add biome for js lint and formatting.
This commit is contained in:
parent
92dd57684d
commit
089a0de6e0
1 changed files with 46 additions and 2 deletions
|
|
@ -4,9 +4,9 @@
|
|||
"description": "The node.js requirements to lint this project.",
|
||||
"scripts": {
|
||||
"lint-theme:css": "stylelint \"assets/sass/**/*.scss\"",
|
||||
"lint-theme:js": "",
|
||||
"lint-theme:js": "biome check",
|
||||
"lint-project:css": "stylelint \"../../assets/sass/**/*.scss\"",
|
||||
"lint-project:js": "",
|
||||
"lint-project:js": "biome check \"../../assets/js/**/*.js\"",
|
||||
"lint-theme": "npm run lint-theme:css && npm run lint-theme:js",
|
||||
"lint-project": "npm run lint-project:css && npm run lint-project:js",
|
||||
"lint:css": "npm run lint-theme:css && npm run lint-project:css",
|
||||
|
|
|
|||
Loading…
Reference in a new issue