@tim-code/eslint-config 0.6.2 → 0.6.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 +2 -0
  2. package/package.json +1 -1
package/.eslintrc.js CHANGED
@@ -62,6 +62,8 @@ module.exports = {
62
62
  "max-statements": ["error", 20],
63
63
  // default is 50 lines which is fine but adding comments or blanks should not trigger this warning
64
64
  "max-lines-per-function": ["error", { max: 50, skipBlankLines: true, skipComments: true }],
65
+ // allow mix of reassigned and const variables
66
+ "prefer-const": ["error", { destructuring: "all" }],
65
67
 
66
68
  // unsure
67
69
  "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": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "",
5
5
  "main": ".eslintrc.js",
6
6
  "author": "",