@arcgis/eslint-config 5.2.0-next.119 → 5.2.0-next.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/core.js +90 -16
- package/dist/plugins/webgis/index.js +2 -2
- package/package.json +2 -2
package/dist/config/core.js
CHANGED
|
@@ -70,6 +70,7 @@ const eslintConfigCore = [
|
|
|
70
70
|
tagNamePreference: {
|
|
71
71
|
// Our tags
|
|
72
72
|
"public": "public",
|
|
73
|
+
"internal": "internal",
|
|
73
74
|
"copyDoc": "copyDoc",
|
|
74
75
|
// Flags
|
|
75
76
|
"beta": "beta",
|
|
@@ -84,6 +85,8 @@ const eslintConfigCore = [
|
|
|
84
85
|
"returns": "returns",
|
|
85
86
|
"see": "see",
|
|
86
87
|
"esriCompatibilityName": "esriCompatibilityName",
|
|
88
|
+
// Not yet officially supported, but not forbidden
|
|
89
|
+
"throws": "throws",
|
|
87
90
|
// Long descriptions
|
|
88
91
|
"example": "example",
|
|
89
92
|
"privateRemarks": "privateRemarks",
|
|
@@ -92,20 +95,93 @@ const eslintConfigCore = [
|
|
|
92
95
|
"constant": "readonly",
|
|
93
96
|
"defaultvalue": "default",
|
|
94
97
|
"return": "returns",
|
|
95
|
-
//
|
|
96
|
-
//
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
98
|
+
// Forbid JSDoc tags that are redundant with TypeScript or not used by the docs ui
|
|
99
|
+
// eslint-plugin-jsdoc allows all these by default, so we need to explicitly disable them
|
|
100
|
+
"abstract": false,
|
|
101
|
+
"access": false,
|
|
102
|
+
"alias": false,
|
|
103
|
+
"arg": false,
|
|
104
|
+
"argument": false,
|
|
105
|
+
"async": false,
|
|
106
|
+
"augments": false,
|
|
107
|
+
"author": false,
|
|
108
|
+
"borrows": false,
|
|
109
|
+
"callback": false,
|
|
110
|
+
"class": false,
|
|
111
|
+
"classdesc": false,
|
|
112
|
+
"collectionItemType": false,
|
|
113
|
+
"constructor": false,
|
|
114
|
+
"constructs": false,
|
|
115
|
+
"copyright": false,
|
|
116
|
+
"deprecatedParameters": false,
|
|
117
|
+
"deprecatedProperties": false,
|
|
118
|
+
"desc": false,
|
|
119
|
+
"description": false,
|
|
120
|
+
"emits": false,
|
|
121
|
+
"enum": false,
|
|
122
|
+
"esmimport": false,
|
|
123
|
+
"event": false,
|
|
124
|
+
"exception": false,
|
|
125
|
+
"exports": false,
|
|
126
|
+
"extends": false,
|
|
127
|
+
"external": false,
|
|
128
|
+
"file": false,
|
|
129
|
+
"fileoverview": false,
|
|
130
|
+
"fires": false,
|
|
131
|
+
"func": false,
|
|
132
|
+
"function": false,
|
|
133
|
+
"generator": false,
|
|
134
|
+
"global": false,
|
|
135
|
+
"hideconstructor": false,
|
|
136
|
+
"host": false,
|
|
137
|
+
"ignore": false,
|
|
138
|
+
"implements": false,
|
|
139
|
+
"inheritDoc": false,
|
|
140
|
+
"inheritdoc": false,
|
|
141
|
+
"inner": false,
|
|
142
|
+
"instance": false,
|
|
143
|
+
"interface": false,
|
|
144
|
+
"kind": false,
|
|
145
|
+
"lends": false,
|
|
146
|
+
"license": false,
|
|
147
|
+
"listens": false,
|
|
148
|
+
"member": false,
|
|
149
|
+
"memberof!": false,
|
|
150
|
+
"memberof": false,
|
|
151
|
+
"method": false,
|
|
152
|
+
"mixes": false,
|
|
153
|
+
"mixin": false,
|
|
154
|
+
"modifies": false,
|
|
155
|
+
"module": false,
|
|
156
|
+
"moduletype": false,
|
|
157
|
+
"name": false,
|
|
158
|
+
"namespace": false,
|
|
159
|
+
"override": false,
|
|
160
|
+
"overview": false,
|
|
161
|
+
"package": false,
|
|
162
|
+
"private": false,
|
|
163
|
+
"prop": false,
|
|
164
|
+
"property": false,
|
|
165
|
+
"protected": false,
|
|
166
|
+
"requires": false,
|
|
167
|
+
"static": false,
|
|
168
|
+
"summary": false,
|
|
169
|
+
"tag constructor": false,
|
|
170
|
+
"this": false,
|
|
171
|
+
"tstype": false,
|
|
172
|
+
"tutorial": false,
|
|
173
|
+
"type": false,
|
|
174
|
+
"typedef": false,
|
|
175
|
+
"var": false,
|
|
176
|
+
"variation": false,
|
|
177
|
+
"version": false,
|
|
178
|
+
"virtual": false,
|
|
179
|
+
"yield": false,
|
|
180
|
+
"yields": false,
|
|
181
|
+
"import": false,
|
|
182
|
+
"overload": false,
|
|
183
|
+
"satisfies": false,
|
|
184
|
+
"template": false
|
|
109
185
|
}
|
|
110
186
|
}
|
|
111
187
|
},
|
|
@@ -234,8 +310,6 @@ const eslintConfigCore = [
|
|
|
234
310
|
"webgis/consistent-logging": "off",
|
|
235
311
|
"webgis/no-dts-files": "off",
|
|
236
312
|
"webgis/no-import-outside-src": "off",
|
|
237
|
-
"webgis/no-touching-jsdoc": "off",
|
|
238
|
-
"webgis/no-unsafe-hash-links": "off",
|
|
239
313
|
"webgis/require-await-for-async-screenshot-assert": "off",
|
|
240
314
|
"webgis/require-js-in-imports": "off",
|
|
241
315
|
"yoda": "off",
|
|
@@ -867,7 +867,7 @@ plugin.createRule({
|
|
|
867
867
|
meta: {
|
|
868
868
|
docs: {
|
|
869
869
|
description: description$2,
|
|
870
|
-
defaultLevel: "
|
|
870
|
+
defaultLevel: "error",
|
|
871
871
|
isTypeChecked: false
|
|
872
872
|
},
|
|
873
873
|
messages: {
|
|
@@ -913,7 +913,7 @@ plugin.createRule({
|
|
|
913
913
|
meta: {
|
|
914
914
|
docs: {
|
|
915
915
|
description: description$1,
|
|
916
|
-
defaultLevel: "
|
|
916
|
+
defaultLevel: "error",
|
|
917
917
|
isTypeChecked: false
|
|
918
918
|
},
|
|
919
919
|
messages: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/eslint-config",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.120",
|
|
4
4
|
"description": "ESLint configuration for WebGIS SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@arcgis/toolkit": "5.2.0-next.
|
|
24
|
+
"@arcgis/toolkit": "5.2.0-next.120",
|
|
25
25
|
"@eslint/js": "^10.0.1",
|
|
26
26
|
"@eslint/markdown": "^8.0.3",
|
|
27
27
|
"@types/confusing-browser-globals": "^1.0.3",
|