@@ -64,18 +64,18 @@ module.exports = {
6464 {
6565 files : [
6666 // 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}' ,
7171 // 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}'
7373 ] ,
7474 rules : { 'vue/multi-word-component-names' : 'off' }
7575 } ,
7676 {
7777 // 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}' ] ,
7979 rules : { 'vue/no-multiple-template-root' : 'error' }
8080 }
8181 ]
0 commit comments