eslint-plugin-spellcheck icon indicating copy to clipboard operation
eslint-plugin-spellcheck copied to clipboard

How to ignore UUIDs

Open relm923 opened this issue 11 months ago • 5 comments

Would like to add skip rule to ignore all UUIDs (ex: 10fa9e30-95ce-4bb6-844b-e68445bf2d63)

Have tried:

{
  "skipIfMatch": "^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$"
}

but still get errors:

You have a misspelled word: 95ce on String eslint(spellcheck/spell-checker)
You have a misspelled word: 4bb6 on String eslint(spellcheck/spell-checker)

relm923 avatar Mar 15 '24 13:03 relm923