loeffel-io / ls-lint

An extremely fast directory and filename linter - Bring some structure to your project filesystem

Home Page:https://ls-lint.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ignore not working for file

kaushalyap opened this issue Β· comments

Thanks for the ls-lint tool. πŸ‘

I have following .ls-lint.yml

ls:
  .js: lowercase | kebabcase
  src/components/:
    .dir: pascalcase
    .jsx: pascalcase
  src/pages:
    .jsx: kebabcase
  .storybook:
    .js: lowercase

ignore:
  - .git
  - node_modules
  - .cache
  - public
  - storybook-static
  - .husky
  - dist
  - flow-typed/npm/

I am getting following error

<Project Name>/flow-typed/npm/react-dom_v17.x.x.js
  31:20  error  Identifier 'unstable_batchedUpdates' is not in camel case              camelcase
  40:20  error  Identifier 'unstable_renderSubtreeIntoContainer' is not in camel case  camelcase

Here is the react-dom_v17.x.x.js

Sorry it seems to be above error is from eslint. So closing