cms
cms copied to clipboard
bug: Format and lint check/fix conflicting each other
Describe the bug in this folder "src/actions/payoutMethods/schema.ts" there are such regex
(/^[A-Za-z0-9]{44}$/)
while running format:check it gives us a warning after which if we run format:fix and then try to do lint:check it gives us an error
6:24 error Wrap the regexp literal in parens to disambiguate the slash wrap-regex
12:24 error Wrap the regexp literal in parens to disambiguate the slash wrap-regex
21:24 error Wrap the regexp literal in parens to disambiguate the slash wrap-regex
27:47 error Wrap the regexp literal in parens to disambiguate the slash wrap-regex
both conflicting each other hence build is failing for instance here: 4838c56 and 3751294 This issue was caused by this commit #920 specifically fc428e3f950f5c36bb2da80d264ee59456c14266
To Reproduce Steps to reproduce the behavior:
- run
npm run format:check - run
npm run lint:check
Info (please complete the following information):
- Browser chrome
Additional context
- Running without docker