Repository navigation
Fix/toolchain node26 #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
ad62aea
fix: update state only after loads finish in effects
grokify 0a1ec99
build(deps): pin TypeScript 6 and move ESLint to the flat config
grokify b109c0a
build: require Node 24.15 and test on Node 24 and 26
grokify a97970f
ci: open separate Dependabot pull requests for major updates
grokify 10dd9c8
fix(chat): apply only the latest conversation load
grokify adbec15
test(chat): cover stale refreshes and base changes in useConversations
grokify 641cc37
fix(auth): update the unauthorized callback in a layout effect
grokify d90e036
build(lint): turn off @eslint-react's copies of the hooks rules
grokify 1383025
ci: give the CI workflow a read-only token
grokify 3c176aa
docs: state the Node.js 24.15 minimum in the installation guide
grokify File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| // ESLint flat config for every package. ESLint finds it from each linted | ||
| // file's directory, so `eslint src/` in a package uses it too. | ||
| import js from '@eslint/js'; | ||
| import eslintReact from '@eslint-react/eslint-plugin'; | ||
| import prettier from 'eslint-config-prettier'; | ||
| import reactHooks from 'eslint-plugin-react-hooks'; | ||
| import globals from 'globals'; | ||
| import tseslint from 'typescript-eslint'; | ||
|
|
||
| export default tseslint.config( | ||
| { | ||
| ignores: ['**/node_modules/', '**/dist/', '**/*.js', '**/*.cjs', '**/*.mjs'], | ||
| }, | ||
| js.configs.recommended, | ||
| tseslint.configs.recommended, | ||
| eslintReact.configs['recommended-typescript'], | ||
| reactHooks.configs.flat.recommended, | ||
| prettier, | ||
| { | ||
| files: ['**/*.{ts,tsx}'], | ||
| languageOptions: { | ||
| ecmaVersion: 'latest', | ||
| sourceType: 'module', | ||
| globals: { ...globals.browser, ...globals.node }, | ||
| }, | ||
| rules: { | ||
| // TypeScript handles these | ||
| 'no-unused-vars': 'off', | ||
| '@typescript-eslint/no-unused-vars': [ | ||
| 'error', | ||
| { | ||
| argsIgnorePattern: '^_', | ||
| varsIgnorePattern: '^_', | ||
| caughtErrorsIgnorePattern: '^_', | ||
| }, | ||
| ], | ||
|
|
||
| // Allow explicit any in some cases | ||
| '@typescript-eslint/no-explicit-any': 'warn', | ||
|
|
||
| // React 19 style suggestions. Some packages still support React 18, | ||
| // and the rest gain nothing from rewriting working code. | ||
| '@eslint-react/no-forward-ref': 'off', | ||
| '@eslint-react/no-context-provider': 'off', | ||
| '@eslint-react/no-use-context': 'off', | ||
| '@eslint-react/naming-convention-ref-name': 'off', | ||
| '@eslint-react/use-state': 'off', | ||
| // eslint-plugin-react-hooks checks hooks; don't report twice. | ||
| '@eslint-react/exhaustive-deps': 'off', | ||
| '@eslint-react/rules-of-hooks': 'off', | ||
|
|
||
| // Hooks rules | ||
| 'react-hooks/rules-of-hooks': 'error', | ||
| 'react-hooks/exhaustive-deps': 'warn', | ||
|
|
||
| // General | ||
| 'no-console': ['warn', { allow: ['warn', 'error'] }], | ||
| 'prefer-const': 'error', | ||
| 'no-var': 'error', | ||
| }, | ||
| } | ||
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.