forked from RequestNetwork/requestNetwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.npmpackagejsonlintrc.json
75 lines (75 loc) · 2.09 KB
/
.npmpackagejsonlintrc.json
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"rules": {
"require-author": "off",
"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",
"dependencies-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-engines": ["error", [{ "node": ">=16.0.0" }]],
"valid-values-name-scope": ["error", ["@requestnetwork"]],
"valid-values-author": ["error", ["Request Network"]],
"valid-values-private": "off",
"valid-values-license": ["error", ["private", "MIT"]],
"prefer-absolute-version-dependencies": "error",
"prefer-alphabetical-dependencies": "error",
"prefer-no-version-zero-dependencies": "off",
"prefer-absolute-version-devDependencies": "error",
"prefer-alphabetical-devDependencies": "error",
"prefer-no-version-zero-devDependencies": "off",
"name-format": "error",
"version-format": "error",
"no-restricted-dependencies": ["warning", ["web3"]],
"description-format": [
"error",
{
"requireCapitalFirstLetter": true,
"requireEndingPeriod": true
}
],
"prefer-property-order": [
"error",
[
"name",
"version",
"private",
"description",
"keywords",
"repository",
"homepage",
"bugs",
"license",
"main",
"types",
"directories",
"files",
"scripts",
"dependencies",
"devDependencies"
]
]
}
}