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

advanced ext category inside ls-lint #71

Open
microJ opened this issue Mar 4, 2022 · 2 comments
Open

advanced ext category inside ls-lint #71

microJ opened this issue Mar 4, 2022 · 2 comments
Assignees

Comments

@microJ
Copy link

microJ commented Mar 4, 2022

usually, lint has some common feature;

  • lint all files ext is .html
  • lint all files is some kind;
    • like image ext is .jpg .JPG .gif .svg and so on

can ls-lint support some ext kind inside。

look like this:

ls:
  [img]: kebab-case;
Repository owner deleted a comment from tal-rofe Apr 22, 2022
@loeffel-io
Copy link
Owner

loeffel-io commented Apr 22, 2022

i love it! will be in v2

do you have maybe some more category examples?

  • images
  • videos
  • documents
  • typescript (.ts, .d.ts)
  • ...

@microJ
Copy link
Author

microJ commented Apr 25, 2022

i love it! will be in v2

do you have maybe some more category examples?

  • images
  • videos
  • documents
  • typescript (.ts, .d.ts)
  • ...

emm, there are something i want to discuss.
in web Front-End project,assets file is image/video/audio/font/json,that is easy to limit lint rules。
but Framework code maybe have different filename style. such as main.ts vs App.tsx vs index.tsx. it's complex to set simple lint rule.

Repository owner deleted a comment from Igorkowalski94 Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants