@magicdawn/eslint-config 1.6.3 → 1.6.5

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/dist/index.d.ts CHANGED
@@ -31,6 +31,7 @@ declare const mgCustomRules: {
31
31
  readonly destructuring: "all";
32
32
  }];
33
33
  readonly 'array-callback-return': "off";
34
+ readonly 'no-useless-assignment': "off";
34
35
  };
35
36
  readonly special__typeImport: {
36
37
  readonly 'no-duplicate-imports': "off";
@@ -51,6 +52,7 @@ declare const mgCustomRules: {
51
52
  readonly 'unicorn/prefer-add-event-listener': "off";
52
53
  readonly 'unicorn/prefer-single-call': "off";
53
54
  readonly 'unicorn/prefer-reflect-apply': "off";
55
+ readonly 'unicorn/prefer-modern-dom-apis': "off";
54
56
  readonly 'unicorn/catch-error-name': "off";
55
57
  readonly 'unicorn/consistent-function-scoping': "off";
56
58
  readonly 'unicorn/filename-case': "off";
package/dist/index.js CHANGED
@@ -17,7 +17,8 @@ const mgCustomRules = {
17
17
  "no-console": "off",
18
18
  "no-duplicate-imports": "off",
19
19
  "prefer-const": ["warn", { destructuring: "all" }],
20
- "array-callback-return": "off"
20
+ "array-callback-return": "off",
21
+ "no-useless-assignment": "off"
21
22
  },
22
23
  special__typeImport: {
23
24
  "no-duplicate-imports": "off",
@@ -36,6 +37,7 @@ const mgCustomRules = {
36
37
  "unicorn/prefer-add-event-listener": "off",
37
38
  "unicorn/prefer-single-call": "off",
38
39
  "unicorn/prefer-reflect-apply": "off",
40
+ "unicorn/prefer-modern-dom-apis": "off",
39
41
  "unicorn/catch-error-name": "off",
40
42
  "unicorn/consistent-function-scoping": "off",
41
43
  "unicorn/filename-case": "off",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@magicdawn/eslint-config",
3
3
  "type": "module",
4
- "version": "1.6.3",
4
+ "version": "1.6.5",
5
5
  "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
6
6
  "description": "magicdawn's eslint-config",
7
7
  "author": "magicdawn",
@@ -62,7 +62,7 @@
62
62
  "husky": "^9.1.7",
63
63
  "lint-staged": "^16.4.0",
64
64
  "prettier": "^3.8.3",
65
- "tsdown": "^0.21.8"
65
+ "tsdown": "^0.21.9"
66
66
  },
67
67
  "lint-staged": {
68
68
  "*.{?(c|m)(j|t)s?(x),json,y?(a)ml}": [