Skip to content

Commit 036486d

Browse files
committed
fix subroutes test
1 parent 507fcde commit 036486d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/vue-router/subroutes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var chalk = require('chalk')
44

55
module.exports = {
6-
pattern: /\bsubRoutes\s*?:/,
6+
pattern: /\bsubRoutes\b/,
77
warning: function (match) {
88
return {
99
reason: 'subRoutes has been renamed to children for consistency within Vue and with other routing libraries',

0 commit comments

Comments
 (0)