mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 10:49:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			783 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			783 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| module.exports = {
 | |
|   rules: {
 | |
|     '@typescript-eslint/no-angle-bracket-type-assertion': 'error',
 | |
|     '@typescript-eslint/no-non-null-assertion': 'error',
 | |
|     '@typescript-eslint/no-object-literal-type-assertion': 'error',
 | |
|     '@typescript-eslint/explicit-function-return-type': 'error',
 | |
|     '@typescript-eslint/no-explicit-any': 'error'
 | |
|   },
 | |
|   overrides: [
 | |
|     {
 | |
|       files: ['*-test.js', '*-test.ts', '**/mirage/**/*.ts'],
 | |
|       rules: {
 | |
|         '@typescript-eslint/no-angle-bracket-type-assertion': 'warn',
 | |
|         '@typescript-eslint/no-non-null-assertion': 'warn',
 | |
|         '@typescript-eslint/no-object-literal-type-assertion': 'warn',
 | |
|         '@typescript-eslint/explicit-function-return-type': 'warn',
 | |
|         '@typescript-eslint/no-explicit-any': 'warn'
 | |
|       }
 | |
|     }
 | |
|   ]
 | |
| };
 | 
