-
Notifications
You must be signed in to change notification settings - Fork 0
/
npmpackagejsonlint.config.js
46 lines (46 loc) · 1.28 KB
/
npmpackagejsonlint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
module.exports = {
'rules': {
'require-author': 'error',
'require-description': 'error',
'require-engines': 'error',
'require-license': 'error',
'require-name': 'error',
'require-repository': 'error',
'require-version': 'error',
'require-bugs': 'error',
'require-homepage': 'error',
'require-keywords': 'error',
'bin-type': 'error',
'config-type': 'error',
'description-type': 'error',
'devDependencies-type': 'error',
'directories-type': 'error',
'engines-type': 'error',
'files-type': 'error',
'homepage-type': 'error',
'keywords-type': 'error',
'license-type': 'error',
'main-type': 'error',
'man-type': 'error',
'name-type': 'error',
'preferGlobal-type': 'error',
'private-type': 'error',
'repository-type': 'error',
'scripts-type': 'error',
'version-type': 'error',
'valid-values-private': ['error', [
false
]],
'no-restricted-dependencies': ['error', [
'gulping-npm-package-json-lint'
]],
'no-restricted-pre-release-dependencies': ['error', [
'gulping-npm-package-json-lint'
]],
'no-restricted-pre-release-devDependencies': ['error', [
'gulping-npm-package-json-lint'
]],
'name-format': 'error',
'version-format': 'error'
}
}