You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Fixed linter errors
This commit is contained in:
		| @@ -616,7 +616,7 @@ const TinyMCE = (props:NoteBodyEditorProps, ref:any) => { | ||||
| 				.map((a:any) => a.path) | ||||
| 		).filter((path:string) => !loadedAssetFiles_.includes(path)); | ||||
|  | ||||
| 		const jsFiles = ['gui/NoteEditor/NoteBody/TinyMCE/content_script.js'].concat( | ||||
| 		const jsFiles = [].concat( | ||||
| 			pluginAssets | ||||
| 				.filter((a:any) => a.mime === 'application/javascript') | ||||
| 				.map((a:any) => a.path) | ||||
|   | ||||
| @@ -1,5 +0,0 @@ | ||||
| // eslint-disable-next-line no-unused-vars | ||||
| const ipcProxySendToHost = (methodName, arg) => { | ||||
| 	console.info('TinyMCE ipcProxySendToHost', methodName, arg); | ||||
| 	// parent.postMessage({ target: 'main', name: methodName, args: [ arg ] }, '*'); | ||||
| }; | ||||
| @@ -3,7 +3,7 @@ import { isStringWebLink, replaceBetween } from './utils'; | ||||
| export const writeUrlTextHere = 'https://example.com'; | ||||
| export const writeTextHereString = 'Write some text here'; | ||||
|  | ||||
| // eslint-disable-next-line no-unused-vars | ||||
| // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars | ||||
| export default ({ getState, item, setState }) => { | ||||
| 	const { selection, text } = getState(); | ||||
| 	let newText; | ||||
|   | ||||
| @@ -20,7 +20,7 @@ export const renderFormatButtons = ({ getState, setState, color }, formats, mark | ||||
| 		<FlatList | ||||
| 			data={formats ? formats : Formats} | ||||
| 			keyboardShouldPersistTaps="always" | ||||
| 			// eslint-disable-next-line no-unused-vars | ||||
| 			// eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars | ||||
| 			renderItem={({ item, index }) => | ||||
| 				markdownButton | ||||
| 					? markdownButton({ item, getState, setState }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user