Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
Add info to ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
Fritsch-Tech committed Oct 2, 2023
1 parent a2a56ea commit e5807a4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ Save the file as `.unimportedrc.json` in the root of your project (next to `pack
"ignoreUnresolved": ["some-npm-dependency"],
"ignoreUnimported": ["src/i18n/locales/en.ts", "src/i18n/locales/nl.ts"],
"ignoreUnused": ["bcrypt", "create-emotion"],
"respectGitignore": true,
"scannedDirs": ["./modules"]
}
```
Expand Down Expand Up @@ -298,6 +299,14 @@ tests/**

To specify custom ignore paths, add your own patterns to `.unimportedrc.json#ignorePatterns`. Note that `unimported` won't merge settings! The custom list needs to be the full list of patterns that you want to ignore.

In addition `unimported` will also ignore files that match your `.gitignore` patterns. To disable this behavior, set `respectGitignore` to `false` in your `.unimportedrc.json` file.

```json
{
"respectGitignore": false
}
```

## Troubleshooting

Common issues or known limitations of unimported.
Expand Down

0 comments on commit e5807a4

Please sign in to comment.