-
Notifications
You must be signed in to change notification settings - Fork 178
/
.npmpackagejsonlintrc.json
113 lines (113 loc) · 3.36 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"rules": {
"bin-type": "error",
"bundledDependencies-type": "error",
"config-type": "error",
"cpu-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-format": "error",
"name-type": "error",
"no-restricted-dependencies": "off",
"no-restricted-devDependencies": "off",
"no-restricted-pre-release-dependencies": "off",
"no-restricted-pre-release-devDependencies": "off",
"optionalDependencies-type": "error",
"os-type": "error",
"peerDependencies-type": "error",
"prefer-absolute-version-dependencies": "off",
"prefer-absolute-version-devDependencies": "off",
"prefer-alphabetical-bundledDependencies": "error",
"prefer-alphabetical-dependencies": "error",
"prefer-alphabetical-devDependencies": "error",
"prefer-alphabetical-optionalDependencies": "error",
"prefer-alphabetical-peerDependencies": "error",
"prefer-caret-version-dependencies": "off",
"prefer-caret-version-devDependencies": "off",
"prefer-no-engineStrict": "off",
"prefer-no-version-zero-dependencies": "off",
"prefer-no-version-zero-devDependencies": "off",
"prefer-property-order": [
"error",
[
"name",
"description",
"private",
"version",
"author",
"license",
"keywords",
"homepage",
"repository",
"bugs",
"engines",
"files",
"type",
"workspaces",
"customExports",
"exports",
"main",
"module",
"types",
"source",
"publishConfig",
"sideEffects",
"dependencies",
"devDependencies",
"peerDependencies",
"bin",
"scripts"
]
],
"prefer-tilde-version-dependencies": "off",
"prefer-tilde-version-devDependencies": "off",
"preferGlobal-type": "error",
"private-type": "error",
"repository-type": "error",
"require-author": "error",
"require-bin": "off",
"require-bugs": "error",
"require-bundledDependencies": "off",
"require-config": "off",
"require-contributors": "off",
"require-cpu": "off",
"require-dependencies": "off",
"require-description": "error",
"require-devDependencies": "off",
"require-directories": "off",
"require-engines": "off",
"require-files": "off",
"require-homepage": "error",
"require-keywords": "error",
"require-license": "error",
"require-main": "off",
"require-man": "off",
"require-module": "off",
"require-name": "error",
"require-optionalDependencies": "off",
"require-os": "off",
"require-peerDependencies": "off",
"require-preferGlobal": "off",
"require-private": "off",
"require-publishConfig": "off",
"require-repository": "error",
"require-repository-directory": "off",
"require-scripts": "off",
"require-version": "off",
"scripts-type": "error",
"valid-values-author": ["error", ["Google"]],
"valid-values-license": ["error", ["Apache-2.0"]],
"valid-values-private": "off",
"version-format": "error",
"version-type": "error"
}
}