mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	Update eslint.js
not sure why 'latest' is not working, but this fixes the annoying errors related to es5 being default
This commit is contained in:
		
							parent
							
								
									46573714a4
								
							
						
					
					
						commit
						08133dcf3d
					
				
							
								
								
									
										2
									
								
								libraries/codemirror/eslint.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								libraries/codemirror/eslint.js
									
									
									
									
										vendored
									
									
								
							| @ -46,7 +46,7 @@ | |||||||
|         const errors = new eslint().verify(text, { |         const errors = new eslint().verify(text, { | ||||||
|             root: true, |             root: true, | ||||||
|             parserOptions: { |             parserOptions: { | ||||||
|                 ecmaVersion: "latest" |                 ecmaVersion: "2019" | ||||||
|             }, |             }, | ||||||
|             extends: ['eslint:recommended', 'airbnb-base'], |             extends: ['eslint:recommended', 'airbnb-base'], | ||||||
|             env: { |             env: { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 lly-c232733
						lly-c232733