ota-meshi/yaml-eslint-parser

Cannot parse comments in an array block

gajus opened this issue · 2 comments

gajus commented

Input:

allowCompoundWords: true
ignorePaths:
  - node_modules
  - dist
  - pnpm-lock.yaml
  # The reason we are ignoring applicationsets is because the contents of it is
  # generated based on the names of the branches and auto-committed, i.e.
  # we cannot guarantee it does not contain misspellings.
  - applicationsets
  # This script contains bash color codes which confuse cspell.
  - './scripts/setup-test-cluster.sh'

Produces error:

/Users/gajus/Developer/contra/contra-cluster/cspell.yml
  6:3  error  Parsing error: Unexpected character '#'

I can't reproduce your problem. Could you please provide a minimal repository to reproduce?

This issue is is stale because it missing information and has been open for 60 days with no activity.