-
Notifications
You must be signed in to change notification settings - Fork 1
/
.npmpackagejsonlintrc.json
70 lines (70 loc) · 2.23 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
{
"rules": {
"require-author": "error",
"require-config": "error",
"require-contributors": "error",
"require-dependencies": "error",
"require-description": "error",
"require-devDependencies": "error",
"require-engines": "error",
"require-homepage": "error",
"require-keywords": "error",
"require-license": "error",
"require-main": "error",
"require-name": "error",
"require-private": "error",
"require-repository": "error",
"require-scripts": "error",
"require-version": "error",
"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-type": "error",
"optionalDependencies-type": "error",
"os-type": "error",
"peerDependencies-type": "error",
"preferGlobal-type": "error",
"private-type": "error",
"repository-type": "error",
"scripts-type": "error",
"version-type": "error",
"no-repeated-dependencies": "error",
"no-caret-version-dependencies": "error",
"no-file-dependencies": "error",
"no-git-dependencies": "error",
"prefer-absolute-version-dependencies": "warning",
"prefer-alphabetical-dependencies": "error",
"no-caret-version-devDependencies": "error",
"no-file-devDependencies": "error",
"no-git-devDependencies": "error",
"prefer-absolute-version-devDependencies": "warning",
"prefer-alphabetical-devDependencies": "error",
"prefer-alphabetical-bundledDependencies": "error",
"prefer-alphabetical-optionalDependencies": "error",
"prefer-alphabetical-peerDependencies": "error",
"prefer-alphabetical-scripts": "error",
"description-format": [
"error",
{
"requireCapitalFirstLetter": true,
"requireEndingPeriod": true
}
],
"name-format": "error",
"version-format": "error",
"prefer-property-order": ["error", []],
"no-duplicate-properties": "error"
}
}