This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
And swap `micromatch` for `picomatch`(which was the only part of `micromatch` which we used)
- Loading branch information
Showing
23 changed files
with
312 additions
and
384 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
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,10 +1,5 @@ | ||
'use strict' | ||
|
||
const { check } = require('./lib/check') | ||
const { extra, missing } = require('./lib/compare') | ||
|
||
module.exports = { | ||
check, | ||
extra, | ||
missing, | ||
} | ||
export { check } from './lib/check.js' | ||
export { | ||
findUnused as extra, | ||
findMissing as missing | ||
} from './lib/compare.js' |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* eslint-disable no-console, promise/prefer-await-to-then, unicorn/no-process-exit */ | ||
|
||
'use strict' | ||
|
||
// This file purely exists because "import" is a reserved word in old node.js and | ||
// thus can't be included directly in the cli.cjs file without error | ||
|
||
import('./cli-engine.js').catch(err => { | ||
console.error('unexpected error:', err) | ||
process.exit(1) | ||
}) | ||
|
||
module.exports = {} |
Oops, something went wrong.