@tim-code/eslint-config 1.2.1 → 1.2.3

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.
Files changed (2) hide show
  1. package/.eslintrc.js +3 -3
  2. package/package.json +1 -1
package/.eslintrc.js CHANGED
@@ -16,7 +16,7 @@ module.exports = {
16
16
  extends: ["eslint:all", "prettier", "plugin:import/recommended"],
17
17
  overrides: [
18
18
  {
19
- files: ["**/*.test.*", "**/test/**"],
19
+ files: ["**/*.test.*", "**/*.spec.*", "**/test/**"],
20
20
  env: {
21
21
  jest: true,
22
22
  },
@@ -87,8 +87,8 @@ module.exports = {
87
87
  // when writing such comments during brainstorming, just disable the rule
88
88
  // most of the time, want to discourage non-JSDoc block style comments in production
89
89
  "multiline-comment-style": ["error", "separate-lines"],
90
- // allow unused vars before a used var in argument list
91
- "no-unused-vars": ["error", { args: "after-used" }],
90
+ // unfortunately can't allow "after-used" for destructuring array
91
+ // "no-unused-vars": ["error", { ignoreRestSiblings: true }],
92
92
 
93
93
  // unsure
94
94
  "no-labels": "off", // useful to be able to break/continue an outer loop; otherwise have to write more code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tim-code/eslint-config",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "",
5
5
  "main": ".eslintrc.js",
6
6
  "author": "",