@adbayb/stack 2.40.0-next-f971d11 → 2.40.0-next-bfbc2eb

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.
@@ -35,6 +35,9 @@ const config = defineConfig({
35
35
  {
36
36
  files: TEST_LIKE_FILES,
37
37
  plugins: ["vitest"],
38
+ rules: {
39
+ "vitest/no-importing-vitest-globals": "off",
40
+ },
38
41
  },
39
42
  {
40
43
  files: [
@@ -145,7 +148,6 @@ const config = defineConfig({
145
148
  { allowTemplateLiterals: "avoidEscape", avoidEscape: true },
146
149
  ],
147
150
  "@stylistic/spaced-comment": "error",
148
- "array-callback-return": ["error", { allowImplicit: true }],
149
151
  "arrow-body-style": ["error", "always"],
150
152
  "id-length": "off",
151
153
  "import/exports-last": "off",
@@ -156,6 +158,7 @@ const config = defineConfig({
156
158
  "import/no-nodejs-modules": "off",
157
159
  "import/no-relative-parent-imports": "off",
158
160
  "import/prefer-default-export": "off",
161
+ "import/unambiguous": "off",
159
162
  "jsdoc/require-param-type": "off",
160
163
  "jsdoc/require-property-type": "off",
161
164
  "jsdoc/require-returns-type": "off",
@@ -186,7 +189,9 @@ const config = defineConfig({
186
189
  "perfectionist/sort-named-imports": "off", // Already supported by eslint/sort-imports
187
190
  "prefer-named-capture-group": "off",
188
191
  "prefer-readonly-parameter-types": "off",
192
+ "react/jsx-filename-extension": ["error", { extensions: ["jsx", "tsx"] }],
189
193
  "react/jsx-max-depth": "off",
194
+ "react/react-in-jsx-scope": "off",
190
195
  "sort-imports": ["error", { ignoreDeclarationSort: true }],
191
196
  "strict-boolean-expressions": "off",
192
197
  "typescript/consistent-return": "off",
@@ -196,6 +201,7 @@ const config = defineConfig({
196
201
  "typescript/no-unsafe-type-assertion": "off",
197
202
  "unicorn/filename-case": "off",
198
203
  "unicorn/import-style": "off",
204
+ "unicorn/no-useless-undefined": "off",
199
205
  },
200
206
  });
201
207
 
@@ -22,12 +22,17 @@ declare const config: {
22
22
  overrides: ({
23
23
  files: string[];
24
24
  plugins: "vitest"[];
25
- rules?: never;
25
+ rules: {
26
+ "vitest/no-importing-vitest-globals": "off";
27
+ "import/no-anonymous-default-export"?: never;
28
+ "import/no-default-export"?: never;
29
+ };
26
30
  } | {
27
31
  files: string[];
28
32
  rules: {
29
33
  "import/no-anonymous-default-export": "off";
30
34
  "import/no-default-export": "off";
35
+ "vitest/no-importing-vitest-globals"?: never;
31
36
  };
32
37
  plugins?: never;
33
38
  })[];
@@ -83,9 +88,6 @@ declare const config: {
83
88
  avoidEscape: boolean;
84
89
  }];
85
90
  "@stylistic/spaced-comment": "error";
86
- "array-callback-return": ["error", {
87
- allowImplicit: true;
88
- }];
89
91
  "arrow-body-style": ["error", "always"];
90
92
  "id-length": "off";
91
93
  "import/exports-last": "off";
@@ -96,6 +98,7 @@ declare const config: {
96
98
  "import/no-nodejs-modules": "off";
97
99
  "import/no-relative-parent-imports": "off";
98
100
  "import/prefer-default-export": "off";
101
+ "import/unambiguous": "off";
99
102
  "jsdoc/require-param-type": "off";
100
103
  "jsdoc/require-property-type": "off";
101
104
  "jsdoc/require-returns-type": "off";
@@ -128,7 +131,11 @@ declare const config: {
128
131
  "perfectionist/sort-named-imports": "off";
129
132
  "prefer-named-capture-group": "off";
130
133
  "prefer-readonly-parameter-types": "off";
134
+ "react/jsx-filename-extension": ["error", {
135
+ extensions: string[];
136
+ }];
131
137
  "react/jsx-max-depth": "off";
138
+ "react/react-in-jsx-scope": "off";
132
139
  "sort-imports": ["error", {
133
140
  ignoreDeclarationSort: true;
134
141
  }];
@@ -140,6 +147,7 @@ declare const config: {
140
147
  "typescript/no-unsafe-type-assertion": "off";
141
148
  "unicorn/filename-case": "off";
142
149
  "unicorn/import-style": "off";
150
+ "unicorn/no-useless-undefined": "off";
143
151
  };
144
152
  };
145
153
  declare const createConfig: (input: Required<Pick<OxlintConfig, "ignorePatterns">>) => OxlintConfig;
@@ -43,7 +43,8 @@ const config = defineConfig({
43
43
  },
44
44
  overrides: [{
45
45
  files: TEST_LIKE_FILES,
46
- plugins: ["vitest"]
46
+ plugins: ["vitest"],
47
+ rules: { "vitest/no-importing-vitest-globals": "off" }
47
48
  }, {
48
49
  files: [
49
50
  ...TEST_LIKE_FILES,
@@ -156,7 +157,6 @@ const config = defineConfig({
156
157
  }
157
158
  ],
158
159
  "@stylistic/spaced-comment": "error",
159
- "array-callback-return": ["error", { allowImplicit: true }],
160
160
  "arrow-body-style": ["error", "always"],
161
161
  "id-length": "off",
162
162
  "import/exports-last": "off",
@@ -167,6 +167,7 @@ const config = defineConfig({
167
167
  "import/no-nodejs-modules": "off",
168
168
  "import/no-relative-parent-imports": "off",
169
169
  "import/prefer-default-export": "off",
170
+ "import/unambiguous": "off",
170
171
  "jsdoc/require-param-type": "off",
171
172
  "jsdoc/require-property-type": "off",
172
173
  "jsdoc/require-returns-type": "off",
@@ -197,7 +198,9 @@ const config = defineConfig({
197
198
  "perfectionist/sort-named-imports": "off",
198
199
  "prefer-named-capture-group": "off",
199
200
  "prefer-readonly-parameter-types": "off",
201
+ "react/jsx-filename-extension": ["error", { extensions: ["jsx", "tsx"] }],
200
202
  "react/jsx-max-depth": "off",
203
+ "react/react-in-jsx-scope": "off",
201
204
  "sort-imports": ["error", { ignoreDeclarationSort: true }],
202
205
  "strict-boolean-expressions": "off",
203
206
  "typescript/consistent-return": "off",
@@ -206,7 +209,8 @@ const config = defineConfig({
206
209
  "typescript/explicit-module-boundary-types": "off",
207
210
  "typescript/no-unsafe-type-assertion": "off",
208
211
  "unicorn/filename-case": "off",
209
- "unicorn/import-style": "off"
212
+ "unicorn/import-style": "off",
213
+ "unicorn/no-useless-undefined": "off"
210
214
  }
211
215
  });
212
216
  const createConfig = (input) => {
package/dist/index.js CHANGED
@@ -441,7 +441,7 @@ const PRESERVE_FILES = ["node_modules"];
441
441
 
442
442
  //#endregion
443
443
  //#region package.json
444
- var version = "2.40.0-next-f971d11";
444
+ var version = "2.40.0-next-bfbc2eb";
445
445
 
446
446
  //#endregion
447
447
  //#region src/commands/create.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adbayb/stack",
3
- "version": "2.40.0-next-f971d11",
3
+ "version": "2.40.0-next-bfbc2eb",
4
4
  "description": "My opinionated JavaScript-based toolchain",
5
5
  "keywords": [
6
6
  "development",