mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
Workflow to check sourcecode's linting and formatting (#146)
* ci: workflow to check sourcecode * fix: make workflow to check source fail for incorrect linting/formatting * ci: change step name for workflow to check sourcecode
This commit is contained in:
@@ -9,8 +9,10 @@
|
||||
"ui": "rm -rf ./ui/public/* && vite",
|
||||
"prod": "yarn && vite build --emptyOutDir",
|
||||
"format": "prettier --write lib/**/*.js ui/src/**/*.jsx test/**/*.js *.js",
|
||||
"format:check": "prettier --check lib/**/*.js ui/src/**/*.jsx test/**/*.js *.js",
|
||||
"test": "mocha --loader=esmock --timeout 3000000 test/**/*.test.js",
|
||||
"lint": "eslint index.js lib/**/*.js test/**/*.js ui/src/**/*.jsx --fix"
|
||||
"lint": "eslint index.js lib/**/*.js test/**/*.js ui/src/**/*.jsx",
|
||||
"lint:fix": "yarn lint --fix"
|
||||
},
|
||||
"type": "module",
|
||||
"lint-staged": {
|
||||
|
||||
Reference in New Issue
Block a user