Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.
This repository has been archived by the owner on May 7, 2024. It is now read-only.

feat: ignore camelCase, PascalCase, snake_case, etc. #370

Open
jjangga0214 opened this issue May 30, 2023 · 0 comments
Open

feat: ignore camelCase, PascalCase, snake_case, etc. #370

jjangga0214 opened this issue May 30, 2023 · 0 comments

Comments

@jjangga0214
Copy link

jjangga0214 commented May 30, 2023

In markdown snippet, Grammarly complains about name of programming variable, function, class, etc.

스크린샷 2023-05-30 오전 10 41 42

Whether to check if variable name is correct should be done by configuring linter, like eslint-plugin-markdown.

  1. I think it'd be better to ignore, by default, various cases widely used in programming, like kebab-case, CAPITAL_SNAKE_CASE, camelCase, etc.

  2. Or the extension may disassemble those words. For example, parse the word 'changedFiles' and give it to Grammarly by 'changed files'. So if there's a type in the variable, like 'chagedFiles'(n is missing), Grammarly will complain.

  3. Providing a config option to disable Grammarly for fenced code snippet(```) is also good, if comments in the snippet are OK to be ignored.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant