@wistia/eslint-config 1.2.0 → 1.2.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @wistia/eslint-config
|
|
2
2
|
|
|
3
|
+
## 1.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#401](https://github.com/wistia/eslint-config/pull/401) [`a18bee2`](https://github.com/wistia/eslint-config/commit/a18bee2d31427e889602a06744999722beb826e5) Thanks [@okize](https://github.com/okize)! - fix: adjust `no-unused-vars` rule to be more forgiving
|
|
8
|
+
|
|
3
9
|
## 1.2.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/package.json
CHANGED
package/src/rules/base.mjs
CHANGED
|
@@ -235,10 +235,13 @@ export default {
|
|
|
235
235
|
{
|
|
236
236
|
vars: 'all',
|
|
237
237
|
args: 'after-used',
|
|
238
|
+
argsIgnorePattern: '^_',
|
|
238
239
|
caughtErrors: 'all',
|
|
240
|
+
caughtErrorsIgnorePattern: '^_',
|
|
241
|
+
destructuredArrayIgnorePattern: '^_',
|
|
239
242
|
ignoreRestSiblings: true,
|
|
240
243
|
reportUsedIgnorePattern: false,
|
|
241
|
-
|
|
244
|
+
varsIgnorePattern: '^_',
|
|
242
245
|
},
|
|
243
246
|
],
|
|
244
247
|
|
|
@@ -1656,9 +1656,12 @@
|
|
|
1656
1656
|
"args": "after-used",
|
|
1657
1657
|
"argsIgnorePattern": "^_",
|
|
1658
1658
|
"caughtErrors": "all",
|
|
1659
|
+
"caughtErrorsIgnorePattern": "^_",
|
|
1660
|
+
"destructuredArrayIgnorePattern": "^_",
|
|
1659
1661
|
"ignoreRestSiblings": true,
|
|
1660
1662
|
"reportUsedIgnorePattern": false,
|
|
1661
1663
|
"vars": "all",
|
|
1664
|
+
"varsIgnorePattern": "^_",
|
|
1662
1665
|
},
|
|
1663
1666
|
],
|
|
1664
1667
|
"no-use-before-define": [
|