selaux / eslint-plugin-filenames

Eslint plugin to check filenames.
323 stars 35 forks source link

Disallow file names ending with pattern #35

Closed adamgajzlerowicz closed 5 years ago

adamgajzlerowicz commented 5 years ago

How can I disallow particular file names?

For example if someone calls a file MyClassStyle, it would fail because the file ends with Style. In other words - no file should end with Style.

Is it possible to do it with this plugin?

Thank you!

Hotell commented 5 years ago

It's not possible

see https://github.com/selaux/eslint-plugin-filenames/issues/39