@@ -64,18 +64,18 @@ module.exports = {
64
64
{
65
65
files : [
66
66
// These pages are not used directly by users so they can have one-word names.
67
- '**/pages/**/*.{js,ts,vue}' ,
68
- '**/layouts/**/*.{js,ts,vue}' ,
69
- '**/app.{js,ts,vue}' ,
70
- '**/error.{js,ts,vue}' ,
67
+ '**/pages/**/*.{js,ts,jsx,tsx, vue}' ,
68
+ '**/layouts/**/*.{js,ts,jsx,tsx, vue}' ,
69
+ '**/app.{js,ts,jsx,tsx, vue}' ,
70
+ '**/error.{js,ts,jsx,tsx, vue}' ,
71
71
// These files should have multiple words in their names as they are within subdirectories.
72
- '**/components/*/**/*.{js,ts,vue}'
72
+ '**/components/*/**/*.{js,ts,jsx,tsx, vue}'
73
73
] ,
74
74
rules : { 'vue/multi-word-component-names' : 'off' }
75
75
} ,
76
76
{
77
77
// Pages and layouts are required to have a single root element if transitions are enabled.
78
- files : [ '**/pages/**/*.{js,ts,vue}' , '**/layouts/**/*.{js,ts,vue}' ] ,
78
+ files : [ '**/pages/**/*.{js,ts,jsx,tsx, vue}' , '**/layouts/**/*.{js,ts,jsx,tsx ,vue}' ] ,
79
79
rules : { 'vue/no-multiple-template-root' : 'error' }
80
80
}
81
81
]
0 commit comments