@qlik/eslint-config 0.5.1 → 0.5.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.
@@ -5,7 +5,22 @@ module.exports = {
5
5
  "no-underscore-dangle": "off",
6
6
  "class-methods-use-this": "off",
7
7
  "no-plusplus": "off",
8
- "prefer-destructuring": ["error", { object: true, array: false }],
8
+ "prefer-destructuring": [
9
+ "error",
10
+ {
11
+ VariableDeclarator: {
12
+ array: false,
13
+ object: true,
14
+ },
15
+ AssignmentExpression: {
16
+ array: false,
17
+ object: false,
18
+ },
19
+ },
20
+ {
21
+ enforceForRenamedProperties: false,
22
+ },
23
+ ],
9
24
  "guard-for-in": "off",
10
25
  // allow prev to be re-assigned in reducers
11
26
  "no-param-reassign": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qlik/eslint-config",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "Qlik's ESLint config for typescript",
5
5
  "repository": "git@github.com:qlik-oss/dev-tools-js.git",
6
6
  "license": "ISC",
@@ -28,8 +28,8 @@
28
28
  "extends": "eslint:recommended"
29
29
  },
30
30
  "dependencies": {
31
- "@typescript-eslint/eslint-plugin": "6.11.0",
32
- "@typescript-eslint/parser": "6.11.0",
31
+ "@typescript-eslint/eslint-plugin": "6.12.0",
32
+ "@typescript-eslint/parser": "6.12.0",
33
33
  "eslint-config-airbnb": "19.0.4",
34
34
  "eslint-config-airbnb-base": "15.0.0",
35
35
  "eslint-config-airbnb-typescript": "17.1.0",
@@ -40,15 +40,15 @@
40
40
  "eslint-plugin-playwright": "0.18.0",
41
41
  "eslint-plugin-react": "7.33.2",
42
42
  "eslint-plugin-react-hooks": "4.6.0",
43
- "eslint-plugin-svelte": "2.35.0",
44
- "eslint-plugin-testing-library": "6.1.2",
45
- "eslint-plugin-vitest": "0.3.9",
43
+ "eslint-plugin-svelte": "2.35.1",
44
+ "eslint-plugin-testing-library": "6.2.0",
45
+ "eslint-plugin-vitest": "0.3.10",
46
46
  "svelte-eslint-parser": "0.33.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "eslint": "8.54.0",
50
50
  "prettier": "3.1.0",
51
- "@qlik/prettier-config": "0.4.2"
51
+ "@qlik/prettier-config": "0.4.3"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "eslint": "8.*"