refactor: 🔧 implement parser options
This commit is contained in:
		
							
								
								
									
										5
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								index.js
									
									
									
									
									
								
							| @@ -1,6 +1,11 @@ | |||||||
| module.exports = { | module.exports = { | ||||||
|   extends: ['conventions', 'prettier'], |   extends: ['conventions', 'prettier'], | ||||||
|   plugins: ['prettier'], |   plugins: ['prettier'], | ||||||
|  |   parser: '@typescript-eslint/parser', | ||||||
|  |   parserOptions: { | ||||||
|  |     ecmaVersion: 'latest', | ||||||
|  |     project: './tsconfig.json' | ||||||
|  |   }, | ||||||
|   env: { |   env: { | ||||||
|     node: true, |     node: true, | ||||||
|     browser: true |     browser: true | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user