also looking at this
chore(deps): update dependency react to 19.2.7
#2137
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.
| @@ -1,19 +0,0 @@ | ||
| 1 | import type { ESLintConfig } from '@stacksjs/eslint-config' | |
| 2 | import stacks from '@stacksjs/eslint-config' | |
| 3 | ||
| 4 | const 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 | ||
| 19 | export default config | |
| @@ -31,8 +31,10 @@ | ||
| 31 | 31 | "build": "bun --bun build.ts && bun run compile", |
| 32 | 32 | "fresh": "bunx rimraf node_modules/ bun.lock && bun i", |
| 33 | 33 | "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", | |
| 36 | 38 | "changelog": "bunx logsmith --verbose", |
| 37 | 39 | "changelog:generate": "bunx logsmith --output CHANGELOG.md", |
| 38 | 40 | "release": "bun run changelog:generate && bunx bumpx prompt --recursive", |
| @@ -45,7 +47,6 @@ | ||
| 45 | 47 | "devDependencies": { |
| 46 | 48 | "@stacksjs/bumpx": "^0.2.4", |
| 47 | 49 | "@stacksjs/docs": "^0.70.23", |
| 48 | "@stacksjs/eslint-config": "^4.14.0-beta.3", | |
| 49 | 50 | "@stacksjs/gitlint": "^0.1.5", |
| 50 | 51 | "@stacksjs/logsmith": "^0.2.1", |
| 51 | 52 | "@stacksjs/qrx": "workspace:*", |
| @@ -62,7 +63,7 @@ | ||
| 62 | 63 | "git-hooks": { |
| 63 | 64 | "pre-commit": { |
| 64 | 65 | "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" | |
| 66 | 67 | } |
| 67 | 68 | }, |
| 68 | 69 | "commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG" |
| @@ -0,0 +1,56 @@ | ||
| 1 | import type { PickierConfig } from 'pickier' | |
| 2 | ||
| 3 | const 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 | ||
| 56 | export default config | |