mirror of
				https://gitlab.com/ceda_ei/google-meet-captions-regex
				synced 2025-10-31 00:50:06 +01:00 
			
		
		
		
	Add eslintrc
This commit is contained in:
		
							
								
								
									
										44
									
								
								.eslintrc.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								.eslintrc.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,44 @@ | |||||||
|  | module.exports = { | ||||||
|  | 	"env": { | ||||||
|  | 		"browser": true, | ||||||
|  | 		"es6": true | ||||||
|  | 	}, | ||||||
|  | 	"extends": ["eslint:recommended", "plugin:react/recommended"], | ||||||
|  | 	"globals": { | ||||||
|  | 		"Atomics": "readonly", | ||||||
|  | 		"SharedArrayBuffer": "readonly" | ||||||
|  | 	}, | ||||||
|  | 	"parserOptions": { | ||||||
|  | 		"ecmaFeatures": { | ||||||
|  | 			"jsx": true | ||||||
|  | 		}, | ||||||
|  | 		"ecmaVersion": 2018, | ||||||
|  | 		"sourceType": "module" | ||||||
|  | 	}, | ||||||
|  | 	"plugins": [ | ||||||
|  | 		"react" | ||||||
|  | 	], | ||||||
|  | 	"rules": { | ||||||
|  | 		"indent": [ | ||||||
|  | 			"error", | ||||||
|  | 			"tab" | ||||||
|  | 		], | ||||||
|  | 		"linebreak-style": [ | ||||||
|  | 			"error", | ||||||
|  | 			"unix" | ||||||
|  | 		], | ||||||
|  | 		"quotes": [ | ||||||
|  | 			"error", | ||||||
|  | 			"double" | ||||||
|  | 		], | ||||||
|  | 		"semi": [ | ||||||
|  | 			"error", | ||||||
|  | 			"always" | ||||||
|  | 		] | ||||||
|  | 	}, | ||||||
|  | 	"settings": { | ||||||
|  | 		"react": { | ||||||
|  | 			"version": "detect" | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | }; | ||||||
		Reference in New Issue
	
	Block a user