✨ Add SPA to the Drive project for further usage
This commit is contained in:
		
							
								
								
									
										31
									
								
								DysonNetwork.Drive/Client/eslint.config.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								DysonNetwork.Drive/Client/eslint.config.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
| import { globalIgnores } from 'eslint/config' | ||||
| import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript' | ||||
| import pluginVue from 'eslint-plugin-vue' | ||||
| import pluginOxlint from 'eslint-plugin-oxlint' | ||||
| import skipFormatting from '@vue/eslint-config-prettier/skip-formatting' | ||||
|  | ||||
| // To allow more languages other than `ts` in `.vue` files, uncomment the following lines: | ||||
| // import { configureVueProject } from '@vue/eslint-config-typescript' | ||||
| // configureVueProject({ scriptLangs: ['ts', 'tsx'] }) | ||||
| // More info at https://github.com/vuejs/eslint-config-typescript/#advanced-setup | ||||
|  | ||||
| export default defineConfigWithVueTs( | ||||
|   { | ||||
|     name: 'app/files-to-lint', | ||||
|     files: ['**/*.{ts,mts,tsx,vue}'], | ||||
|   }, | ||||
|  | ||||
|   globalIgnores(['**/dist/**', '**/dist-ssr/**', '**/coverage/**']), | ||||
|  | ||||
|   pluginVue.configs['flat/essential'], | ||||
|   vueTsConfigs.recommended, | ||||
|   ...pluginOxlint.configs['flat/recommended'], | ||||
|   { | ||||
|     rules: { | ||||
|       'vue/multi-word-component-names': 'off', | ||||
|       '@typescript-eslint/no-explicit-any': 'off', | ||||
|       '@typescript-eslint/ban-ts-comment': 'off', | ||||
|     }, | ||||
|   }, | ||||
|   skipFormatting, | ||||
| ) | ||||
		Reference in New Issue
	
	Block a user