Commit 5ccd0c5
authored
feat: Disable the
Private packages are never published so the `no-unpublished-import` and `no-unpublished-require` rules don't need to run.
This also removes `"private": true` from most fixtures that would fail due to the rules no longer running.
More information about private packages: https://docs.npmjs.com/cli/v8/configuring-npm/package-json#privateno-unpublished-x rules in private packages (#57)1 parent 3e273ed commit 5ccd0c5
File tree
46 files changed
+44
-53
lines changed- lib/util
- tests
- fixtures
- no-extraneous
- dependencies
- devDependencies
- noDependencies
- optionalDependencies
- peerDependencies
- no-unpublished-bin
- issue115
- multi-files
- multi-npmignore
- simple-files
- simple-npmignore
- simple-ok
- no-unpublished
- 1
- 2
- 3
- issue126
- negative-in-files
- private-package
- no-unsupported-features--ecma
- gte-0.12.8
- gte-4.0.0
- gte-4.4.0-lt-5.0.0
- gte-7.10.0
- gte-7.5.0
- gte-7.6.0
- hat-4.1.2
- invalid
- lt-6.0.0
- nothing
- star
- without-node
- no-unsupported-features
- gte-0.12.8
- gte-4.0.0
- gte-4.4.0-lt-5.0.0
- gte-7.10.0
- gte-7.5.0
- gte-7.6.0
- hat-4.1.2
- invalid
- lt-6.0.0
- nothing
- without-node
- shebang
- no-bin-field
- object-bin
- string-bin
- lib/rules
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
46 files changed
+44
-53
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
| 11 | + | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
| 8 | + | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
| 8 | + | |
0 commit comments