@balena/lint 7.0.1 → 7.0.2
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/config/.eslintrc.js +6 -1
- package/package.json +2 -2
package/config/.eslintrc.js
CHANGED
|
@@ -67,7 +67,12 @@ module.exports = {
|
|
|
67
67
|
"@typescript-eslint/no-this-alias": "off",
|
|
68
68
|
"@typescript-eslint/no-unused-vars": [
|
|
69
69
|
"error",
|
|
70
|
-
{
|
|
70
|
+
{
|
|
71
|
+
// Ideally we would want to block trailing unused destructured vars
|
|
72
|
+
// similarly to how `"args": "after-used"` works, but this isn't supported at.
|
|
73
|
+
"destructuredArrayIgnorePattern": "^_",
|
|
74
|
+
"ignoreRestSiblings": true
|
|
75
|
+
},
|
|
71
76
|
],
|
|
72
77
|
"@typescript-eslint/prefer-for-of": "error",
|
|
73
78
|
"@typescript-eslint/prefer-function-type": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@balena/lint",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "Balena.io eslint & prettier wrapper",
|
|
5
5
|
"bin": {
|
|
6
6
|
"balena-lint": "./bin/balena-lint"
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"versionist": {
|
|
66
|
-
"publishedAt": "2023-08-
|
|
66
|
+
"publishedAt": "2023-08-23T13:42:47.047Z"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=16.0.0",
|