Closed chrisvfritz closed 1 week ago
The generated paths for non-TS Vue files do not escape glob-relevant characters. For example:
{ name: 'typescript-eslint/disable-type-checked', files: [ 'src/pages/[...404].vue', ], // ... }
In this case, 'src/pages/[...404].vue' should be escaped as 'src/pages/\\[...404\\].vue'.
'src/pages/[...404].vue'
'src/pages/\\[...404\\].vue'
Thanks!!! What an oversight! I did know that the paths are actually globs, but forgot to test file-based routing.
The generated paths for non-TS Vue files do not escape glob-relevant characters. For example:
In this case,
'src/pages/[...404].vue'
should be escaped as'src/pages/\\[...404\\].vue'
.