Skip to content

Commit

Permalink
build: fix dependency linting config file format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon committed Oct 6, 2024
1 parent ee70dc9 commit e9204c2
Showing 1 changed file with 17 additions and 25 deletions.
42 changes: 17 additions & 25 deletions knip.config.ts
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

0 comments on commit e9204c2

Please sign in to comment.