Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 8d2557d

Browse files
author
Cdok
committed
removed portion on adding to npm run lint in readme
1 parent 25a9fe3 commit 8d2557d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

copyright/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This tool reads from the `headers/copyright.extension.txt` text files to select
77
Add the following to your `package.json`
88

99
```json
10-
"copyright:lint": "copyright.js PATH --lint",
11-
"copyright:fix" "copyright.js PATH"
10+
"copyright:lint": "copyright.js glob --lint",
11+
"copyright:fix" "copyright.js glob"
1212
```
1313

1414
```bash
@@ -30,8 +30,6 @@ Passing the `--lint` flag to this tool will enable lint mode.
3030

3131
With lint mode enabled, the process will exit if any of the target directories contain files which do not have copyright headers.
3232

33-
`copyright.js` can be integrated into the `npm run lint` step of a project by pulling the script into the project, and adding `node copyright.js PATTERN --lint` into the `lint` npm command
34-
3533
### Developing
3634

3735
`node --inspect --debug-brk copyright.js ../../some-project/source-folder/**/*.js`

0 commit comments

Comments
 (0)