ljosberinn/eslint-config-galex

View on GitHub
integration/remix-ts/results.txt

Summary

Maintainability
Test Coverage
ESLint v8.37.0
writing deps to eslint-config-galex\integration\remix-ts\deps.json
writing config cache to eslint-config-galex\integration\remix-ts\eslint-config.json
TAP version 13
1..12
ok 1 - eslint-config-galex\integration\remix-ts\app\entry.client.tsx
not ok 2 - eslint-config-galex\integration\remix-ts\app\entry.server.tsx
  ---
  message: Run autofix to sort these imports!
  severity: warning
  data:
    line: 1
    column: 1
    ruleId: simple-import-sort/imports
  messages:
    - message: Missing return type on function.
      severity: error
      data:
        line: 5
        column: 16
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
    - message: '''markup'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 11
        column: 7
        ruleId: prefer-const
    - message: Unexpected string concatenation.
      severity: warning
      data:
        line: 17
        column: 23
        ruleId: prefer-template
  ...
not ok 3 - eslint-config-galex\integration\remix-ts\app\root.tsx
  ---
  message: Run autofix to sort these imports!
  severity: warning
  data:
    line: 1
    column: 1
    ruleId: simple-import-sort/imports
  messages:
    - message: Exporting mutable 'let' binding, use 'const' instead.
      severity: error
      data:
        line: 17
        column: 8
        ruleId: import/no-mutable-exports
    - message: '''links'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 17
        column: 12
        ruleId: prefer-const
    - message: Missing return type on function.
      severity: error
      data:
        line: 30
        column: 16
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
    - message: Missing return type on function.
      severity: error
      data:
        line: 41
        column: 8
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
    - message: Unexpected console statement.
      severity: warning
      data:
        line: 42
        column: 3
        ruleId: no-console
    - message: Missing return type on function.
      severity: error
      data:
        line: 61
        column: 8
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
    - message: '''caught'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 62
        column: 7
        ruleId: prefer-const
    - message: Missing braces in case clause.
      severity: warning
      data:
        line: 66
        column: 5
        ruleId: unicorn/switch-case-braces
    - message: Missing braces in case clause.
      severity: warning
      data:
        line: 74
        column: 5
        ruleId: unicorn/switch-case-braces
    - message: Missing braces in case clause.
      severity: warning
      data:
        line: 80
        column: 5
        ruleId: unicorn/switch-case-braces
    - message: >-
        Use <img alt=...>, or <img alt=...> instead of the "img" role to ensure
        accessibility across all devices.
      severity: error
      data:
        line: 159
        column: 5
        ruleId: jsx-a11y/prefer-tag-over-role
  ...
not ok 4 - eslint-config-galex\integration\remix-ts\app\routes\demos\about.tsx
  ---
  message: Run autofix to sort these imports!
  severity: warning
  data:
    line: 1
    column: 1
    ruleId: simple-import-sort/imports
  messages:
    - message: Exporting mutable 'let' binding, use 'const' instead.
      severity: error
      data:
        line: 6
        column: 8
        ruleId: import/no-mutable-exports
    - message: '''meta'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 6
        column: 12
        ruleId: prefer-const
    - message: Exporting mutable 'let' binding, use 'const' instead.
      severity: error
      data:
        line: 12
        column: 8
        ruleId: import/no-mutable-exports
    - message: '''links'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 12
        column: 12
        ruleId: prefer-const
    - message: Missing return type on function.
      severity: error
      data:
        line: 16
        column: 16
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
  ...
not ok 5 - eslint-config-galex\integration\remix-ts\app\routes\demos\about\index.tsx
  ---
  message: Missing return type on function.
  severity: error
  data:
    line: 3
    column: 16
    ruleId: '@typescript-eslint/explicit-module-boundary-types'
  ...
not ok 6 - eslint-config-galex\integration\remix-ts\app\routes\demos\about\whoa.tsx
  ---
  message: Missing return type on function.
  severity: error
  data:
    line: 3
    column: 16
    ruleId: '@typescript-eslint/explicit-module-boundary-types'
  ...
not ok 7 - eslint-config-galex\integration\remix-ts\app\routes\demos\actions.tsx
  ---
  message: Run autofix to sort these imports!
  severity: warning
  data:
    line: 1
    column: 1
    ruleId: simple-import-sort/imports
  messages:
    - message: Missing return type on function.
      severity: error
      data:
        line: 5
        column: 8
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
    - message: Exporting mutable 'let' binding, use 'const' instead.
      severity: error
      data:
        line: 12
        column: 8
        ruleId: import/no-mutable-exports
    - message: '''action'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 12
        column: 12
        ruleId: prefer-const
    - message: '''formData'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 13
        column: 7
        ruleId: prefer-const
    - message: '''answer'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 14
        column: 7
        ruleId: prefer-const
    - message: Missing return type on function.
      severity: error
      data:
        line: 35
        column: 16
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
    - message: '''actionMessage'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 37
        column: 7
        ruleId: prefer-const
    - message: '''answerRef'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 38
        column: 7
        ruleId: prefer-const
    - message: A control must be associated with a text label.
      severity: warning
      data:
        line: 65
        column: 13
        ruleId: jsx-a11y/control-has-associated-label
    - message: Missing an explicit type attribute for button
      severity: error
      data:
        line: 68
        column: 13
        ruleId: react/button-has-type
  ...
not ok 8 - eslint-config-galex\integration\remix-ts\app\routes\demos\correct.tsx
  ---
  message: Missing return type on function.
  severity: error
  data:
    line: 1
    column: 16
    ruleId: '@typescript-eslint/explicit-module-boundary-types'
  ...
not ok 9 - eslint-config-galex\integration\remix-ts\app\routes\demos\params.tsx
  ---
  message: Run autofix to sort these imports!
  severity: warning
  data:
    line: 1
    column: 1
    ruleId: simple-import-sort/imports
  messages:
    - message: '''useCatch'' is defined but never used.'
      severity: warning
      data:
        line: 1
        column: 10
        ruleId: '@typescript-eslint/no-unused-vars'
    - message: '''json'' is defined but never used.'
      severity: warning
      data:
        line: 1
        column: 26
        ruleId: '@typescript-eslint/no-unused-vars'
    - message: '''useLoaderData'' is defined but never used.'
      severity: warning
      data:
        line: 1
        column: 32
        ruleId: '@typescript-eslint/no-unused-vars'
    - message: Missing return type on function.
      severity: error
      data:
        line: 3
        column: 8
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
    - message: Missing return type on function.
      severity: error
      data:
        line: 7
        column: 16
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
  ...
not ok 10 - eslint-config-galex\integration\remix-ts\app\routes\demos\params\$id.tsx
  ---
  message: Run autofix to sort these imports!
  severity: warning
  data:
    line: 1
    column: 1
    ruleId: simple-import-sort/imports
  messages:
    - message: '''Link'' is defined but never used.'
      severity: warning
      data:
        line: 1
        column: 20
        ruleId: '@typescript-eslint/no-unused-vars'
    - message: Exporting mutable 'let' binding, use 'const' instead.
      severity: error
      data:
        line: 7
        column: 8
        ruleId: import/no-mutable-exports
    - message: '''loader'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 7
        column: 12
        ruleId: prefer-const
    - message: Missing return type on function.
      severity: error
      data:
        line: 40
        column: 16
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
    - message: '''data'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 41
        column: 7
        ruleId: prefer-const
    - message: Missing return type on function.
      severity: error
      data:
        line: 52
        column: 8
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
    - message: '''caught'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 53
        column: 7
        ruleId: prefer-const
    - message: Missing braces in case clause.
      severity: warning
      data:
        line: 57
        column: 5
        ruleId: unicorn/switch-case-braces
    - message: Expected a 'break' statement before 'case'.
      severity: warning
      data:
        line: 64
        column: 5
        ruleId: no-fallthrough
    - message: Missing braces in case clause.
      severity: warning
      data:
        line: 64
        column: 5
        ruleId: unicorn/switch-case-braces
    - message: Expected a 'break' statement before 'default'.
      severity: warning
      data:
        line: 68
        column: 5
        ruleId: no-fallthrough
    - message: Missing braces in case clause.
      severity: warning
      data:
        line: 68
        column: 5
        ruleId: unicorn/switch-case-braces
    - message: Missing return type on function.
      severity: error
      data:
        line: 92
        column: 8
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
    - message: Unexpected console statement.
      severity: warning
      data:
        line: 93
        column: 3
        ruleId: no-console
    - message: Exporting mutable 'let' binding, use 'const' instead.
      severity: error
      data:
        line: 106
        column: 8
        ruleId: import/no-mutable-exports
    - message: '''meta'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 106
        column: 12
        ruleId: prefer-const
    - message: Invalid type "any" of template literal expression.
      severity: warning
      data:
        line: 108
        column: 29
        ruleId: '@typescript-eslint/restrict-template-expressions'
  ...
not ok 11 - eslint-config-galex\integration\remix-ts\app\routes\demos\params\index.tsx
  ---
  message: Run autofix to sort these imports!
  severity: warning
  data:
    line: 1
    column: 1
    ruleId: simple-import-sort/imports
  messages:
    - message: '''useCatch'' is defined but never used.'
      severity: warning
      data:
        line: 1
        column: 10
        ruleId: '@typescript-eslint/no-unused-vars'
    - message: '''Link'' is defined but never used.'
      severity: warning
      data:
        line: 1
        column: 20
        ruleId: '@typescript-eslint/no-unused-vars'
    - message: '''json'' is defined but never used.'
      severity: warning
      data:
        line: 1
        column: 26
        ruleId: '@typescript-eslint/no-unused-vars'
    - message: '''useLoaderData'' is defined but never used.'
      severity: warning
      data:
        line: 1
        column: 32
        ruleId: '@typescript-eslint/no-unused-vars'
    - message: '''Outlet'' is defined but never used.'
      severity: warning
      data:
        line: 1
        column: 47
        ruleId: '@typescript-eslint/no-unused-vars'
    - message: '''LoaderFunction'' is defined but never used.'
      severity: warning
      data:
        line: 2
        column: 15
        ruleId: '@typescript-eslint/no-unused-vars'
    - message: Missing return type on function.
      severity: error
      data:
        line: 4
        column: 16
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
  ...
not ok 12 - eslint-config-galex\integration\remix-ts\app\routes\index.tsx
  ---
  message: Run autofix to sort these imports!
  severity: warning
  data:
    line: 1
    column: 1
    ruleId: simple-import-sort/imports
  messages:
    - message: Array type using 'Array<T>' is forbidden. Use 'T[]' instead.
      severity: warning
      data:
        line: 5
        column: 14
        ruleId: '@typescript-eslint/array-type'
    - message: Array type using 'Array<T>' is forbidden. Use 'T[]' instead.
      severity: warning
      data:
        line: 6
        column: 10
        ruleId: '@typescript-eslint/array-type'
    - message: Exporting mutable 'let' binding, use 'const' instead.
      severity: error
      data:
        line: 13
        column: 8
        ruleId: import/no-mutable-exports
    - message: '''loader'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 13
        column: 12
        ruleId: prefer-const
    - message: '''data'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 14
        column: 7
        ruleId: prefer-const
    - message: Exporting mutable 'let' binding, use 'const' instead.
      severity: error
      data:
        line: 50
        column: 8
        ruleId: import/no-mutable-exports
    - message: '''meta'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 50
        column: 12
        ruleId: prefer-const
    - message: Missing return type on function.
      severity: error
      data:
        line: 58
        column: 16
        ruleId: '@typescript-eslint/explicit-module-boundary-types'
    - message: '''data'' is never reassigned. Use ''const'' instead.'
      severity: error
      data:
        line: 59
        column: 7
        ruleId: prefer-const
  ...