Enforce file naming convention with typescript-eslint

Viewed 1779

I want to automatically enforce file naming conventions for my typescript + react codebase.

e.g. all .ts filenames have to be camelCase all .tsx filenames have to be PascalCase

Orelsanpls has referenced typescript-eslint doing that, however I can only find the naming-conventions rules for variables, classes, members etc.

TSLint contained file-name-casing rules, which is exactly what I'm looking for in typescript-eslint.

Am I missing something about naming-conventions in typescript-eslint?

1 Answers
Related