Closed ash-r1 closed 4 years ago
I tried to use this plugin with the command yarn eslint ./src/**/*.ts, but it doesn't show any problem. But, it shows an error if I specify the filename: yarn eslint ./src/foo/barFile.ts.
yarn eslint ./src/**/*.ts
yarn eslint ./src/foo/barFile.ts
Additionally, I think a bigger similar-featured plugin eslint-plugin-unicorn has the same problem: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/filename-case.md
eslint-plugin-unicorn
It would be my fault. It fixed by single-quoted parameter like below: yarn eslint './src/**/*.ts'
yarn eslint './src/**/*.ts'
Sorry about that.
I tried to use this plugin with the command
yarn eslint ./src/**/*.ts
, but it doesn't show any problem. But, it shows an error if I specify the filename:yarn eslint ./src/foo/barFile.ts
.Additionally, I think a bigger similar-featured plugin
eslint-plugin-unicorn
has the same problem: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/filename-case.md