ls-lint icon indicating copy to clipboard operation
ls-lint copied to clipboard

advanced ext category inside ls-lint

Open microJ opened this issue 2 years ago • 2 comments

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;

microJ avatar Mar 04 '22 03:03 microJ

i love it! will be in v2

do you have maybe some more category examples?

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

loeffel-io avatar Apr 22 '22 19:04 loeffel-io

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.

microJ avatar Apr 25 '22 05:04 microJ