123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- module.exports = {
- parser: 'vue-eslint-parser',
- parserOptions: {
- parser: '@typescript-eslint/parser',
- sourceType: 'module',
- },
- plugins: ['@typescript-eslint'],
- extends: [
- 'eslint:recommended',
- 'plugin:@typescript-eslint/recommended',
- 'plugin:vue/recommended',
- ],
- rules: {
- 'no-empty': ['error', { allowEmptyCatch: true }],
- 'no-undef': 'off',
- 'no-unused-vars': 'off',
- 'no-mixed-spaces-and-tabs': 'off',
- '@typescript-eslint/explicit-module-boundary-types': 'off',
- '@typescript-eslint/no-empty-function': 'off',
- '@typescript-eslint/no-explicit-any': 'off',
- '@typescript-eslint/no-non-null-assertion': 'off',
- '@typescript-eslint/no-unsafe-assignment': 'off',
- '@typescript-eslint/no-unsafe-call': 'off',
- '@typescript-eslint/no-unsafe-member-access': 'off',
- '@typescript-eslint/no-unsafe-return': 'off',
- '@typescript-eslint/no-unused-vars': 'off',
- '@typescript-eslint/no-var-requires': 'off',
- 'vue/component-tags-order': [
- 'warn',
- {
- order: ['script', 'template', 'style'],
- },
- ],
- 'vue/html-indent': 'off',
- 'vue/html-self-closing': [
- 'warn',
- {
- html: {
- void: 'always',
- normal: 'always',
- component: 'always',
- },
- svg: 'always',
- math: 'always',
- },
- ],
- 'vue/max-attributes-per-line': 'off',
- 'vue/singleline-html-element-content-newline': 'off',
- },
- };
|