-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathknip.config.js
More file actions
27 lines (22 loc) · 737 Bytes
/
Copy pathknip.config.js
File metadata and controls
27 lines (22 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/** @type {import('knip').KnipConfig} */
export default {
// Entry points (main module entry)
entry: ['src/pause-customizer.ts'],
// Project files to analyze
project: ['src/**/*.ts'],
// Ignore patterns (build artifacts, docs, vendor files)
ignore: ['node_modules/**', 'dist/**', '**/*.min.js'],
// Ignore dependencies that are used but knip can't auto-detect
ignoreDependencies: [
// ESLint plugins (used in config, not imported)
'@eslint/js',
'eslint-config-prettier',
'eslint-plugin-prettier',
'eslint-plugin-import',
// Git hooks and commit tools (executed via git, not imports)
'lint-staged',
// Analysis tools (self-referential, run via CLI)
'knip',
'prettier',
],
};