-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix dependency linting config file format issue
- Loading branch information
Showing
1 changed file
with
17 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,18 @@ | ||
import type { KnipConfig } from 'knip' | ||
|
||
const config = async (): Promise<KnipConfig> => { | ||
return { | ||
entry: [ | ||
'src/commands/sgd/source/delta.ts', | ||
'src/main.ts', | ||
'bin/dev.js', | ||
'bin/run.js', | ||
], | ||
project: ['src/**/*.ts', 'bin/*.js'], | ||
ignoreDependencies: [ | ||
'@salesforce/ts-sinon', | ||
'@types/chai', | ||
'@types/jest', | ||
'@types/mocha', | ||
'chai', | ||
'mocha', | ||
'sinon', | ||
'ts-jest-mock-import-meta', | ||
], | ||
ignoreBinaries: ['test:e2e'], | ||
} | ||
export default { | ||
entry: [ | ||
'src/commands/sgd/source/delta.ts', | ||
'src/main.ts', | ||
'bin/dev.js', | ||
'bin/run.js', | ||
'**/*.{nut,test}.ts', | ||
], | ||
project: ['**/*.{ts,js,json}'], | ||
ignoreDependencies: [ | ||
'@salesforce/ts-sinon', | ||
'@types/mocha', | ||
'mocha', | ||
'sinon', | ||
'ts-jest-mock-import-meta', | ||
], | ||
ignoreBinaries: ['test:e2e'], | ||
} | ||
|
||
export default config |