To understand this repo, you will only need to:
- Read the tsprune-false-positives.conf file
- Read the index.ts file
- Run the following commands:
$ npm run ts-prune
$ npm run ts-prune-verbose
The config file can only contain:
- Empty lines (lines containing only spaces/tabs are parsed as empty too)
- Commented lines, starting with a
#
- Filepaths (one per line)
When you add a file path, just copy and paste the output of ts-prune which is a false positive, including the line number (which will be wildcarded during the sanitizer parsing).
Inline comments like this are NOT supported:
src/index.ts:1 - _ # BYPASS
Instead, write this:
# BYPASS
src/index.ts:1 - _