[Lint] Add linter config for eslint, not done yet
This commit is contained in:
		
							
								
								
									
										9
									
								
								scripts/setup-eslint
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										9
									
								
								scripts/setup-eslint
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| SCRIPT_DIR=$(dirname "$0") | ||||
|  | ||||
| cp "$SCRIPT_DIR/../config/lint/eslint.config.mjs" . | ||||
|  | ||||
| # TODO: Improve eslint config to include JSX and Vue configs too, read on website | ||||
| npm i --save-dev @eslint/js typescript-eslint @stylistic/eslint-plugin | ||||
|  | ||||
		Reference in New Issue
	
	Block a user