| 
									
										
										
										
											2020-01-24 15:39:14 +01:00
										 |  |  | module.exports = { | 
					
						
							| 
									
										
										
										
											2022-08-08 15:42:42 +02:00
										 |  |  |   extends: '@strapi/eslint-config/back', | 
					
						
							| 
									
										
										
										
											2022-08-24 12:56:28 +02:00
										 |  |  |   parserOptions: { | 
					
						
							| 
									
										
										
										
											2023-03-22 11:21:33 +01:00
										 |  |  |     ecmaVersion: 2021, | 
					
						
							| 
									
										
										
										
											2022-08-24 12:56:28 +02:00
										 |  |  |   }, | 
					
						
							| 
									
										
										
										
											2020-01-24 15:39:14 +01:00
										 |  |  |   globals: { | 
					
						
							|  |  |  |     strapi: false, | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   rules: { | 
					
						
							| 
									
										
										
										
											2023-03-22 11:21:33 +01:00
										 |  |  |     'prettier/prettier': 'off', | 
					
						
							| 
									
										
										
										
											2022-08-08 23:33:39 +02:00
										 |  |  |     'import/no-dynamic-require': 'off', | 
					
						
							|  |  |  |     'global-require': 'off', | 
					
						
							|  |  |  |     'import/no-extraneous-dependencies': [ | 
					
						
							|  |  |  |       'error', | 
					
						
							|  |  |  |       { | 
					
						
							|  |  |  |         devDependencies: [ | 
					
						
							|  |  |  |           '**/test/**/*.js', | 
					
						
							|  |  |  |           '**/tests/**/*.js', | 
					
						
							|  |  |  |           '**/__tests__/**/*.js', | 
					
						
							|  |  |  |           '**/__mocks__/**/*.js', | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     'prefer-destructuring': ['error', { AssignmentExpression: { array: false } }], | 
					
						
							| 
									
										
										
										
											2022-09-05 15:02:36 +02:00
										 |  |  |     'no-underscore-dangle': 'off', | 
					
						
							|  |  |  |     'no-use-before-define': 'off', | 
					
						
							| 
									
										
										
										
											2022-08-08 23:33:39 +02:00
										 |  |  |     'no-continue': 'warn', | 
					
						
							| 
									
										
										
										
											2022-08-18 09:35:08 +02:00
										 |  |  |     'no-process-exit': 'off', | 
					
						
							| 
									
										
										
										
											2022-09-05 15:02:36 +02:00
										 |  |  |     'no-loop-func': 'off', | 
					
						
							| 
									
										
										
										
											2022-12-29 16:02:54 +01:00
										 |  |  |     'max-classes-per-file': 'off', | 
					
						
							| 
									
										
										
										
											2022-09-05 15:07:36 +02:00
										 |  |  |     'no-param-reassign': [ | 
					
						
							|  |  |  |       'error', | 
					
						
							|  |  |  |       { | 
					
						
							|  |  |  |         props: false, | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2020-01-24 15:39:14 +01:00
										 |  |  |   }, | 
					
						
							|  |  |  | }; |