Skip to content

12$: warn on missing semicolon before (expression) or [array] #1090

Open
@strager

Description

@strager
    nextConfig.push({
      proxied_site: "http://localhost:1337",
      port: 8084,
      early_hints: [
        {
          type: "style",
          url: "/style.css",
        },
        {
          type: "script",
          url: "/script.js",
        },
      ],
    })  // WARNING: Missing semicolon or confusing indentation
    ({ statusLine, headers } = await makeProxyRequest());
foo()  // WARNING: Missing semicolon or confusing indentation
[a, b].forEach(f)

Metadata

Metadata

Assignees

No one assigned

    Labels

    for hireGet paid for working on this task: https://quick-lint-js.com/hiring.html

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions