Skip to content

Commit

Permalink
Fix lint no-useless-escape
Browse files Browse the repository at this point in the history
  • Loading branch information
millerized authored and ljharb committed Oct 30, 2017
1 parent 8def087 commit 62ff6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/importType.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function isScoped(name) {
return scopedRegExp.test(name)
}

const scopedMainRegExp = /^@[^\/]+\/?[^\/]+$/
const scopedMainRegExp = /^@[^/]+\/?[^/]+$/
export function isScopedMain(name) {
return scopedMainRegExp.test(name)
}
Expand Down

0 comments on commit 62ff6e5

Please sign in to comment.