You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Tools: Build TypeScript in pre-commit to check for any error
This commit is contained in:
		| @@ -68,7 +68,6 @@ ElectronClient/gui/NoteEditor/NoteBody/AceEditor/styles/index.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/AceEditor/Toolbar.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/AceEditor/utils/index.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/AceEditor/utils/types.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/AceEditor/utils/useFocus.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/AceEditor/utils/useListIdent.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/utils/useScroll.js | ||||
|   | ||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -58,7 +58,6 @@ ElectronClient/gui/NoteEditor/NoteBody/AceEditor/styles/index.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/AceEditor/Toolbar.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/AceEditor/utils/index.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/AceEditor/utils/types.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/AceEditor/utils/useFocus.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/AceEditor/utils/useListIdent.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.js | ||||
| ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/utils/useScroll.js | ||||
|   | ||||
							
								
								
									
										7
									
								
								lint-staged.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								lint-staged.config.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| module.exports = { | ||||
| 	'**/*.ts?(x)': () => 'npm run build', | ||||
| 	'*.{js,jsx,ts,tsx}': [ | ||||
| 		'npm run linter', | ||||
| 		'git add', | ||||
| 	], | ||||
| }; | ||||
| @@ -14,12 +14,6 @@ | ||||
|       "pre-commit": "lint-staged" | ||||
|     } | ||||
|   }, | ||||
|   "lint-staged": { | ||||
|     "*.{js,jsx,ts,tsx}": [ | ||||
|       "npm run linter", | ||||
|       "git add" | ||||
|     ] | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "git+https://github.com/laurent22/joplin.git" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user