Skip to content

Broken test suite #5588

@jsumners

Description

@jsumners

Every time I run npm test on the current main branch, I get:

/Users/jsumners/Projects/oss/fastify/fastify/test/types/import.js
  1:1   error  Strings must use singlequote  @stylistic/quotes
  1:13  error  Extra semicolon               @stylistic/semi
  2:32  error  Strings must use singlequote  @stylistic/quotes
  2:62  error  Extra semicolon               @stylistic/semi

✖ 4 problems (4 errors, 0 warnings)
  4 errors and 0 warnings potentially fixable with the `--fix` option.

But I can't find that file. So, two things:

  1. Someone who knows where that file comes from, please provide a way to fix this error.
  2. Can we please disable the singlequote rule? It will prevent writing strings with template literals (e.g. when the string needs a singlequote inside of it, it's easier to use a template literal to reduce the need for escaping characters).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions