@adbayb/stack 2.40.0-next-d505d35 → 2.40.0-next-44975a1
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/configs/oxlint/index.ts +3 -0
- package/dist/configs/oxlint.d.ts +3 -0
- package/dist/configs/oxlint.js +4 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/templates/multi-projects/.github/workflows/continuous_delivery.yml +1 -1
- package/templates/multi-projects/.github/workflows/workflow.yml +1 -1
- package/templates/single-project/.github/workflows/continuous_delivery.yml +1 -1
- package/templates/single-project/.github/workflows/workflow.yml +1 -1
package/configs/oxlint/index.ts
CHANGED
|
@@ -244,6 +244,7 @@ const config = defineConfig({
|
|
|
244
244
|
"nextjs/no-sync-scripts": "error",
|
|
245
245
|
"nextjs/no-unwanted-polyfillio": "error",
|
|
246
246
|
"no-async-await": "off",
|
|
247
|
+
"no-await-in-loop": "off",
|
|
247
248
|
"no-bitwise": "off",
|
|
248
249
|
"no-console": "off",
|
|
249
250
|
"no-continue": "off",
|
|
@@ -268,6 +269,7 @@ const config = defineConfig({
|
|
|
268
269
|
"perfectionist/sort-named-imports": "off", // Already supported by eslint/sort-imports
|
|
269
270
|
"prefer-named-capture-group": "off",
|
|
270
271
|
"prefer-readonly-parameter-types": "off",
|
|
272
|
+
"promise/avoid-new": "off",
|
|
271
273
|
"react/function-component-definition": "off",
|
|
272
274
|
"react/jsx-filename-extension": ["error", { extensions: ["jsx", "tsx"] }],
|
|
273
275
|
"react/jsx-max-depth": "off",
|
|
@@ -296,6 +298,7 @@ const config = defineConfig({
|
|
|
296
298
|
"unicorn/no-array-for-each": "off",
|
|
297
299
|
"unicorn/no-array-reduce": "off",
|
|
298
300
|
"unicorn/no-useless-undefined": "off",
|
|
301
|
+
"vitest/max-expects": "off",
|
|
299
302
|
},
|
|
300
303
|
});
|
|
301
304
|
|
package/dist/configs/oxlint.d.ts
CHANGED
|
@@ -194,6 +194,7 @@ declare const config: {
|
|
|
194
194
|
"nextjs/no-sync-scripts": "error";
|
|
195
195
|
"nextjs/no-unwanted-polyfillio": "error";
|
|
196
196
|
"no-async-await": "off";
|
|
197
|
+
"no-await-in-loop": "off";
|
|
197
198
|
"no-bitwise": "off";
|
|
198
199
|
"no-console": "off";
|
|
199
200
|
"no-continue": "off";
|
|
@@ -222,6 +223,7 @@ declare const config: {
|
|
|
222
223
|
"perfectionist/sort-named-imports": "off";
|
|
223
224
|
"prefer-named-capture-group": "off";
|
|
224
225
|
"prefer-readonly-parameter-types": "off";
|
|
226
|
+
"promise/avoid-new": "off";
|
|
225
227
|
"react/function-component-definition": "off";
|
|
226
228
|
"react/jsx-filename-extension": ["error", {
|
|
227
229
|
extensions: string[];
|
|
@@ -252,6 +254,7 @@ declare const config: {
|
|
|
252
254
|
"unicorn/no-array-for-each": "off";
|
|
253
255
|
"unicorn/no-array-reduce": "off";
|
|
254
256
|
"unicorn/no-useless-undefined": "off";
|
|
257
|
+
"vitest/max-expects": "off";
|
|
255
258
|
};
|
|
256
259
|
};
|
|
257
260
|
declare const createConfig: ({ ignorePatterns }: Required<Pick<OxlintConfig, "ignorePatterns">>) => OxlintConfig;
|
package/dist/configs/oxlint.js
CHANGED
|
@@ -252,6 +252,7 @@ const config = defineConfig({
|
|
|
252
252
|
"nextjs/no-sync-scripts": "error",
|
|
253
253
|
"nextjs/no-unwanted-polyfillio": "error",
|
|
254
254
|
"no-async-await": "off",
|
|
255
|
+
"no-await-in-loop": "off",
|
|
255
256
|
"no-bitwise": "off",
|
|
256
257
|
"no-console": "off",
|
|
257
258
|
"no-continue": "off",
|
|
@@ -276,6 +277,7 @@ const config = defineConfig({
|
|
|
276
277
|
"perfectionist/sort-named-imports": "off",
|
|
277
278
|
"prefer-named-capture-group": "off",
|
|
278
279
|
"prefer-readonly-parameter-types": "off",
|
|
280
|
+
"promise/avoid-new": "off",
|
|
279
281
|
"react/function-component-definition": "off",
|
|
280
282
|
"react/jsx-filename-extension": ["error", { extensions: ["jsx", "tsx"] }],
|
|
281
283
|
"react/jsx-max-depth": "off",
|
|
@@ -303,7 +305,8 @@ const config = defineConfig({
|
|
|
303
305
|
"unicorn/import-style": "off",
|
|
304
306
|
"unicorn/no-array-for-each": "off",
|
|
305
307
|
"unicorn/no-array-reduce": "off",
|
|
306
|
-
"unicorn/no-useless-undefined": "off"
|
|
308
|
+
"unicorn/no-useless-undefined": "off",
|
|
309
|
+
"vitest/max-expects": "off"
|
|
307
310
|
}
|
|
308
311
|
});
|
|
309
312
|
const createConfig = ({ ignorePatterns }) => {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adbayb/stack",
|
|
3
|
-
"version": "2.40.0-next-
|
|
3
|
+
"version": "2.40.0-next-44975a1",
|
|
4
4
|
"description": "My opinionated JavaScript-based toolchain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"development",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"@e18e/eslint-plugin": "^0.6.0",
|
|
59
59
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
60
60
|
"eslint-plugin-perfectionist": "^5.10.0",
|
|
61
|
-
"oxfmt": "^0.
|
|
62
|
-
"oxlint": "^1.
|
|
61
|
+
"oxfmt": "^0.61.0",
|
|
62
|
+
"oxlint": "^1.76.0",
|
|
63
63
|
"oxlint-tsgolint": "^7.0.2001",
|
|
64
64
|
"termost": "^1.9.1",
|
|
65
65
|
"turbo": "^2.10.7",
|
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
25
25
|
with:
|
|
26
26
|
cache: pnpm
|
|
27
|
-
node-version-file: ".
|
|
27
|
+
node-version-file: "package.json"
|
|
28
28
|
- name: Install dependencies
|
|
29
29
|
run: pnpm install --frozen-lockfile
|
|
30
30
|
- name: Publish pre-release version(s)
|
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
15
15
|
with:
|
|
16
16
|
cache: pnpm
|
|
17
|
-
node-version-file: ".
|
|
17
|
+
node-version-file: "package.json"
|
|
18
18
|
- name: Install dependencies
|
|
19
19
|
run: pnpm install --frozen-lockfile
|
|
20
20
|
- name: Build
|
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
25
25
|
with:
|
|
26
26
|
cache: pnpm
|
|
27
|
-
node-version-file: ".
|
|
27
|
+
node-version-file: "package.json"
|
|
28
28
|
- name: Install dependencies
|
|
29
29
|
run: pnpm install --frozen-lockfile
|
|
30
30
|
- name: Publish pre-release version(s)
|
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
15
15
|
with:
|
|
16
16
|
cache: pnpm
|
|
17
|
-
node-version-file: ".
|
|
17
|
+
node-version-file: "package.json"
|
|
18
18
|
- name: Install dependencies
|
|
19
19
|
run: pnpm install --frozen-lockfile
|
|
20
20
|
- name: Build
|