@agoric/eslint-config 0.4.1-u18.1 → 0.4.1-u19.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 +3 -1
- package/package.json +5 -5
package/eslint-config.cjs
CHANGED
|
@@ -31,11 +31,13 @@ module.exports = {
|
|
|
31
31
|
'prefer-regex-literals': 'off',
|
|
32
32
|
'no-else-return': 'off',
|
|
33
33
|
'no-console': 'off',
|
|
34
|
+
'no-lone-blocks': 'off',
|
|
34
35
|
'no-unused-vars': [
|
|
35
36
|
'error',
|
|
36
37
|
{
|
|
37
38
|
argsIgnorePattern: '^_',
|
|
38
39
|
varsIgnorePattern: '^_',
|
|
40
|
+
caughtErrors: 'none', // Needed now that in ESLint v9.0.0, varsIgnorePattern no longer applies to errors in catch clauses
|
|
39
41
|
},
|
|
40
42
|
],
|
|
41
43
|
'no-inner-declarations': 'off',
|
|
@@ -49,7 +51,7 @@ module.exports = {
|
|
|
49
51
|
'default-param-last': 'off', // unaware of TS type annotations
|
|
50
52
|
'consistent-return': 'off', // unaware of throws. TS detects more reliably.
|
|
51
53
|
'no-fallthrough': 'warn', // unaware of throws.
|
|
52
|
-
|
|
54
|
+
'no-redeclare': ['error', { builtinGlobals: false }], // Allow redeclaration of built-in globals when explicitly declared
|
|
53
55
|
'spaced-comment': [
|
|
54
56
|
'error',
|
|
55
57
|
'always',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/eslint-config",
|
|
3
|
-
"version": "0.4.1-
|
|
3
|
+
"version": "0.4.1-u19.0",
|
|
4
4
|
"description": "Rules used by the @agoric packages",
|
|
5
5
|
"main": "./eslint-config.cjs",
|
|
6
6
|
"repository": {
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"eslint-config.*"
|
|
26
26
|
],
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@endo/eslint-plugin": "^2.
|
|
29
|
-
"@jessie.js/eslint-plugin": "^0.4.
|
|
30
|
-
"eslint": "^
|
|
28
|
+
"@endo/eslint-plugin": "^2.3.0",
|
|
29
|
+
"@jessie.js/eslint-plugin": "^0.4.2",
|
|
30
|
+
"eslint": "^9.0.0",
|
|
31
31
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
32
32
|
"eslint-config-jessie": "^0.0.6",
|
|
33
33
|
"eslint-config-prettier": "^9.0.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"prettier": "^3.4.2",
|
|
39
39
|
"typescript-eslint": "^8.17.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "29e9704c375a06bb617027093b30d2d25faa6471"
|
|
42
42
|
}
|