-
Notifications
You must be signed in to change notification settings - Fork 89
Dependencies update + ESLint v9 #1064
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
rhamzeh
merged 9 commits into
openfga:main
from
Siddhant-K-code:chore/update-dependencies-eslint-v9
Oct 11, 2025
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
eb01fe0
docs: update OpenFGA configuration for v1.8.15
Siddhant-K-code d7b90f3
chore: update dependencies and migrate to ESLint v9
Siddhant-K-code 3b21fc9
fix: revert configuration.mdx to match main branch
Siddhant-K-code 78d9fe3
Merge branch 'main' into chore/update-dependencies-eslint-v9
Siddhant-K-code 11f6931
fix types
Siddhant-K-code cf4dd69
Merge branch 'main' into chore/update-dependencies-eslint-v9
rhamzeh fcd691d
Merge branch 'main' into chore/update-dependencies-eslint-v9
rhamzeh 7ef6b20
Merge branch 'main' into chore/update-dependencies-eslint-v9
rhamzeh acd3a2c
chore(deps): update form-data to version 4.0.4 and add hasown as a de…
Siddhant-K-code 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,136 @@ | ||
| import js from '@eslint/js'; | ||
| import tseslint from '@typescript-eslint/eslint-plugin'; | ||
| import tsparser from '@typescript-eslint/parser'; | ||
| import react from 'eslint-plugin-react'; | ||
| import globals from 'globals'; | ||
|
|
||
| export default [ | ||
| js.configs.recommended, | ||
| { | ||
| files: ['**/*.{js,jsx,ts,tsx}'], | ||
| languageOptions: { | ||
| parser: tsparser, | ||
| parserOptions: { | ||
| ecmaFeatures: { | ||
| jsx: true, | ||
| }, | ||
| ecmaVersion: 2021, | ||
| sourceType: 'module', | ||
| }, | ||
| globals: { | ||
| ...globals.browser, | ||
| ...globals.es2021, | ||
| ...globals.node, | ||
| JSX: 'readonly', | ||
| Global: 'readonly', | ||
| console: 'readonly', | ||
| URL: 'readonly', | ||
| }, | ||
| }, | ||
| plugins: { | ||
| react, | ||
| '@typescript-eslint': tseslint, | ||
| }, | ||
| rules: { | ||
| ...tseslint.configs.recommended.rules, | ||
| ...tseslint.configs['eslint-recommended'].rules, | ||
| ...react.configs.recommended.rules, | ||
| ...react.configs['jsx-runtime'].rules, | ||
Siddhant-K-code marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| 'require-jsdoc': 0, | ||
| 'react/jsx-key': [0], | ||
| 'object-curly-spacing': ['error', 'always'], | ||
| 'no-useless-escape': 'off', | ||
| }, | ||
| settings: { | ||
| react: { | ||
| version: 'detect', | ||
| }, | ||
| }, | ||
| }, | ||
| { | ||
| ignores: ['.docusaurus/**/*'], | ||
| }, | ||
| { | ||
| files: ['scripts/**/*.mjs'], | ||
| languageOptions: { | ||
| globals: { | ||
| ...globals.node, | ||
| console: 'readonly', | ||
| URL: 'readonly', | ||
| }, | ||
| }, | ||
| rules: { | ||
| 'no-useless-escape': 'off', | ||
| }, | ||
| }, | ||
| { | ||
| rules: { | ||
| // Prettier config to disable conflicting rules | ||
| 'array-bracket-newline': 'off', | ||
| 'array-bracket-spacing': 'off', | ||
| 'array-element-newline': 'off', | ||
| 'arrow-parens': 'off', | ||
| 'arrow-spacing': 'off', | ||
| 'block-spacing': 'off', | ||
| 'brace-style': 'off', | ||
| 'comma-dangle': 'off', | ||
| 'comma-spacing': 'off', | ||
| 'comma-style': 'off', | ||
| 'computed-property-spacing': 'off', | ||
| 'dot-location': 'off', | ||
| 'eol-last': 'off', | ||
| 'func-call-spacing': 'off', | ||
| 'function-call-argument-newline': 'off', | ||
| 'function-paren-newline': 'off', | ||
| 'generator-star-spacing': 'off', | ||
| 'implicit-arrow-linebreak': 'off', | ||
| 'indent': 'off', | ||
| 'jsx-quotes': 'off', | ||
| 'key-spacing': 'off', | ||
| 'keyword-spacing': 'off', | ||
| 'linebreak-style': 'off', | ||
| 'lines-around-comment': 'off', | ||
| 'lines-between-class-members': 'off', | ||
| 'max-len': 'off', | ||
| 'max-statements-per-line': 'off', | ||
| 'multiline-ternary': 'off', | ||
| 'new-parens': 'off', | ||
| 'newline-per-chained-call': 'off', | ||
| 'no-confusing-arrow': 'off', | ||
| 'no-extra-parens': 'off', | ||
| 'no-extra-semi': 'off', | ||
| 'no-floating-decimal': 'off', | ||
| 'no-mixed-operators': 'off', | ||
| 'no-mixed-spaces-and-tabs': 'off', | ||
| 'no-multi-spaces': 'off', | ||
| 'no-multiple-empty-lines': 'off', | ||
| 'no-tabs': 'off', | ||
| 'no-trailing-spaces': 'off', | ||
| 'no-whitespace-before-property': 'off', | ||
| 'nonblock-statement-body-position': 'off', | ||
| 'object-curly-newline': 'off', | ||
| 'object-property-newline': 'off', | ||
| 'one-var-declaration-per-line': 'off', | ||
| 'operator-linebreak': 'off', | ||
| 'padded-blocks': 'off', | ||
| 'quote-props': 'off', | ||
| 'quotes': 'off', | ||
| 'rest-spread-spacing': 'off', | ||
| 'semi': 'off', | ||
| 'semi-spacing': 'off', | ||
| 'semi-style': 'off', | ||
| 'space-before-blocks': 'off', | ||
| 'space-before-function-paren': 'off', | ||
| 'space-in-parens': 'off', | ||
| 'space-infix-ops': 'off', | ||
| 'space-unary-ops': 'off', | ||
| 'switch-colon-spacing': 'off', | ||
| 'template-curly-spacing': 'off', | ||
| 'template-tag-spacing': 'off', | ||
| 'unicode-bom': 'off', | ||
| 'wrap-iife': 'off', | ||
| 'wrap-regex': 'off', | ||
| 'yield-star-spacing': 'off', | ||
| } | ||
| } | ||
| ]; | ||
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.