Skip to content

[Bug]: Passing options to lint does not work #501

@razzeee

Description

@razzeee

What's not working?

Trying to run yarn rw lint --format gitlab

Yields:
Formatter must be a function, but got a object.

How do we reproduce the bug?

  1. Have a project with "eslint-formatter-gitlab": "^6.0.1", in the devDependencies
  2. Invoke yarn rw lint --format gitlab

What's your environment? (If it applies)

System:
    OS: Linux 6.17 Fedora Linux 42 (Workstation Edition)
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 20.19.0 - /tmp/xfs-4ccd894b/node
    Yarn: 4.10.3 - /tmp/xfs-4ccd894b/yarn
  Databases:
    SQLite: 3.47.2 - /usr/bin/sqlite3
  npmPackages:
    @cedarjs/auth-custom-setup: 0.13.0 => 0.13.0 
    @cedarjs/cli-data-migrate: 0.13.0 => 0.13.0 
    @cedarjs/cli-storybook-vite: 0.13.0 => 0.13.0 
    @cedarjs/core: 0.13.0 => 0.13.0 
  redwood.toml:
    [web]
      title = "slashskills"
      port = 8910
      apiUrl = "/.redwood/functions" # you can customise graphql and dbauth urls individually too: see https://redwoodjs.com/docs/app-configuration-redwood-toml#api-paths
      sourceMap = true
      includeEnvironmentVariables = [
        "GITLAB_CLIENT_ID",
        "GITLAB_REDIRECT_URI",
        "GITLAB_AUTHORITY",
        "SITE_ID",
        "BASE_URL",
        "SENTRY_DSN",
        "ENVIRONMENT",
        "SENTRY_ENABLED",
        "CI_COMMIT_SHA",
      ] # any ENV vars that should be available to the web side, see https://redwoodjs.com/docs/environment-variables#web
    [api]
      port = 8911
      host = "localhost"
    [browser]
      open = true
    [experimental.studio]
      enabled = true

Are you interested in working on this?

  • I'm interested in working on this

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/needs-infoMore information is needed for reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions