We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm following the steps described in the console output - but I'm unsure what the issue is here, and I'm not aware of any current issues on the page.
eslint --debug for the file responsible:
eslint --debug
yarn run v1.22.19 $ laravel/node_modules/.bin/eslint resources/js/Pages/Guest/About.tsx --debug 2025-02-19T11:17:54.509Z eslint:cli CLI args: [ 'resources/js/Pages/Guest/About.tsx', '--debug' ] 2025-02-19T11:17:54.512Z eslint:cli Using flat config? false 2025-02-19T11:17:54.513Z eslint:cli Running on files 2025-02-19T11:17:54.518Z eslintrc:config-array-factory Loading JSON config file: laravel/package.json 2025-02-19T11:17:54.518Z eslintrc:ignore-pattern Create with: [ IgnorePattern { patterns: [ '/**/node_modules/*' ], basePath: 'laravel', loose: false } ] 2025-02-19T11:17:54.519Z eslintrc:ignore-pattern processed: { basePath: 'laravel', patterns: [ '/**/node_modules/*' ] } 2025-02-19T11:17:54.519Z eslintrc:ignore-pattern Create with: [ IgnorePattern { patterns: [ '/**/node_modules/*' ], basePath: 'laravel', loose: false } ] 2025-02-19T11:17:54.519Z eslintrc:ignore-pattern processed: { basePath: 'laravel', patterns: [ '/**/node_modules/*' ] } 2025-02-19T11:17:54.519Z eslint:file-enumerator Start to iterate files: [ 'resources/js/Pages/Guest/About.tsx' ] 2025-02-19T11:17:54.520Z eslint:file-enumerator File: laravel/resources/js/Pages/Guest/About.tsx 2025-02-19T11:17:54.520Z eslintrc:cascading-config-array-factory Load config files for laravel/resources/js/Pages/Guest. 2025-02-19T11:17:54.520Z eslintrc:cascading-config-array-factory No cache found: laravel/resources/js/Pages/Guest. 2025-02-19T11:17:54.520Z eslintrc:config-array-factory Config file not found on laravel/resources/js/Pages/Guest 2025-02-19T11:17:54.520Z eslintrc:cascading-config-array-factory No cache found: laravel/resources/js/Pages. 2025-02-19T11:17:54.520Z eslintrc:config-array-factory Config file not found on laravel/resources/js/Pages 2025-02-19T11:17:54.520Z eslintrc:cascading-config-array-factory No cache found: laravel/resources/js. 2025-02-19T11:17:54.520Z eslintrc:config-array-factory Config file not found on laravel/resources/js 2025-02-19T11:17:54.520Z eslintrc:cascading-config-array-factory No cache found: laravel/resources. 2025-02-19T11:17:54.520Z eslintrc:config-array-factory Config file not found on laravel/resources 2025-02-19T11:17:54.520Z eslintrc:cascading-config-array-factory No cache found: laravel. 2025-02-19T11:17:54.520Z eslintrc:config-array-factory Loading JSON config file: laravel/.eslintrc.json 2025-02-19T11:17:54.521Z eslintrc:config-array-factory Config file found: laravel/.eslintrc.json 2025-02-19T11:17:54.521Z eslintrc:config-array-factory Loading {extends:"react-app"} relative to laravel/.eslintrc.json 2025-02-19T11:17:54.522Z eslintrc:config-array-factory Loaded: [email protected] (laravel/node_modules/eslint-config-react-app/index.js) 2025-02-19T11:17:54.522Z eslintrc:config-array-factory Loading JS config file: laravel/node_modules/eslint-config-react-app/index.js 2025-02-19T11:17:54.523Z eslintrc:config-array-factory Loading {extends:"laravel/node_modules/eslint-config-react-app/base.js"} relative to laravel/node_modules/eslint-config-react-app/index.js 2025-02-19T11:17:54.523Z eslintrc:config-array-factory package.json was not found: Cannot find module 'laravel/node_modules/eslint-config-react-app/base.js/package.json' Require stack: - laravel/node_modules/eslint-config-react-app/index.js 2025-02-19T11:17:54.523Z eslintrc:config-array-factory Loaded: laravel/node_modules/eslint-config-react-app/base.js (laravel/node_modules/eslint-config-react-app/base.js) 2025-02-19T11:17:54.523Z eslintrc:config-array-factory Loading JS config file: laravel/node_modules/eslint-config-react-app/base.js 2025-02-19T11:17:54.525Z eslintrc:config-array-factory Loading parser "@babel/eslint-parser" from laravel/node_modules/eslint-config-react-app/base.js 2025-02-19T11:17:54.526Z eslintrc:config-array-factory Loaded: @babel/[email protected] (laravel/node_modules/eslint-config-react-app/node_modules/@babel/eslint-parser/lib/index.cjs) 2025-02-19T11:17:54.641Z eslintrc:config-array-factory Loading plugin "react" from laravel/node_modules/eslint-config-react-app/base.js 2025-02-19T11:17:54.641Z eslintrc:config-array-factory Loaded: [email protected] (laravel/node_modules/eslint-plugin-react/index.js) 2025-02-19T11:17:54.792Z eslintrc:config-array-factory Plugin laravel/node_modules/eslint-plugin-react/index.js loaded in: 151ms 2025-02-19T11:17:54.793Z eslintrc:config-array-factory Loading plugin "import" from laravel/node_modules/eslint-config-react-app/index.js 2025-02-19T11:17:54.793Z eslintrc:config-array-factory Loaded: [email protected] (laravel/node_modules/eslint-plugin-import/lib/index.js) 2025-02-19T11:17:54.838Z eslintrc:config-array-factory Plugin laravel/node_modules/eslint-plugin-import/lib/index.js loaded in: 45ms 2025-02-19T11:17:54.838Z eslintrc:config-array-factory Loading plugin "flowtype" from laravel/node_modules/eslint-config-react-app/index.js 2025-02-19T11:17:54.838Z eslintrc:config-array-factory Loaded: [email protected] (laravel/node_modules/eslint-plugin-flowtype/dist/index.js) 2025-02-19T11:17:54.859Z eslint:rules Loading rule 'no-unused-expressions' (remaining=290) 2025-02-19T11:17:54.871Z eslintrc:config-array-factory Plugin laravel/node_modules/eslint-plugin-flowtype/dist/index.js loaded in: 33ms 2025-02-19T11:17:54.871Z eslintrc:config-array-factory Loading plugin "jsx-a11y" from laravel/node_modules/eslint-config-react-app/index.js 2025-02-19T11:17:54.872Z eslintrc:config-array-factory Loaded: [email protected] (laravel/node_modules/eslint-plugin-jsx-a11y/lib/index.js) 2025-02-19T11:17:55.010Z eslintrc:config-array-factory Plugin laravel/node_modules/eslint-plugin-jsx-a11y/lib/index.js loaded in: 138ms 2025-02-19T11:17:55.011Z eslintrc:config-array-factory Loading plugin "react-hooks" from laravel/node_modules/eslint-config-react-app/index.js 2025-02-19T11:17:55.011Z eslintrc:config-array-factory Loaded: [email protected] (laravel/node_modules/eslint-plugin-react-hooks/index.js) 2025-02-19T11:17:55.014Z eslintrc:config-array-factory Plugin laravel/node_modules/eslint-plugin-react-hooks/index.js loaded in: 3ms 2025-02-19T11:17:55.015Z eslintrc:config-array-factory Loading parser "@typescript-eslint/parser" from laravel/node_modules/eslint-config-react-app/index.js 2025-02-19T11:17:55.016Z eslintrc:config-array-factory Loaded: @typescript-eslint/[email protected] (laravel/node_modules/@typescript-eslint/parser/dist/index.js) 2025-02-19T11:17:55.214Z eslintrc:config-array-factory Loading plugin "@typescript-eslint" from laravel/node_modules/eslint-config-react-app/index.js 2025-02-19T11:17:55.215Z eslintrc:config-array-factory Loaded: @typescript-eslint/[email protected] (laravel/node_modules/@typescript-eslint/eslint-plugin/dist/index.js) 2025-02-19T11:17:55.275Z eslint:rules Loading rule 'block-spacing' (remaining=289) 2025-02-19T11:17:55.276Z eslint:rules Loading rule 'brace-style' (remaining=288) 2025-02-19T11:17:55.278Z eslint:rules Loading rule 'comma-dangle' (remaining=287) 2025-02-19T11:17:55.283Z eslint:rules Loading rule 'dot-notation' (remaining=286) 2025-02-19T11:17:55.287Z eslint:rules Loading rule 'indent' (remaining=285) 2025-02-19T11:17:55.289Z eslint:rules Loading rule 'init-declarations' (remaining=284) 2025-02-19T11:17:55.290Z eslint:rules Loading rule 'key-spacing' (remaining=283) 2025-02-19T11:17:55.291Z eslint:rules Loading rule 'keyword-spacing' (remaining=282) 2025-02-19T11:17:55.292Z eslint:rules Loading rule 'lines-around-comment' (remaining=281) 2025-02-19T11:17:55.293Z eslint:rules Loading rule 'lines-between-class-members' (remaining=280) 2025-02-19T11:17:55.305Z eslint:rules Loading rule 'no-dupe-class-members' (remaining=279) 2025-02-19T11:17:55.306Z eslint:rules Loading rule 'no-duplicate-imports' (remaining=278) 2025-02-19T11:17:55.308Z eslint:rules Loading rule 'no-empty-function' (remaining=277) 2025-02-19T11:17:55.310Z eslint:rules Loading rule 'no-extra-parens' (remaining=276) 2025-02-19T11:17:55.312Z eslint:rules Loading rule 'no-extra-semi' (remaining=275) 2025-02-19T11:17:55.318Z eslint:rules Loading rule 'no-invalid-this' (remaining=274) 2025-02-19T11:17:55.320Z eslint:rules Loading rule 'no-loop-func' (remaining=273) 2025-02-19T11:17:55.320Z eslint:rules Loading rule 'no-loss-of-precision' (remaining=272) 2025-02-19T11:17:55.321Z eslint:rules Loading rule 'no-magic-numbers' (remaining=271) 2025-02-19T11:17:55.332Z eslint:rules Loading rule 'no-restricted-imports' (remaining=270) 2025-02-19T11:17:55.366Z eslint:rules Loading rule 'no-useless-constructor' (remaining=269) 2025-02-19T11:17:55.368Z eslint:rules Loading rule 'object-curly-spacing' (remaining=268) 2025-02-19T11:17:55.383Z eslint:rules Loading rule 'quotes' (remaining=267) 2025-02-19T11:17:55.388Z eslint:rules Loading rule 'semi' (remaining=266) 2025-02-19T11:17:55.389Z eslint:rules Loading rule 'space-before-blocks' (remaining=265) 2025-02-19T11:17:55.390Z eslint:rules Loading rule 'space-infix-ops' (remaining=264) 2025-02-19T11:17:55.396Z eslintrc:config-array-factory Plugin laravel/node_modules/@typescript-eslint/eslint-plugin/dist/index.js loaded in: 181ms 2025-02-19T11:17:55.396Z eslintrc:config-array-factory Loading {extends:"plugin:jsx-a11y/recommended"} relative to laravel/.eslintrc.json 2025-02-19T11:17:55.396Z eslintrc:config-array-factory Loading plugin "jsx-a11y" from laravel/.eslintrc.json 2025-02-19T11:17:55.396Z eslintrc:config-array-factory Loaded: [email protected] (laravel/node_modules/eslint-plugin-jsx-a11y/lib/index.js) 2025-02-19T11:17:55.396Z eslintrc:config-array-factory Plugin laravel/node_modules/eslint-plugin-jsx-a11y/lib/index.js loaded in: 0ms 2025-02-19T11:17:55.396Z eslintrc:config-array-factory Loading plugin "jsx-a11y" from laravel/node_modules/eslint-plugin-jsx-a11y/lib/index.js 2025-02-19T11:17:55.396Z eslintrc:config-array-factory Loaded: [email protected] (laravel/node_modules/eslint-plugin-jsx-a11y/lib/index.js) 2025-02-19T11:17:55.396Z eslintrc:config-array-factory Plugin laravel/node_modules/eslint-plugin-jsx-a11y/lib/index.js loaded in: 0ms 2025-02-19T11:17:55.396Z eslintrc:config-array-factory Loading {extends:"plugin:tailwindcss/recommended"} relative to laravel/.eslintrc.json 2025-02-19T11:17:55.396Z eslintrc:config-array-factory Loading plugin "tailwindcss" from laravel/.eslintrc.json 2025-02-19T11:17:55.397Z eslintrc:config-array-factory Loaded: [email protected] (laravel/node_modules/eslint-plugin-tailwindcss/lib/index.js) 2025-02-19T11:17:55.505Z eslintrc:config-array-factory Plugin laravel/node_modules/eslint-plugin-tailwindcss/lib/index.js loaded in: 108ms 2025-02-19T11:17:55.505Z eslintrc:config-array-factory Loading plugin "tailwindcss" from laravel/node_modules/eslint-plugin-tailwindcss/lib/index.js 2025-02-19T11:17:55.505Z eslintrc:config-array-factory Loaded: [email protected] (laravel/node_modules/eslint-plugin-tailwindcss/lib/index.js) 2025-02-19T11:17:55.505Z eslintrc:config-array-factory Plugin laravel/node_modules/eslint-plugin-tailwindcss/lib/index.js loaded in: 0ms 2025-02-19T11:17:55.505Z eslintrc:cascading-config-array-factory Stop traversing because of 'root:true'. 2025-02-19T11:17:55.506Z eslint:rules Loading rule 'array-callback-return' (remaining=263) 2025-02-19T11:17:55.506Z eslint:rules Loading rule 'default-case' (remaining=262) 2025-02-19T11:17:55.507Z eslint:rules Loading rule 'dot-location' (remaining=261) 2025-02-19T11:17:55.507Z eslint:rules Loading rule 'eqeqeq' (remaining=260) 2025-02-19T11:17:55.508Z eslint:rules Loading rule 'new-parens' (remaining=259) 2025-02-19T11:17:55.508Z eslint:rules Loading rule 'no-array-constructor' (remaining=258) 2025-02-19T11:17:55.509Z eslint:rules Loading rule 'no-caller' (remaining=257) 2025-02-19T11:17:55.509Z eslint:rules Loading rule 'no-cond-assign' (remaining=256) 2025-02-19T11:17:55.509Z eslint:rules Loading rule 'no-const-assign' (remaining=255) 2025-02-19T11:17:55.510Z eslint:rules Loading rule 'no-control-regex' (remaining=254) 2025-02-19T11:17:55.510Z eslint:rules Loading rule 'no-delete-var' (remaining=253) 2025-02-19T11:17:55.510Z eslint:rules Loading rule 'no-dupe-args' (remaining=252) 2025-02-19T11:17:55.510Z eslint:rules Loading rule 'no-dupe-keys' (remaining=251) 2025-02-19T11:17:55.510Z eslint:rules Loading rule 'no-duplicate-case' (remaining=250) 2025-02-19T11:17:55.511Z eslint:rules Loading rule 'no-empty-character-class' (remaining=249) 2025-02-19T11:17:55.511Z eslint:rules Loading rule 'no-empty-pattern' (remaining=248) 2025-02-19T11:17:55.511Z eslint:rules Loading rule 'no-eval' (remaining=247) 2025-02-19T11:17:55.512Z eslint:rules Loading rule 'no-ex-assign' (remaining=246) 2025-02-19T11:17:55.512Z eslint:rules Loading rule 'no-extend-native' (remaining=245) 2025-02-19T11:17:55.514Z eslint:rules Loading rule 'no-extra-bind' (remaining=244) 2025-02-19T11:17:55.514Z eslint:rules Loading rule 'no-extra-label' (remaining=243) 2025-02-19T11:17:55.515Z eslint:rules Loading rule 'no-fallthrough' (remaining=242) 2025-02-19T11:17:55.515Z eslint:rules Loading rule 'no-func-assign' (remaining=241) 2025-02-19T11:17:55.515Z eslint:rules Loading rule 'no-implied-eval' (remaining=240) 2025-02-19T11:17:55.515Z eslint:rules Loading rule 'no-invalid-regexp' (remaining=239) 2025-02-19T11:17:55.516Z eslint:rules Loading rule 'no-iterator' (remaining=238) 2025-02-19T11:17:55.516Z eslint:rules Loading rule 'no-label-var' (remaining=237) 2025-02-19T11:17:55.517Z eslint:rules Loading rule 'no-labels' (remaining=236) 2025-02-19T11:17:55.517Z eslint:rules Loading rule 'no-lone-blocks' (remaining=235) 2025-02-19T11:17:55.517Z eslint:rules Loading rule 'no-mixed-operators' (remaining=234) 2025-02-19T11:17:55.519Z eslint:rules Loading rule 'no-multi-str' (remaining=233) 2025-02-19T11:17:55.519Z eslint:rules Loading rule 'no-global-assign' (remaining=232) 2025-02-19T11:17:55.519Z eslint:rules Loading rule 'no-unsafe-negation' (remaining=231) 2025-02-19T11:17:55.520Z eslint:rules Loading rule 'no-new-func' (remaining=230) 2025-02-19T11:17:55.520Z eslint:rules Loading rule 'no-new-object' (remaining=229) 2025-02-19T11:17:55.520Z eslint:rules Loading rule 'no-new-symbol' (remaining=228) 2025-02-19T11:17:55.520Z eslint:rules Loading rule 'no-new-wrappers' (remaining=227) 2025-02-19T11:17:55.520Z eslint:rules Loading rule 'no-obj-calls' (remaining=226) 2025-02-19T11:17:55.521Z eslint:rules Loading rule 'no-octal' (remaining=225) 2025-02-19T11:17:55.521Z eslint:rules Loading rule 'no-octal-escape' (remaining=224) 2025-02-19T11:17:55.521Z eslint:rules Loading rule 'no-redeclare' (remaining=223) 2025-02-19T11:17:55.521Z eslint:rules Loading rule 'no-regex-spaces' (remaining=222) 2025-02-19T11:17:55.522Z eslint:rules Loading rule 'no-restricted-syntax' (remaining=221) 2025-02-19T11:17:55.522Z eslint:rules Loading rule 'no-script-url' (remaining=220) 2025-02-19T11:17:55.522Z eslint:rules Loading rule 'no-self-assign' (remaining=219) 2025-02-19T11:17:55.523Z eslint:rules Loading rule 'no-self-compare' (remaining=218) 2025-02-19T11:17:55.523Z eslint:rules Loading rule 'no-sequences' (remaining=217) 2025-02-19T11:17:55.523Z eslint:rules Loading rule 'no-shadow-restricted-names' (remaining=216) 2025-02-19T11:17:55.523Z eslint:rules Loading rule 'no-sparse-arrays' (remaining=215) 2025-02-19T11:17:55.524Z eslint:rules Loading rule 'no-template-curly-in-string' (remaining=214) 2025-02-19T11:17:55.524Z eslint:rules Loading rule 'no-this-before-super' (remaining=213) 2025-02-19T11:17:55.524Z eslint:rules Loading rule 'no-throw-literal' (remaining=212) 2025-02-19T11:17:55.524Z eslint:rules Loading rule 'no-undef' (remaining=211) 2025-02-19T11:17:55.525Z eslint:rules Loading rule 'no-restricted-globals' (remaining=210) 2025-02-19T11:17:55.525Z eslint:rules Loading rule 'no-unreachable' (remaining=209) 2025-02-19T11:17:55.526Z eslint:rules Loading rule 'no-unused-labels' (remaining=208) 2025-02-19T11:17:55.526Z eslint:rules Loading rule 'no-unused-vars' (remaining=207) 2025-02-19T11:17:55.527Z eslint:rules Loading rule 'no-use-before-define' (remaining=206) 2025-02-19T11:17:55.528Z eslint:rules Loading rule 'no-useless-computed-key' (remaining=205) 2025-02-19T11:17:55.528Z eslint:rules Loading rule 'no-useless-concat' (remaining=204) 2025-02-19T11:17:55.528Z eslint:rules Loading rule 'no-useless-escape' (remaining=203) 2025-02-19T11:17:55.529Z eslint:rules Loading rule 'no-useless-rename' (remaining=202) 2025-02-19T11:17:55.529Z eslint:rules Loading rule 'no-with' (remaining=201) 2025-02-19T11:17:55.530Z eslint:rules Loading rule 'no-whitespace-before-property' (remaining=200) 2025-02-19T11:17:55.530Z eslint:rules Loading rule 'require-yield' (remaining=199) 2025-02-19T11:17:55.530Z eslint:rules Loading rule 'rest-spread-spacing' (remaining=198) 2025-02-19T11:17:55.530Z eslint:rules Loading rule 'strict' (remaining=197) 2025-02-19T11:17:55.531Z eslint:rules Loading rule 'unicode-bom' (remaining=196) 2025-02-19T11:17:55.531Z eslint:rules Loading rule 'use-isnan' (remaining=195) 2025-02-19T11:17:55.532Z eslint:rules Loading rule 'valid-typeof' (remaining=194) 2025-02-19T11:17:55.532Z eslint:rules Loading rule 'no-restricted-properties' (remaining=193) 2025-02-19T11:17:55.533Z eslint:rules Loading rule 'getter-return' (remaining=192) 2025-02-19T11:17:55.541Z eslint:rules Loading rule 'linebreak-style' (remaining=191) 2025-02-19T11:17:55.543Z eslint:rules Loading rule 'no-console' (remaining=190) 2025-02-19T11:17:55.544Z eslint:rules Loading rule 'no-debugger' (remaining=189) 2025-02-19T11:17:55.544Z eslint:rules Loading rule 'sort-imports' (remaining=188) 2025-02-19T11:17:55.545Z eslint:rules Loading rule 'max-len' (remaining=187) 2025-02-19T11:17:55.548Z eslintrc:cascading-config-array-factory Configuration was determined: ConfigArray(7) [ { type: 'config', name: 'DefaultIgnorePattern', filePath: '', criteria: null, env: undefined, globals: undefined, ignorePattern: IgnorePattern { patterns: [Array], basePath: 'laravel', loose: false }, noInlineConfig: undefined, parser: undefined, parserOptions: undefined, plugins: undefined, processor: undefined, reportUnusedDisableDirectives: undefined, root: undefined, rules: undefined, settings: undefined }, { type: 'config', name: '.eslintrc.json » eslint-config-react-app » laravel/node_modules/eslint-config-react-app/base.js', filePath: 'laravel/node_modules/eslint-config-react-app/base.js', criteria: null, env: { browser: true, commonjs: true, es6: true, jest: true, node: true }, globals: undefined, ignorePattern: undefined, noInlineConfig: undefined, parser: { error: null, filePath: 'laravel/node_modules/eslint-config-react-app/node_modules/@babel/eslint-parser/lib/index.cjs', id: '@babel/eslint-parser', importerName: '.eslintrc.json » eslint-config-react-app » laravel/node_modules/eslint-config-react-app/base.js', importerPath: 'laravel/node_modules/eslint-config-react-app/base.js' }, parserOptions: { sourceType: 'module', requireConfigFile: false, babelOptions: [Object] }, plugins: { react: [Object] }, processor: undefined, reportUnusedDisableDirectives: undefined, root: true, rules: { 'react/jsx-uses-vars': 'warn', 'react/jsx-uses-react': 'warn' }, settings: { react: [Object] } }, { type: 'config', name: '.eslintrc.json » eslint-config-react-app', filePath: 'laravel/node_modules/eslint-config-react-app/index.js', criteria: null, env: undefined, globals: undefined, ignorePattern: undefined, noInlineConfig: undefined, parser: undefined, parserOptions: undefined, plugins: { import: [Object], flowtype: [Object], 'jsx-a11y': [Object], 'react-hooks': [Object] }, processor: undefined, reportUnusedDisableDirectives: undefined, root: undefined, rules: { 'array-callback-return': 'warn', 'default-case': [Array], 'dot-location': [Array], eqeqeq: [Array], 'new-parens': 'warn', 'no-array-constructor': 'warn', 'no-caller': 'warn', 'no-cond-assign': [Array], 'no-const-assign': 'warn', 'no-control-regex': 'warn', 'no-delete-var': 'warn', 'no-dupe-args': 'warn', 'no-dupe-class-members': 'warn', 'no-dupe-keys': 'warn', 'no-duplicate-case': 'warn', 'no-empty-character-class': 'warn', 'no-empty-pattern': 'warn', 'no-eval': 'warn', 'no-ex-assign': 'warn', 'no-extend-native': 'warn', 'no-extra-bind': 'warn', 'no-extra-label': 'warn', 'no-fallthrough': 'warn', 'no-func-assign': 'warn', 'no-implied-eval': 'warn', 'no-invalid-regexp': 'warn', 'no-iterator': 'warn', 'no-label-var': 'warn', 'no-labels': [Array], 'no-lone-blocks': 'warn', 'no-loop-func': 'warn', 'no-mixed-operators': [Array], 'no-multi-str': 'warn', 'no-global-assign': 'warn', 'no-unsafe-negation': 'warn', 'no-new-func': 'warn', 'no-new-object': 'warn', 'no-new-symbol': 'warn', 'no-new-wrappers': 'warn', 'no-obj-calls': 'warn', 'no-octal': 'warn', 'no-octal-escape': 'warn', 'no-redeclare': 'warn', 'no-regex-spaces': 'warn', 'no-restricted-syntax': [Array], 'no-script-url': 'warn', 'no-self-assign': 'warn', 'no-self-compare': 'warn', 'no-sequences': 'warn', 'no-shadow-restricted-names': 'warn', 'no-sparse-arrays': 'warn', 'no-template-curly-in-string': 'warn', 'no-this-before-super': 'warn', 'no-throw-literal': 'warn', 'no-undef': 'error', 'no-restricted-globals': [Array], 'no-unreachable': 'warn', 'no-unused-expressions': [Array], 'no-unused-labels': 'warn', 'no-unused-vars': [Array], 'no-use-before-define': [Array], 'no-useless-computed-key': 'warn', 'no-useless-concat': 'warn', 'no-useless-constructor': 'warn', 'no-useless-escape': 'warn', 'no-useless-rename': [Array], 'no-with': 'warn', 'no-whitespace-before-property': 'warn', 'react-hooks/exhaustive-deps': 'warn', 'require-yield': 'warn', 'rest-spread-spacing': [Array], strict: [Array], 'unicode-bom': [Array], 'use-isnan': 'warn', 'valid-typeof': 'warn', 'no-restricted-properties': [Array], 'getter-return': 'warn', 'import/first': 'error', 'import/no-amd': 'error', 'import/no-anonymous-default-export': 'warn', 'import/no-webpack-loader-syntax': 'error', 'react/forbid-foreign-prop-types': [Array], 'react/jsx-no-comment-textnodes': 'warn', 'react/jsx-no-duplicate-props': 'warn', 'react/jsx-no-target-blank': 'warn', 'react/jsx-no-undef': 'error', 'react/jsx-pascal-case': [Array], 'react/no-danger-with-children': 'warn', 'react/no-direct-mutation-state': 'warn', 'react/no-is-mounted': 'warn', 'react/no-typos': 'error', 'react/require-render-return': 'error', 'react/style-prop-object': 'warn', 'jsx-a11y/alt-text': 'warn', 'jsx-a11y/anchor-has-content': 'warn', 'jsx-a11y/anchor-is-valid': [Array], 'jsx-a11y/aria-activedescendant-has-tabindex': 'warn', 'jsx-a11y/aria-props': 'warn', 'jsx-a11y/aria-proptypes': 'warn', 'jsx-a11y/aria-role': [Array], 'jsx-a11y/aria-unsupported-elements': 'warn', 'jsx-a11y/heading-has-content': 'warn', 'jsx-a11y/iframe-has-title': 'warn', 'jsx-a11y/img-redundant-alt': 'warn', 'jsx-a11y/no-access-key': 'warn', 'jsx-a11y/no-distracting-elements': 'warn', 'jsx-a11y/no-redundant-roles': 'warn', 'jsx-a11y/role-has-required-aria-props': 'warn', 'jsx-a11y/role-supports-aria-props': 'warn', 'jsx-a11y/scope': 'warn', 'react-hooks/rules-of-hooks': 'error', 'flowtype/define-flow-type': 'warn', 'flowtype/require-valid-file-annotation': 'warn', 'flowtype/use-flow-type': 'warn' }, settings: undefined }, { type: 'config', name: '.eslintrc.json » eslint-config-react-app#overrides[0]', filePath: 'laravel/node_modules/eslint-config-react-app/index.js', criteria: { includes: [Array], excludes: null, basePath: 'laravel' }, env: undefined, globals: undefined, ignorePattern: undefined, noInlineConfig: undefined, parser: { error: null, filePath: 'laravel/node_modules/@typescript-eslint/parser/dist/index.js', id: '@typescript-eslint/parser', importerName: '.eslintrc.json » eslint-config-react-app#overrides[0]', importerPath: 'laravel/node_modules/eslint-config-react-app/index.js' }, parserOptions: { ecmaVersion: 2018, sourceType: 'module', ecmaFeatures: [Object], warnOnUnsupportedTypeScriptVersion: true }, plugins: { '@typescript-eslint': [Object] }, processor: undefined, reportUnusedDisableDirectives: undefined, root: undefined, rules: { 'default-case': 'off', 'no-dupe-class-members': 'off', 'no-undef': 'off', '@typescript-eslint/consistent-type-assertions': 'warn', 'no-array-constructor': 'off', '@typescript-eslint/no-array-constructor': 'warn', 'no-redeclare': 'off', '@typescript-eslint/no-redeclare': 'warn', 'no-use-before-define': 'off', '@typescript-eslint/no-use-before-define': [Array], 'no-unused-expressions': 'off', '@typescript-eslint/no-unused-expressions': [Array], 'no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': [Array], 'no-useless-constructor': 'off', '@typescript-eslint/no-useless-constructor': 'warn' }, settings: undefined }, { type: 'config', name: '.eslintrc.json » plugin:jsx-a11y/recommended', filePath: 'laravel/node_modules/eslint-plugin-jsx-a11y/lib/index.js', criteria: null, env: undefined, globals: undefined, ignorePattern: undefined, noInlineConfig: undefined, parser: undefined, parserOptions: { ecmaFeatures: [Object] }, plugins: { 'jsx-a11y': [Object] }, processor: undefined, reportUnusedDisableDirectives: undefined, root: undefined, rules: { 'jsx-a11y/alt-text': 'error', 'jsx-a11y/anchor-ambiguous-text': 'off', 'jsx-a11y/anchor-has-content': 'error', 'jsx-a11y/anchor-is-valid': 'error', 'jsx-a11y/aria-activedescendant-has-tabindex': 'error', 'jsx-a11y/aria-props': 'error', 'jsx-a11y/aria-proptypes': 'error', 'jsx-a11y/aria-role': 'error', 'jsx-a11y/aria-unsupported-elements': 'error', 'jsx-a11y/autocomplete-valid': 'error', 'jsx-a11y/click-events-have-key-events': 'error', 'jsx-a11y/control-has-associated-label': [Array], 'jsx-a11y/heading-has-content': 'error', 'jsx-a11y/html-has-lang': 'error', 'jsx-a11y/iframe-has-title': 'error', 'jsx-a11y/img-redundant-alt': 'error', 'jsx-a11y/interactive-supports-focus': [Array], 'jsx-a11y/label-has-associated-control': 'error', 'jsx-a11y/label-has-for': 'off', 'jsx-a11y/media-has-caption': 'error', 'jsx-a11y/mouse-events-have-key-events': 'error', 'jsx-a11y/no-access-key': 'error', 'jsx-a11y/no-autofocus': 'error', 'jsx-a11y/no-distracting-elements': 'error', 'jsx-a11y/no-interactive-element-to-noninteractive-role': [Array], 'jsx-a11y/no-noninteractive-element-interactions': [Array], 'jsx-a11y/no-noninteractive-element-to-interactive-role': [Array], 'jsx-a11y/no-noninteractive-tabindex': [Array], 'jsx-a11y/no-redundant-roles': 'error', 'jsx-a11y/no-static-element-interactions': [Array], 'jsx-a11y/role-has-required-aria-props': 'error', 'jsx-a11y/role-supports-aria-props': 'error', 'jsx-a11y/scope': 'error', 'jsx-a11y/tabindex-no-positive': 'error' }, settings: undefined }, { type: 'config', name: '.eslintrc.json » plugin:tailwindcss/recommended', filePath: 'laravel/node_modules/eslint-plugin-tailwindcss/lib/index.js', criteria: null, env: undefined, globals: undefined, ignorePattern: undefined, noInlineConfig: undefined, parser: undefined, parserOptions: { ecmaFeatures: [Object] }, plugins: { tailwindcss: [Object] }, processor: undefined, reportUnusedDisableDirectives: undefined, root: undefined, rules: { 'tailwindcss/classnames-order': 'warn', 'tailwindcss/enforces-negative-arbitrary-values': 'warn', 'tailwindcss/enforces-shorthand': 'warn', 'tailwindcss/migration-from-tailwind-2': 'warn', 'tailwindcss/no-arbitrary-value': 'off', 'tailwindcss/no-custom-classname': 'warn', 'tailwindcss/no-contradicting-classname': 'error', 'tailwindcss/no-unnecessary-arbitrary-value': 'warn' }, settings: undefined }, { type: 'config', name: '.eslintrc.json', filePath: 'laravel/.eslintrc.json', criteria: null, env: undefined, globals: undefined, ignorePattern: IgnorePattern { patterns: [Array], basePath: 'laravel', loose: false }, noInlineConfig: undefined, parser: undefined, parserOptions: undefined, plugins: undefined, processor: undefined, reportUnusedDisableDirectives: undefined, root: true, rules: { 'linebreak-style': [Array], indent: [Array], 'brace-style': [Array], 'no-console': 'warn', 'no-debugger': 'warn', 'sort-imports': [Array], 'import/order': [Array], 'max-len': [Array], quotes: [Array], 'tailwindcss/no-custom-classname': [Array] }, settings: undefined } ] on laravel/resources/js/Pages/Guest 2025-02-19T11:17:55.549Z eslintrc:ignore-pattern Create with: [ IgnorePattern { patterns: [ '/**/node_modules/*' ], basePath: 'laravel', loose: false }, IgnorePattern { patterns: [ 'vendor/tightenco/ziggy/**/*.js', 'resources/js/ziggy.js', 'resources/js/Components/ui/**/*.ts', 'resources/js/Components/ui/**/*.tsx' ], basePath: 'laravel', loose: false } ] 2025-02-19T11:17:55.549Z eslintrc:ignore-pattern processed: { basePath: 'laravel', patterns: [ '/**/node_modules/*', 'vendor/tightenco/ziggy/**/*.js', 'resources/js/ziggy.js', 'resources/js/Components/ui/**/*.ts', 'resources/js/Components/ui/**/*.tsx' ] } 2025-02-19T11:17:55.550Z eslintrc:ignore-pattern Check { filePath: 'laravel/resources/js/Pages/Guest/About.tsx', dot: false, relativePath: 'resources/js/Pages/Guest/About.tsx', result: false } 2025-02-19T11:17:55.550Z eslint:cli-engine Lint laravel/resources/js/Pages/Guest/About.tsx 2025-02-19T11:17:55.550Z eslint:linter Linting code for laravel/resources/js/Pages/Guest/About.tsx (pass 1) 2025-02-19T11:17:55.550Z eslint:linter Verify 2025-02-19T11:17:55.550Z eslint:linter With ConfigArray: laravel/resources/js/Pages/Guest/About.tsx 2025-02-19T11:17:55.551Z eslint:linter Parsing: laravel/resources/js/Pages/Guest/About.tsx 2025-02-19T11:17:55.580Z eslint:linter Parsing successful: laravel/resources/js/Pages/Guest/About.tsx 2025-02-19T11:17:55.580Z eslint:linter Scope analysis: laravel/resources/js/Pages/Guest/About.tsx 2025-02-19T11:17:55.580Z eslint:linter Scope analysis successful: laravel/resources/js/Pages/Guest/About.tsx The prop value with an expression type of TSNonNullExpression could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately. The prop value with an expression type of TSNonNullExpression could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately. 2025-02-19T11:17:56.138Z eslint:linter Generating fixed text for laravel/resources/js/Pages/Guest/About.tsx (pass 1) 2025-02-19T11:17:56.139Z eslint:source-code-fixer Applying fixes 2025-02-19T11:17:56.139Z eslint:source-code-fixer shouldFix parameter was false, not attempting fixes 2025-02-19T11:17:56.139Z eslint:file-enumerator Complete iterating files: ["resources/js/Pages/Guest/About.tsx"] 2025-02-19T11:17:56.139Z eslint:cli-engine Linting complete in: 1620ms Done in 2.10s.
The text was updated successfully, but these errors were encountered:
What are the contents of About.tsx? What version of eslint, and the jsx-a11y plugin, are you using?
Sorry, something went wrong.
So after some testing it appears to be this section of the template:
{SOCIAL_LINKS.map(({ icon, title }) => ( <a key={`${title}-social`} href={meta[`${title.toLowerCase()}_url`]!} target="_blank" rel="noreferrer noopener" className="flex size-10 items-center justify-center rounded-full border" > <FontAwesomeIcon icon={icon} className="size-10 text-2xl text-primary" /> </a> ))}
It looks like removing the ! from href fixes this - I had since updated the type for meta[`${title}_url`].
!
href
meta[`${title}_url`]
ESLint: v8.57.0 [email protected]
thanks, that's helpful. I think that makes it a duplicate of #126, and I'll make sure this issue's test case gets included when it's resolved.
Thanks so much! 👍🏾
No branches or pull requests
I'm following the steps described in the console output - but I'm unsure what the issue is here, and I'm not aware of any current issues on the page.
eslint --debug
for the file responsible:The text was updated successfully, but these errors were encountered: