I am trying to create a filename convention that allows something like 1718716204615-memberSurveyAnswerChoices1.ts but not something like `1718716204615-member-survey-answer-choices1.ts
/Users/tyler.peckenpaugh/pager/titan/apps/titan/api/src/drivers/postgres/migrations/1718716204615-memberSurveyAnswerChoices1.ts
1:1 error The filename "1718716204615-memberSurveyAnswerChoices1.ts" does not match the "+([0-9])-+([a-zA-Z0-9]).ts" pattern check-file/filename-naming-convention
Expected behavior
The filename "1718716204615-memberSurveyAnswerChoices1.ts" should match the "+([0-9])-+([a-zA-Z0-9]).ts" pattern
Welcome to Node.js v20.15.0.
Type ".help" for more information.
> const micromatch = require('micromatch');
undefined
> micromatch.isMatch("1718716204615-memberSurveyAnswerChoices1.ts", "+([0-9])-+([a-zA-Z0-9]).ts")
true
> micromatch.isMatch("1718716204615-member-survey-answer-choices1.ts", "+([0-9])-+([a-zA-Z0-9]).ts")
false
>
Plugin configuration
Your configuration of this plugin.
Describe the bug
I am trying to create a filename convention that allows something like
1718716204615-memberSurveyAnswerChoices1.ts
but not something like `1718716204615-member-survey-answer-choices1.tsExpected behavior
The filename "1718716204615-memberSurveyAnswerChoices1.ts" should match the "+([0-9])-+([a-zA-Z0-9]).ts" pattern
Plugin configuration Your configuration of this plugin.
Project structure If applicable, add a minimal reproducible project structure generated by the
tree
cmd like the one below.Desktop (please complete the following information):
Additional context
Use nx for project management in a monorepo, so I execute linting with this command: