text: module.exports = {
  	root: true,
  	env: {
  		node: true,
  		jquery: true,
  	},
  	extends: [
  		'plugin:vue/vue3-essential',
  		'eslint:recommended',
  		'@vue/typescript/recommended',
  		'@vue/prettier',
  		'@vue/prettier/@typescript-eslint',
  	],
  	parserOptions: {
  		ecmaVersion: 2020,
  	},
  	rules: {
  		'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  		'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  		camelcase: 'off',
  		'@typescript-eslint/camelcase': 'off',
  		'no-use-before-define': 'off',
  		'@typescript-eslint/no-use-before-define': 'off',
  		'no-empty-function': 'off',
  		'@typescript-eslint/no-empty-function': 'off',
  		'@typescript-eslint/explicit-module-boundary-types': 'off',
  		'@typescript-eslint/ban-types': [
  			'error',
  			{
  				types: {
  					Function: false,
  				},
  				extendDefaults: true
  			},
  		],
  		'no-restricted-imports': [
  			'error',
  			{
  				paths: [
  					{
  						name: '@ant-design/icons-vue',
  						message: '请按需引入图标',
  					},
  				],
  			},
  		],
  	},
  	overrides: [
  		{
  			files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
  			env: {
  				jest: true,
  			},
  		},
  	],
  };
  