Skip to content

Commit 2ef2045

Browse files
committed
chore(lint): fix lint
1 parent 20d4c8a commit 2ef2045

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/components/link.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ export default {
3838
const globalExactActiveClass = router.options.linkExactActiveClass
3939
// Support global empty active class
4040
const activeClassFallback = globalActiveClass == null
41-
? 'router-link-active'
42-
: globalActiveClass
41+
? 'router-link-active'
42+
: globalActiveClass
4343
const exactActiveClassFallback = globalExactActiveClass == null
44-
? 'router-link-exact-active'
45-
: globalExactActiveClass
44+
? 'router-link-exact-active'
45+
: globalExactActiveClass
4646
const activeClass = this.activeClass == null
47-
? activeClassFallback
48-
: this.activeClass
47+
? activeClassFallback
48+
: this.activeClass
4949
const exactActiveClass = this.exactActiveClass == null
50-
? exactActiveClassFallback
51-
: this.exactActiveClass
50+
? exactActiveClassFallback
51+
: this.exactActiveClass
5252
const compareTarget = location.path
5353
? createRoute(null, location, null, router)
5454
: route

src/create-matcher.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ export function createMatcher (
7777
): Route {
7878
const originalRedirect = record.redirect
7979
let redirect = typeof originalRedirect === 'function'
80-
? originalRedirect(createRoute(record, location, null, router))
81-
: originalRedirect
80+
? originalRedirect(createRoute(record, location, null, router))
81+
: originalRedirect
8282

8383
if (typeof redirect === 'string') {
8484
redirect = { path: redirect }

0 commit comments

Comments
 (0)