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
64 changes: 63 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,74 @@ export default [
...eslintPluginUnicorn.configs.recommended.rules,
// Disable noisy stylistic rules for now
"unicorn/no-null": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-array-for-each": "off", // rule removed in unicorn v65+, kept as no-op for safety
"unicorn/no-for-loop": "off",
"unicorn/logical-assignment-operators": ["error", "always"], // workaround: unicorn v74 defaultOptions:[null] fails ESLint 10 schema validation
"unicorn/prefer-string-raw": "off",
"unicorn/no-object-as-default-parameter": "off",
"unicorn/import-style": "off",
"unicorn/prefer-ternary": "off",
// New rules added in unicorn v65–v74 — disabled to preserve v64 behavior; enable gradually
"unicorn/name-replacements": "off",
"unicorn/consistent-boolean-name": "off",
"unicorn/no-unnecessary-global-this": "off",
"unicorn/no-top-level-assignment-in-function": "off",
"unicorn/single-line-block-comment-style": "off",
"unicorn/consistent-class-member-order": "off",
"unicorn/no-non-function-verb-prefix": "off",
"unicorn/prefer-await": "off",
"unicorn/prefer-unicode-code-point-escapes": "off",
"unicorn/consistent-conditional-object-spread": "off",
"unicorn/prefer-split-limit": "off",
"unicorn/isolated-functions": "off",
"unicorn/no-global-object-property-assignment": "off",
"unicorn/no-for-each": "off",
"unicorn/prefer-simple-condition-first": "off",
"unicorn/no-useless-template-literals": "off",
"unicorn/no-computed-property-existence-check": "off",
"unicorn/no-useless-coercion": "off",
"unicorn/max-nested-calls": "off",
"unicorn/no-useless-else": "off",
"unicorn/no-top-level-side-effects": "off",
"unicorn/no-this-outside-of-class": "off",
"unicorn/no-unnecessary-string-trim": "off",
"unicorn/no-break-in-nested-loop": "off",
"unicorn/require-array-sort-compare": "off",
"unicorn/prefer-number-coercion": "off",
"unicorn/no-unreadable-for-of-expression": "off",
"unicorn/prefer-smaller-scope": "off",
"unicorn/no-useless-logical-operand": "off",
"unicorn/no-duplicate-if-branches": "off",
"unicorn/prefer-promise-with-resolvers": "off",
"unicorn/prefer-includes-over-repeated-comparisons": "off",
"unicorn/no-declarations-before-early-exit": "off",
"unicorn/prefer-url-href": "off",
"unicorn/prefer-else-if": "off",
"unicorn/prefer-continue": "off",
"unicorn/prefer-string-repeat": "off",
"unicorn/prefer-object-define-properties": "off",
"unicorn/prefer-hoisting-branch-code": "off",
"unicorn/prefer-array-from-async": "off",
"unicorn/prefer-number-is-safe-integer": "off",
"unicorn/prefer-https": "off",
"unicorn/prefer-direct-iteration": "off",
"unicorn/no-unsafe-string-replacement": "off",
"unicorn/no-return-array-push": "off",
"unicorn/prefer-modern-dom-apis": "off",
"unicorn/prefer-logical-operator-over-ternary": "off",
"unicorn/prefer-iterator-to-array": "off",
"unicorn/prefer-array-some": "off",
"unicorn/operator-assignment": "off",
"unicorn/no-useless-undefined": "off",
"unicorn/no-unnecessary-nested-ternary": "off",
"unicorn/no-unnecessary-boolean-comparison": "off",
"unicorn/no-negated-array-predicate": "off",
"unicorn/no-multiple-promise-resolver-calls": "off",
"unicorn/default-export-style": "off",
"unicorn/class-reference-in-static-methods": "off",
"unicorn/prefer-early-return": "off",
// filename-case: checkDirectories was added in v74 (defaulted false before); command_not_found is mandated by oclif hook naming
"unicorn/filename-case": ["error", { "case": "kebabCase", "checkDirectories": false }],
// Rules from .eslintrc.json
"unicorn/no-process-exit": "off",
"n/no-process-exit": "off",
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": "^12.0.1",
"@vitejs/plugin-react": "^6.0.1",
"autoprefixer": "^10.5.0",
"eslint": "^10.3.0",
Expand Down
18 changes: 9 additions & 9 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.4.1",
"@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.0",
"@vitest/eslint-plugin": "^1.6.17",
"@vitest/ui": "^4.1.5",
"@vitest/ui": "^5.0.0",
"dotenv": "^17.4.2",
"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": "^74.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": "^5.0.1",
"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.0"
},
"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.0",
"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.0"
},
"publishConfig": {
"access": "public"
Expand Down
Loading
Loading