-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.cjs
47 lines (46 loc) · 1.31 KB
/
.eslintrc.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')
module.exports = {
root: true,
extends: [
'./.eslintrc-auto-import.json',
'eslint:recommended',
'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:tailwindcss/recommended',
'@vue/typescript/recommended',
'plugin:vue/vue3-essential',
'@vue/eslint-config-typescript'
],
ignorePatterns: [
'**/*.config.js',
'!**/eslint.config.js'
],
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 'latest',
parser: '@typescript-eslint/parser',
},
rules: {
'@typescript-eslint/consistent-type-imports': 'warn',
'no-empty-function': 'off',
'@typescript-eslint/no-empty-function': 'warn',
'vue/multi-word-component-names': 'off',
'vue/max-attributes-per-line': 'off',
'vue/first-attribute-linebreak': 'off',
'vue/html-indent': ['error', 'tab', {
'attribute': 1,
'baseIndent': 1,
'closeBracket': 0,
'alignAttributesVertically': true,
'ignores': []
}],
'vue/html-closing-bracket-newline': ['warn', {
'singleline': 'never',
'multiline': 'never'
}],
'vue/v-on-event-hyphenation': 'off',
'vue/attribute-hyphenation': 'off',
'tailwindcss/no-custom-classname': 'off',
}
}