@agoric/eslint-config 0.4.1-upgrade-14-dev-c8f9e7b.0 → 0.4.1-upgrade-16-fi-dev-8879538.0

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/eslint-config.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ /* eslint-env node */
1
2
  module.exports = {
2
3
  extends: [
3
4
  'airbnb-base',
@@ -5,11 +6,12 @@ module.exports = {
5
6
  'plugin:jsdoc/recommended',
6
7
  'prettier',
7
8
  ],
8
- plugins: ['import'],
9
+ plugins: ['import', 'github'],
9
10
  rules: {
10
11
  'arrow-body-style': 'off',
11
12
  'arrow-parens': 'off',
12
13
  'no-continue': 'off',
14
+ 'no-await-in-loop': 'off',
13
15
  'implicit-arrow-linebreak': 'off',
14
16
  'function-paren-newline': 'off',
15
17
  strict: 'off',
@@ -47,8 +49,11 @@ module.exports = {
47
49
  },
48
50
  ],
49
51
 
50
- // Work around https://github.com/import-js/eslint-plugin-import/issues/1810
51
- 'import/no-unresolved': ['error', { ignore: ['ava'] }],
52
+ 'github/array-foreach': 'warn',
53
+
54
+ // it doesn't support exports maps https://github.com/import-js/eslint-plugin-import/issues/1810
55
+ // and most of our code is covered by tsc which does
56
+ 'import/no-unresolved': 'off',
52
57
  'import/prefer-default-export': 'off',
53
58
 
54
59
  'jsdoc/no-multi-asterisks': ['warn', { allowWhitespace: true }],
@@ -75,8 +80,8 @@ module.exports = {
75
80
  '**/*.config.*.js',
76
81
  // leading wildcard to work in CLI (package path) and IDE (repo path)
77
82
  '**/test/**',
78
- '**/demo*/**/*.js',
79
- '**/scripts/**/*.js',
83
+ '**/demo*/**/*js',
84
+ '**/scripts/**/*js',
80
85
  ],
81
86
  },
82
87
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/eslint-config",
3
- "version": "0.4.1-upgrade-14-dev-c8f9e7b.0+c8f9e7b",
3
+ "version": "0.4.1-upgrade-16-fi-dev-8879538.0+8879538",
4
4
  "description": "Rules used by the @agoric packages",
5
5
  "main": "./eslint-config.cjs",
6
6
  "repository": {
@@ -25,20 +25,18 @@
25
25
  "eslint-config.*"
26
26
  ],
27
27
  "peerDependencies": {
28
- "@endo/eslint-plugin": "0.4.4",
29
- "@jessie.js/eslint-plugin": "^0.3.0",
30
- "@typescript-eslint/parser": "^5.55.0",
31
- "eslint": "^8.36.0",
28
+ "@endo/eslint-plugin": "^2.1.3",
29
+ "@jessie.js/eslint-plugin": "^0.4.1",
30
+ "eslint": "^8.57.0",
32
31
  "eslint-config-airbnb-base": "^15.0.0",
33
32
  "eslint-config-jessie": "^0.0.6",
34
- "eslint-config-prettier": "^8.8.0",
33
+ "eslint-config-prettier": "^9.0.0",
34
+ "eslint-plugin-github": "^4.10.0",
35
35
  "eslint-plugin-import": "^2.25.3",
36
- "eslint-plugin-jsdoc": "^40.1.0",
37
- "eslint-plugin-jsx-a11y": "^6.5.1",
38
- "eslint-plugin-prettier": "^4.2.1",
39
- "eslint-plugin-react": "^7.28.0",
40
- "eslint-plugin-react-hooks": "^4.3.0",
41
- "prettier": "^2.8.1"
36
+ "eslint-plugin-jsdoc": "^46.4.3",
37
+ "eslint-plugin-prettier": "^5.0.0",
38
+ "prettier": "^3.0.3",
39
+ "typescript-eslint": "^7.2.0"
42
40
  },
43
- "gitHead": "c8f9e7be1645e0be23f47de197409a7d4874add5"
41
+ "gitHead": "8879538cd1d125a08346f02dd5701d0d70c90bb8"
44
42
  }
package/CHANGELOG.md DELETED
@@ -1,281 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ### [0.4.1-u12.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.4.1-u11wf.0...@agoric/eslint-config@0.4.1-u12.0) (2023-11-10)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * export of eslint-config.cjs ([3f6b83b](https://github.com/Agoric/agoric-sdk/commit/3f6b83b55c320c710aa57c796a6c166ae396fe38))
12
-
13
-
14
-
15
- ### [0.4.1-u11wf.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.4.0...@agoric/eslint-config@0.4.1-u11wf.0) (2023-09-23)
16
-
17
- **Note:** Version bump only for package @agoric/eslint-config
18
-
19
-
20
-
21
-
22
-
23
- ## [0.4.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.25...@agoric/eslint-config@0.4.0) (2023-05-19)
24
-
25
-
26
- ### Features
27
-
28
- * **eslint-config:** disable no-continue ([c89afca](https://github.com/Agoric/agoric-sdk/commit/c89afca17dbb6a750a1caa12a0daff91138d475b))
29
-
30
-
31
-
32
- ### [0.3.25](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.24...@agoric/eslint-config@0.3.25) (2022-09-20)
33
-
34
- **Note:** Version bump only for package @agoric/eslint-config
35
-
36
-
37
-
38
-
39
-
40
- ### [0.3.24](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.23...@agoric/eslint-config@0.3.24) (2022-04-18)
41
-
42
- **Note:** Version bump only for package @agoric/eslint-config
43
-
44
-
45
-
46
-
47
-
48
- ### [0.3.23](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.22...@agoric/eslint-config@0.3.23) (2022-02-21)
49
-
50
- **Note:** Version bump only for package @agoric/eslint-config
51
-
52
-
53
-
54
-
55
-
56
- ### [0.3.22](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.21...@agoric/eslint-config@0.3.22) (2021-12-02)
57
-
58
-
59
- ### Bug Fixes
60
-
61
- * **eslint-config:** loosen no-extraneous-dependencies patterns ([71be149](https://github.com/Agoric/agoric-sdk/commit/71be149522823ec41900bcf96a0b39f75b38bfd9))
62
-
63
-
64
-
65
- ### [0.3.21](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.20...@agoric/eslint-config@0.3.21) (2021-10-13)
66
-
67
-
68
- ### Bug Fixes
69
-
70
- * **eslint-config:** adapt new JSDoc rules ([91fd093](https://github.com/Agoric/agoric-sdk/commit/91fd093bf95f80e19cde520c920b89c50dbf9782))
71
-
72
-
73
-
74
- ### [0.3.20](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.19...@agoric/eslint-config@0.3.20) (2021-09-23)
75
-
76
- **Note:** Version bump only for package @agoric/eslint-config
77
-
78
-
79
-
80
-
81
-
82
- ### [0.3.19](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.18...@agoric/eslint-config@0.3.19) (2021-09-15)
83
-
84
- **Note:** Version bump only for package @agoric/eslint-config
85
-
86
-
87
-
88
-
89
-
90
- ### [0.3.18](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.17...@agoric/eslint-config@0.3.18) (2021-08-18)
91
-
92
- **Note:** Version bump only for package @agoric/eslint-config
93
-
94
-
95
-
96
-
97
-
98
- ### [0.3.17](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.16...@agoric/eslint-config@0.3.17) (2021-08-17)
99
-
100
- **Note:** Version bump only for package @agoric/eslint-config
101
-
102
-
103
-
104
-
105
-
106
- ### [0.3.16](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.13...@agoric/eslint-config@0.3.16) (2021-08-15)
107
-
108
-
109
- ### Bug Fixes
110
-
111
- * gut `packages/eslint-config` to use `[@jessie](https://github.com/jessie).js` and `[@endo](https://github.com/endo)` ([68a4f7d](https://github.com/Agoric/agoric-sdk/commit/68a4f7d8cbc70bc3d87f7581c7235f8730c32709))
112
-
113
- ### 0.26.10 (2021-07-28)
114
-
115
-
116
-
117
- ### [0.3.15](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.13...@agoric/eslint-config@0.3.15) (2021-08-14)
118
-
119
-
120
- ### Bug Fixes
121
-
122
- * gut `packages/eslint-config` to use `[@jessie](https://github.com/jessie).js` and `[@endo](https://github.com/endo)` ([68a4f7d](https://github.com/Agoric/agoric-sdk/commit/68a4f7d8cbc70bc3d87f7581c7235f8730c32709))
123
-
124
- ### 0.26.10 (2021-07-28)
125
-
126
-
127
-
128
- ### [0.3.14](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.13...@agoric/eslint-config@0.3.14) (2021-07-28)
129
-
130
- **Note:** Version bump only for package @agoric/eslint-config
131
-
132
-
133
-
134
-
135
-
136
- ### [0.3.13](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.12...@agoric/eslint-config@0.3.13) (2021-07-01)
137
-
138
- **Note:** Version bump only for package @agoric/eslint-config
139
-
140
-
141
-
142
-
143
-
144
- ### [0.3.12](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.11...@agoric/eslint-config@0.3.12) (2021-06-28)
145
-
146
- **Note:** Version bump only for package @agoric/eslint-config
147
-
148
-
149
-
150
-
151
-
152
- ### [0.3.11](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.10...@agoric/eslint-config@0.3.11) (2021-06-25)
153
-
154
- **Note:** Version bump only for package @agoric/eslint-config
155
-
156
-
157
-
158
-
159
-
160
- ### [0.3.10](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.9...@agoric/eslint-config@0.3.10) (2021-06-24)
161
-
162
- **Note:** Version bump only for package @agoric/eslint-config
163
-
164
-
165
-
166
-
167
-
168
- ### [0.3.9](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.8...@agoric/eslint-config@0.3.9) (2021-06-23)
169
-
170
- **Note:** Version bump only for package @agoric/eslint-config
171
-
172
-
173
-
174
-
175
-
176
- ### [0.3.8](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.7...@agoric/eslint-config@0.3.8) (2021-06-16)
177
-
178
- **Note:** Version bump only for package @agoric/eslint-config
179
-
180
-
181
-
182
-
183
-
184
- ### [0.3.7](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.6...@agoric/eslint-config@0.3.7) (2021-06-15)
185
-
186
- **Note:** Version bump only for package @agoric/eslint-config
187
-
188
-
189
-
190
-
191
-
192
- ## [0.3.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.5...@agoric/eslint-config@0.3.6) (2021-05-10)
193
-
194
- **Note:** Version bump only for package @agoric/eslint-config
195
-
196
-
197
-
198
-
199
-
200
- ## [0.3.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.4...@agoric/eslint-config@0.3.5) (2021-05-05)
201
-
202
- **Note:** Version bump only for package @agoric/eslint-config
203
-
204
-
205
-
206
-
207
-
208
- ## [0.3.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.3...@agoric/eslint-config@0.3.4) (2021-05-05)
209
-
210
- **Note:** Version bump only for package @agoric/eslint-config
211
-
212
-
213
-
214
-
215
-
216
- ## [0.3.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.2...@agoric/eslint-config@0.3.3) (2021-04-07)
217
-
218
- **Note:** Version bump only for package @agoric/eslint-config
219
-
220
-
221
-
222
-
223
-
224
- ## [0.3.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.1...@agoric/eslint-config@0.3.2) (2021-04-06)
225
-
226
-
227
- ### Bug Fixes
228
-
229
- * update eslint version ([#2804](https://github.com/Agoric/agoric-sdk/issues/2804)) ([3fc6c5e](https://github.com/Agoric/agoric-sdk/commit/3fc6c5e593f7cdcf5f908365c29cc469e309229d))
230
-
231
-
232
-
233
-
234
-
235
- ## [0.3.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.3.0...@agoric/eslint-config@0.3.1) (2021-03-24)
236
-
237
- **Note:** Version bump only for package @agoric/eslint-config
238
-
239
-
240
-
241
-
242
-
243
- # [0.3.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.2.1...@agoric/eslint-config@0.3.0) (2021-03-16)
244
-
245
-
246
- ### Bug Fixes
247
-
248
- * make separate 'test:xs' target, remove XS from 'test' target ([b9c1a69](https://github.com/Agoric/agoric-sdk/commit/b9c1a6987093fc8e09e8aba7acd2a1618413bac8)), closes [#2647](https://github.com/Agoric/agoric-sdk/issues/2647)
249
-
250
-
251
- ### Features
252
-
253
- * eslint 'use jessie'; detection and first cut at rules ([9ea9909](https://github.com/Agoric/agoric-sdk/commit/9ea99097336ade6bb5645b06a1714e38c7185864))
254
-
255
-
256
-
257
-
258
-
259
- ## [0.2.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.2.0...@agoric/eslint-config@0.2.1) (2021-02-22)
260
-
261
- **Note:** Version bump only for package @agoric/eslint-config
262
-
263
-
264
-
265
-
266
-
267
- # [0.2.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/eslint-config@0.1.1...@agoric/eslint-config@0.2.0) (2021-02-16)
268
-
269
-
270
- ### Features
271
-
272
- * make @agoric/eslint-plugin deal with assert.fail as throw ([f23adee](https://github.com/Agoric/agoric-sdk/commit/f23adee512aec50788d9c9efed1cea9d774dfe8f))
273
- * modified eslint config to forbid the use of for...in loops ([#2423](https://github.com/Agoric/agoric-sdk/issues/2423)) ([1eb65d4](https://github.com/Agoric/agoric-sdk/commit/1eb65d4af52a40e229ec1eefaff0200d3ab6aba0))
274
-
275
-
276
-
277
-
278
-
279
- ## 0.1.1 (2020-12-10)
280
-
281
- **Note:** Version bump only for package @agoric/eslint-config