Skip to content

Commit 790c046

Browse files
authored
Update README.md
1 parent 99fcddd commit 790c046

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,16 @@ This small tool checks for two cases of duplication so far:
77

88
## Usage
99

10-
Run `ilcd folder` or skip the folder and link the cwd recursively. The following patterns are ignored:
10+
Run `ilcd folder` or skip the folder and link the cwd recursively. The `node_modules` are ignored as file origin.
1111

12-
- node_modules
13-
- dist
14-
- coverage
12+
Add a `.idrinth-duplicate-style-check.json` configuration file in the cwd to define entry points to get better results, example:
13+
14+
```json
15+
{
16+
"entrypoints": [
17+
"index.css",
18+
"src/hidden.css"
19+
]
20+
}
21+
```
22+
And yes, this can be run with npx as well: `npx @idrinth/duplicate-style-check`

0 commit comments

Comments
 (0)