-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rle-mino
committed
Mar 19, 2018
1 parent
1668895
commit 2c4cbfe
Showing
6 changed files
with
168 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
'use babel'; | ||
export const everywhere = /['"]((\.\/)|(\.\.\/)|(\/))/; | ||
export const withoutFilename = /(.*\/)/; | ||
export const looksLikeAnImportStatement = /['"]((\.\/)|(\.\.\/)|(\/))/; | ||
export const insideQuotes = /['"]((\.\/)|(\.\.\/)|(\/)).*['"]/; | ||
export const onlyFilename = /\/[^/]*['"]/; | ||
export const importFrom = /from\s.*['"]((.\/)|(..\/)|(\/))/; | ||
export const requ = /require\(['"]((\.\/)|(\.\.\/)|(\/)).*/; | ||
export const importO = /import.*['"]((\.\/)|(\/)|(\.\.\/))/; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.