Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 66 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,81 @@ export default [
...eslintPluginN.configs["flat/recommended-module"].rules,
// Unicorn plugin recommended rules
...eslintPluginUnicorn.configs.recommended.rules,
// unicorn/logical-assignment-operators: explicit "always" needed because unicorn v76 sets
// defaultOptions:[null] (base ESLint rule has no defaultOptions), which ESLint 10.3.0's
// stricter defaultOptions validation rejects. Providing explicit options skips the bad default.
"unicorn/logical-assignment-operators": ["error", "always"],
// Disable noisy stylistic rules for now
"unicorn/no-null": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-for-each": "off", // renamed from no-array-for-each in unicorn v65
"unicorn/no-for-loop": "off",
"unicorn/prefer-string-raw": "off",
"unicorn/no-object-as-default-parameter": "off",
"unicorn/import-style": "off",
"unicorn/prefer-ternary": "off",
// Rules from .eslintrc.json
"unicorn/no-process-exit": "off",
// New rules added in unicorn v65–v76: disabled to keep CI green after the
// Dependabot bump from v64. Enable them one-by-one in follow-up PRs.
"unicorn/class-reference-in-static-methods": "off",
"unicorn/consistent-boolean-name": "off",
"unicorn/consistent-class-member-order": "off",
"unicorn/consistent-conditional-object-spread": "off",
"unicorn/default-export-style": "off",
"unicorn/filename-case": "off",
"unicorn/isolated-functions": "off",
"unicorn/max-nested-calls": "off",
"unicorn/name-replacements": "off",
"unicorn/no-break-in-nested-loop": "off",
"unicorn/no-computed-property-existence-check": "off",
"unicorn/no-declarations-before-early-exit": "off",
"unicorn/no-duplicate-if-branches": "off",
"unicorn/no-global-object-property-assignment": "off",
"unicorn/no-multiple-promise-resolver-calls": "off",
"unicorn/no-negated-array-predicate": "off",
"unicorn/no-non-function-verb-prefix": "off",
"unicorn/no-return-array-push": "off",
"unicorn/no-this-outside-of-class": "off",
"unicorn/no-top-level-assignment-in-function": "off",
"unicorn/no-top-level-side-effects": "off",
"unicorn/no-unnecessary-boolean-comparison": "off",
"unicorn/no-unnecessary-global-this": "off",
"unicorn/no-unnecessary-nested-ternary": "off",
"unicorn/no-unnecessary-string-trim": "off",
"unicorn/no-unreadable-for-of-expression": "off",
"unicorn/no-unsafe-string-replacement": "off",
"unicorn/no-useless-coercion": "off",
"unicorn/no-useless-else": "off",
"unicorn/no-useless-logical-operand": "off",
"unicorn/no-useless-template-literals": "off",
"unicorn/no-useless-undefined": "off",
"unicorn/operator-assignment": "off",
"unicorn/prefer-array-from-async": "off",
"unicorn/prefer-array-some": "off",
"unicorn/prefer-await": "off",
"unicorn/prefer-continue": "off",
"unicorn/prefer-direct-iteration": "off",
"unicorn/prefer-early-return": "off",
"unicorn/prefer-else-if": "off",
"unicorn/prefer-hoisting-branch-code": "off",
"unicorn/prefer-https": "off",
"unicorn/prefer-includes-over-repeated-comparisons": "off",
"unicorn/prefer-iterator-to-array": "off",
"unicorn/prefer-logical-operator-over-ternary": "off",
"unicorn/prefer-minimal-ternary": "off",
"unicorn/prefer-modern-dom-apis": "off",
"unicorn/prefer-number-coercion": "off",
"unicorn/prefer-number-is-safe-integer": "off",
"unicorn/prefer-object-define-properties": "off",
"unicorn/prefer-promise-with-resolvers": "off",
"unicorn/prefer-simple-condition-first": "off",
"unicorn/prefer-smaller-scope": "off",
"unicorn/prefer-split-limit": "off",
"unicorn/prefer-string-repeat": "off",
"unicorn/prefer-unicode-code-point-escapes": "off",
"unicorn/prefer-url-href": "off",
"unicorn/require-array-sort-compare": "off",
"unicorn/single-line-block-comment-style": "off",
"n/no-process-exit": "off",
"n/no-unsupported-features/node-builtins": "off",
// Prettier
Expand Down
2 changes: 1 addition & 1 deletion examples/web-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@tailwindcss/vite": "^4.2.4",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vercel/node": "^5.7.15",
"@vercel/node": "^13.0.1",
"@vitejs/plugin-react": "^6.0.1",
"autoprefixer": "^10.5.0",
"eslint": "^10.3.0",
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,44 +142,44 @@
"devDependencies": {
"@eslint/compat": "^2.1.0",
"@eslint/js": "^10.0.1",
"@oclif/test": "^4.1.18",
"@oclif/test": "^5.0.0",
"@types/fast-levenshtein": "^0.0.4",
"@types/fs-extra": "^11.0.4",
"@types/inquirer": "^9.0.9",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^25.6.2",
"@types/node": "^26.6.2",
"@types/node-fetch": "^2.6.13",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/ws": "^8.5.11",
"@typescript-eslint/eslint-plugin": "^8.59.2",
"@typescript-eslint/parser": "^8.59.2",
"@vitest/coverage-v8": "^4.1.5",
"@vitest/coverage-v8": "^5.0.1",
"@vitest/eslint-plugin": "^1.6.17",
"@vitest/ui": "^4.1.5",
"dotenv": "^17.4.2",
"@vitest/ui": "^5.0.1",
"dotenv": "^18.0.1",
"eslint": "^10.3.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-n": "^17.24.0",
"eslint-plugin-n": "^18.3.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-unicorn": "^64.0.0",
"execa": "^9.6.1",
"eslint-plugin-unicorn": "^76.0.0",
"execa": "^10.0.1",
"fs-extra": "^11.3.5",
"get-port": "^7.2.0",
"globals": "^17.6.0",
"http-server": "^14.1.1",
"nock": "^14.0.15",
"node-pty": "^1.1.0",
"oclif": "^4.22.98",
"oclif": "^6.0.0",
"playwright": "^1.59.1",
"prettier": "^3.8.3",
"serve": "^14.2.6",
"shx": "^0.4",
"strip-ansi": "^7.2.0",
"ts-node": "11.0.0-beta.1",
"typescript": "^5.9.3",
"vitest": "^4.1.5"
"vitest": "^5.0.1"
},
"engines": {
"node": ">=22.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/react-web-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@
"@xterm/xterm": "^6.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"@vitest/ui": "^4.1.6",
"@vitest/ui": "^5.0.1",
"eslint-plugin-react": "^7.37.5",
"lucide-react": "^1.14.0",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vite": "8.0.10",
"vitest": "^4.1.6"
"vitest": "^5.0.1"
},
"publishConfig": {
"access": "public"
Expand Down
Loading
Loading