@adbayb/stack 2.24.0 → 2.26.0

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.
@@ -1,10 +1,7 @@
1
1
  import reactHooksPlugin from "eslint-plugin-react-hooks";
2
2
  import reactPlugin from "@eslint-react/eslint-plugin";
3
3
 
4
- import {
5
- JAVASCRIPT_LIKE_EXTENSIONS,
6
- TYPESCRIPT_EXTENSIONS,
7
- } from "../constants.js";
4
+ import { JAVASCRIPT_LIKE_EXTENSIONS } from "../constants.js";
8
5
 
9
6
  export const config = [
10
7
  {
@@ -37,7 +34,6 @@ export const config = [
37
34
  "react/hooks-extra/no-unnecessary-use-memo": "error",
38
35
  "react/hooks-extra/no-unnecessary-use-prefix": "error",
39
36
  "react/hooks-extra/prefer-use-state-lazy-initialization": "error",
40
- "react/jsx-key-before-spread": "error",
41
37
  "react/jsx-no-iife": "error",
42
38
  "react/naming-convention/component-name": "error",
43
39
  "react/naming-convention/context-name": "error",
@@ -73,13 +69,4 @@ export const config = [
73
69
  "react/web-api/no-leaked-timeout": "error",
74
70
  },
75
71
  },
76
- {
77
- files: TYPESCRIPT_EXTENSIONS,
78
- plugins: {
79
- react: reactPlugin,
80
- },
81
- rules: {
82
- "react/prefer-read-only-props": "error",
83
- },
84
- },
85
72
  ];
@@ -37,7 +37,6 @@ export const config = [
37
37
  "unicorn/new-for-builtins": "error",
38
38
  "unicorn/no-abusive-eslint-disable": "error",
39
39
  "unicorn/no-array-callback-reference": "error",
40
- "unicorn/no-array-push-push": "error",
41
40
  "unicorn/no-await-in-promise-methods": "error",
42
41
  "unicorn/no-console-spaces": "error",
43
42
  "unicorn/no-document-cookie": "error",
@@ -46,14 +45,16 @@ export const config = [
46
45
  "unicorn/no-instanceof-array": "error",
47
46
  "unicorn/no-invalid-fetch-options": "error",
48
47
  "unicorn/no-invalid-remove-event-listener": "error",
49
- "unicorn/no-length-as-slice-end": "error",
50
48
  "unicorn/no-new-buffer": "error",
51
49
  "unicorn/no-object-as-default-parameter": "error",
52
50
  "unicorn/no-process-exit": "error",
53
51
  "unicorn/no-single-promise-in-promise-methods": "error",
54
52
  "unicorn/no-static-only-class": "error",
55
53
  "unicorn/no-typeof-undefined": "error",
54
+ "unicorn/no-unnecessary-array-flat-depth": "error",
55
+ "unicorn/no-unnecessary-array-splice-count": "error",
56
56
  "unicorn/no-unnecessary-polyfills": "error",
57
+ "unicorn/no-unnecessary-slice-end": "error",
57
58
  "unicorn/no-unreadable-array-destructuring": "error",
58
59
  "unicorn/no-unreadable-iife": "error",
59
60
  "unicorn/no-unused-properties": "error",
@@ -81,6 +82,7 @@ export const config = [
81
82
  { ignoreUsedVariables: true },
82
83
  ],
83
84
  "unicorn/prefer-global-this": "error",
85
+ "unicorn/prefer-import-meta-properties": "error",
84
86
  "unicorn/prefer-includes": "error",
85
87
  "unicorn/prefer-keyboard-event-key": "error",
86
88
  "unicorn/prefer-logical-operator-over-ternary": "error",
@@ -100,6 +102,7 @@ export const config = [
100
102
  "unicorn/prefer-regexp-test": "error",
101
103
  "unicorn/prefer-set-has": "error",
102
104
  "unicorn/prefer-set-size": "error",
105
+ "unicorn/prefer-single-call": "error",
103
106
  "unicorn/prefer-spread": "error",
104
107
  "unicorn/prefer-string-raw": "error",
105
108
  "unicorn/prefer-string-replace-all": "error",
package/dist/index.js CHANGED
@@ -196,7 +196,7 @@ const ESLINT_EXTENSIONS = [
196
196
  "mdx"
197
197
  ];
198
198
 
199
- var version = "2.24.0";
199
+ var version = "2.26.0";
200
200
 
201
201
  const createWatchCommand = (program)=>{
202
202
  program.command({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adbayb/stack",
3
- "version": "2.24.0",
3
+ "version": "2.26.0",
4
4
  "description": "My opinionated JavaScript-based toolchain",
5
5
  "keywords": [
6
6
  "stack",
@@ -73,7 +73,7 @@
73
73
  },
74
74
  "devDependencies": {
75
75
  "@types/node": "22.15.32",
76
- "quickbundle": "2.12.0"
76
+ "quickbundle": "2.13.0"
77
77
  },
78
78
  "publishConfig": {
79
79
  "access": "public",