TimKam / atomic-vale

a vale linter plugin for Atom
MIT License
6 stars 2 forks source link

Scopes setting seems to do nothing #18

Open wouter-veeken opened 5 years ago

wouter-veeken commented 5 years ago

I want to run my Vale checks on code comments in .swift files. However, in Settings, when I change the value for List of scopes for languages vale will lint, I observe no difference in behavior.

Steps:

  1. Go to plugin settings.
  2. Append default "scopes" value with
    text.comment.line.swift, text.comment.block.swift, text.swift
  3. Quit Atom.
  4. Start Atom.
  5. Open .swift file and observe that code comments are not linted.
  6. Open .md file and observe that contents are linted.
  7. Go to plugin settings.
  8. Entirely replace "scopes" value with value from step 2.
  9. Quit Atom.
  10. Start Atom.
  11. Open .swift file and observe that code comments are not linted.
  12. Open .md file and observe that contents are still linted.

What am I doing wrong?