mirror of
				https://github.com/yzcheng90/x-springboot-ui
				synced 2025-11-04 21:56:00 +08:00 
			
		
		
		
	提交
This commit is contained in:
		
							
								
								
									
										22
									
								
								.eslintrc.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.eslintrc.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
module.exports = {
 | 
			
		||||
	root: true,
 | 
			
		||||
	env: {
 | 
			
		||||
		node: true,
 | 
			
		||||
	},
 | 
			
		||||
	parserOptions: {
 | 
			
		||||
		parser: '@babel/eslint-parser',
 | 
			
		||||
	},
 | 
			
		||||
	plugins: ['vue'],
 | 
			
		||||
	extends: ['plugin:vue/essential', 'eslint:recommended'],
 | 
			
		||||
	rules: {
 | 
			
		||||
		// http://eslint.cn/docs/rules/
 | 
			
		||||
		'vue/no-parsing-error': 'off',
 | 
			
		||||
		'no-unused-vars': 'error',
 | 
			
		||||
		'no-dupe-args': 'error',
 | 
			
		||||
		'no-empty': 'off',
 | 
			
		||||
		'no-extra-semi': 'off',
 | 
			
		||||
		'no-constant-condition': 'off',
 | 
			
		||||
		'no-console': 'error',
 | 
			
		||||
		'vue/multi-word-component-names': 'off',
 | 
			
		||||
	},
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user