-
Notifications
You must be signed in to change notification settings - Fork 1
/
.adviserrc.json
121 lines (121 loc) · 3.02 KB
/
.adviserrc.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
114
115
116
117
118
119
120
121
{
"plugins": ["dependencies"],
"rules": {
"package-json-properties": [
"error",
{ "required": ["name", "private", "scripts", "engines", "dependencies", "browserslist"] }
],
"root-files": [
"error",
{
"required": [
".husky",
".editorconfig",
".envrc",
".eslintignore",
".eslintrc.json",
".gitattributes",
".gitignore",
".ls-lint.yml",
".nvmrc",
".prettierignore",
".prettierrc",
".senggenerator",
".stylelintignore",
".stylelintrc",
"commitlint.config.js",
"lint-staged.config.js",
"next-env.d.ts",
"next.config.js",
"README.md",
"tsconfig.json",
"types.d.ts"
],
"blacklist": []
}
],
"dependencies/not-allowed-packages": ["error", { "packages": ["jquery", "lodash"] }],
"dependencies/min-vulnerabilities-allow": ["error", { "production": true, "level": "critical", "skip": [""] }],
"dependencies/outdated-packages": ["warn", { "criteria": "major", "exclude": [""] }],
"dependencies/unused-packages": ["warn"],
"dependencies/licenses-allowlist": [
"warn",
{
"allowlist": [
"AFL-2.1",
"AFL-3.0",
"APSL-2.0",
"Apache-1.1",
"Apache-2.0",
"Artistic-1.0",
"Artistic-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CC-BY-1.0",
"CC-BY-2.0",
"CC-BY-2.5",
"CC-BY-3.0",
"CC-BY-4.0",
"CC0-1.0",
"CDDL-1.0",
"CDDL-1.1",
"CPL-1.0",
"EPL-1.0",
"FTL",
"GPL-3.0",
"IPL-1.0",
"ISC",
"LGPL-2.0",
"LGPL-2.1",
"LGPL-3.0",
"LPL-1.02",
"MIT",
"MPL-1.0",
"MPL-1.1",
"MPL-2.0",
"MS-PL",
"NCSA",
"OpenSSL",
"PHP-3.0",
"Ruby",
"Unlicense",
"W3C",
"Xnet",
"ZPL-2.0",
"Zend-2.0",
"Zlib",
"libtiff",
"BSD-3-Clause OR MIT",
"(MIT OR Apache-2.0)",
"MPL-2.0 OR Apache-2.0",
"(MIT AND Zlib)",
"(WTFPL OR MIT)",
"(BSD-2-Clause OR MIT OR Apache-2.0)",
"(MIT AND BSD-3-Clause)"
],
"excludePackage": [],
"includeNoProdPackages": false
}
]
},
"settings": {
"tags": {
"dev": [
"package-json-properties",
"root-files",
"dependencies/not-allowed-packages",
"dependencies/min-vulnerabilities-allow"
],
"ci": [
"package-json-properties",
"root-files",
"dependencies/not-allowed-packages",
"dependencies/min-vulnerabilities-allow",
"dependencies/outdated-packages",
"dependencies/licenses-allowlist",
"dependencies/unused-packages"
]
}
}
}