Fix: Adjust ESLint calls to properly interpret globs (#8462)
* fix(backend): rename .eslintrc.js to .eslintrc.cjs * fix(backend): wrap lint path glob in quotation marks * fix(client): wrap lint path glob in quotation marks * chore(workflow): make lint workflow use Node 16
This commit is contained in:
		
							parent
							
								
									61dfa6d598
								
							
						
					
					
						commit
						f9b5d92176
					
				
					 4 changed files with 3 additions and 3 deletions
				
			
		|  | @ -5,7 +5,7 @@ | |||
| 	"scripts": { | ||||
| 		"build": "tsc -p tsconfig.json || echo done. && tsc-alias -p tsconfig.json", | ||||
| 		"watch": "node watch.mjs", | ||||
| 		"lint": "eslint --quiet src/**/*.ts", | ||||
| 		"lint": "eslint --quiet 'src/**/*.ts'", | ||||
| 		"mocha": "cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=\"./test/tsconfig.json\" mocha", | ||||
| 		"test": "npm run mocha" | ||||
| 	}, | ||||
|  |  | |||
|  | @ -3,7 +3,7 @@ | |||
| 	"scripts": { | ||||
| 		"watch": "webpack --watch", | ||||
| 		"build": "webpack", | ||||
| 		"lint": "eslint --quiet src/**/*.{ts,vue}" | ||||
| 		"lint": "eslint --quiet 'src/**/*.{ts,vue}'" | ||||
| 	}, | ||||
| 	"resolutions": { | ||||
| 		"chokidar": "^3.3.1", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue