Skip to content

Ignores not working when using in package.json #847

@sinedied

Description

@sinedied

I'm trying to exclude some files from the linting, but the ignore option doesn't seem to work at all.
Not sure what's going on here, did I miss anything obvious?

  "xo": {
    "space": true,
    "semicolon": true,
    "prettier": true,
    "ignores": [
      "**/*.genai.mjs",
      "**/vite.config.ts"
    ],
    "rules": [ ... ]
 }

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