You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-23Lines changed: 1 addition & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,31 +52,9 @@ This plugin enforces its own set of opinionated rules:
52
52
53
53
Keys in `engines` are ordered alphabetically.
54
54
55
-
#### Options
56
-
57
-
`enginesNode`<br>
58
-
Type: `string`
59
-
60
-
Asserts an `engines.node` property value. e.g. `{ enginesNode: '>= 10.0.0' }`. If this option is set and no `node` key exists in `engines`, it will be created.
61
-
62
-
`enginesNpm`<br>
63
-
Type: `string`
64
-
65
-
Asserts an `engines.npm` property value. e.g. `{ enginesNpm: '>= 10.0.0' }`. If this option is set and no `npm` key exists in `engines`, it will be created.
66
-
67
55
### Files
68
56
69
-
Keys in `files` are ordered alphabetically. Additionally, `LICENSE` and `README.md` are added to `files` if they are missing. This plugin prefers implicit declaration of those files, even though they are included in a package automatically by `npm`.
70
-
71
-
#### Options
72
-
73
-
`filesLicense`<br>
74
-
Type: `boolean`
75
-
76
-
To prevent `LICENSE` from being added to `files`, set this option to `false`.
77
-
78
-
`filesReadme`<br>
79
-
Type: `boolean`
57
+
Keys in `files` are ordered alphabetically.
80
58
81
59
To prevent `README.md` from being added to `files`, set this option to `false`.
0 commit comments