Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow capitalize for word at the beginning of sentence #144

Open
5 tasks done
hardfist opened this issue Feb 23, 2023 · 1 comment
Open
5 tasks done

allow capitalize for word at the beginning of sentence #144

hardfist opened this issue Feb 23, 2023 · 1 comment

Comments

@hardfist
Copy link

Describe the bug

some words like webpack allow using 'Webpack' at the beginning of sentence, is there a way to allow this?

Reproduction

https://stackblitz.com/edit/node-essghk?file=package.json

System Info

System:
    OS: macOS 12.5.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 114.20 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.19.0 - ~/Library/Caches/fnm_multishells/89917_1677131463820/bin/node
    Yarn: 1.11.1 - ~/Library/Caches/fnm_multishells/89917_1677131463820/bin/yarn
    npm: 8.19.3 - ~/Library/Caches/fnm_multishells/89917_1677131463820/bin/npm
  Browsers:
    Chrome: 110.0.5481.100
    Firefox Developer Edition: 111.0
    Safari: 15.6.1

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@antfu
Copy link
Owner

antfu commented Feb 24, 2023

The tool itself does not do any semantic checking, I guess this might be hard to do right. (I think webpack should be the one to blame). I don't have a solution for you, but probably an workaround is to disable it case-police --disable webpack

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

No branches or pull requests

2 participants