-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
35 lines (35 loc) · 1010 Bytes
/
.eslintrc.js
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
module.exports = {
extends: [
'plugin:vue/vue3-recommended',
'plugin:vuejs-accessibility/recommended',
'plugin:tailwindcss/recommended',
],
plugins: ['vuejs-accessibility', 'tailwindcss', '@typescript-eslint'],
root: true,
env: { node: true, es6: true },
parserOptions: {
parser: '@typescript-eslint/parser',
},
rules: {
quotes: ['error', 'single'],
semi: ['error', 'never'],
'object-curly-spacing': ['error', 'always'],
'keyword-spacing': 'error',
'tailwindcss/no-custom-classname': [
0,
{
tags: ['custom-yamato', 'custom-title'],
},
],
'tailwindcss/classnames-order': 0, // 近くこちらのルールは外せると良い
'vue/no-v-for-template-key-on-child': 'off',
'vue/no-deprecated-slot-attribute': 'off',
'vue/singleline-html-element-content-newline': 'off',
'vue/multi-word-component-names': [
'error',
{
ignores: ['index', 'default', 'error', 'privacy'],
},
],
},
}