ReviewOS

also looking at this

stacks/ts-qr-codes

chore(deps): update dependency react to 19.2.7

#2137
Closed chris wants to merge buddy-bot/update-major-update-react into main
222 files +16350 -1825

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

eslint.config.tsdeleted+0-19
Changes to eslint.config.ts
@@ -1,19 +0,0 @@
1import type { ESLintConfig } from '@stacksjs/eslint-config'
2import stacks from '@stacksjs/eslint-config'
3
4const config: ESLintConfig = stacks({
5 stylistic: {
6 indent: 2,
7 quotes: 'single',
8 },
9
10 typescript: true,
11 jsonc: true,
12 yaml: true,
13 ignores: [
14 'fixtures/**',
15 '**/*.md',
16 ],
17})
18
19export default config
package.jsonmodified+5-4
Changes to package.json
@@ -31,8 +31,10 @@
3131 "build": "bun --bun build.ts && bun run compile",
3232 "fresh": "bunx rimraf node_modules/ bun.lock && bun i",
3333 "test": "bun test",
34 "lint": "bunx --bun eslint .",
35 "lint:fix": "bunx --bun eslint . --fix",
34 "lint": "bunx --bun pickier run --mode lint .",
35 "lint:fix": "bunx --bun pickier run --mode lint . --fix",
36 "format": "bunx --bun pickier run --mode format .",
37 "format:fix": "bunx --bun pickier run --mode format . --write",
3638 "changelog": "bunx logsmith --verbose",
3739 "changelog:generate": "bunx logsmith --output CHANGELOG.md",
3840 "release": "bun run changelog:generate && bunx bumpx prompt --recursive",
@@ -45,7 +47,6 @@
4547 "devDependencies": {
4648 "@stacksjs/bumpx": "^0.2.4",
4749 "@stacksjs/docs": "^0.70.23",
48 "@stacksjs/eslint-config": "^4.14.0-beta.3",
4950 "@stacksjs/gitlint": "^0.1.5",
5051 "@stacksjs/logsmith": "^0.2.1",
5152 "@stacksjs/qrx": "workspace:*",
@@ -62,7 +63,7 @@
6263 "git-hooks": {
6364 "pre-commit": {
6465 "staged-lint": {
65 "*.{js,ts,json,yaml,yml,md}": "bunx --bun eslint --fix"
66 "*.{js,ts,json,yaml,yml,md}": "bunx --bun pickier run --mode lint --fix"
6667 }
6768 },
6869 "commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG"
pickier.config.tsadded+56-0
Changes to pickier.config.ts
@@ -0,0 +1,56 @@
1import type { PickierConfig } from 'pickier'
2
3const config: PickierConfig = {
4 verbose: false,
5 ignores: [
6 '**/node_modules/**',
7 '**/dist/**',
8 '**/build/**',
9 '**/bin/**',
10 '**/.git/**',
11 '**/coverage/**',
12 '**/*.min.js',
13 '**/bun.lock',
14 '**/fixtures/**',
15 '**/.cache/**',
16 '**/*.md',
17 '**/quagga/**',
18 ],
19
20 lint: {
21 extensions: ['ts', 'js', 'json', 'yaml'],
22 reporter: 'stylish',
23 cache: false,
24 maxWarnings: -1,
25 },
26
27 format: {
28 extensions: ['ts', 'js', 'json', 'yaml', 'yml'],
29 trimTrailingWhitespace: true,
30 maxConsecutiveBlankLines: 1,
31 finalNewline: 'one',
32 indent: 2,
33 quotes: 'single',
34 semi: false,
35 },
36
37 rules: {
38 noDebugger: 'error',
39 noConsole: 'off',
40 },
41
42 pluginRules: {
43 // Disable regexp false positives on regex-heavy barcode code
44 'regexp/no-unused-capturing-group': 'off',
45 'no-super-linear-backtracking': 'off',
46
47 // Disable style rules that conflict with existing code patterns
48 'style/brace-style': 'off',
49 'max-statements-per-line': 'off',
50
51 // Allow top-level await (common in Bun projects)
52 'ts/no-top-level-await': 'off',
53 },
54}
55
56export default config