Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(condo): DOMA-10737 improve lint-i18n-translations.js #5530

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

pahaz
Copy link
Member

@pahaz pahaz commented Nov 22, 2024

No description provided.

@@ -3,55 +3,59 @@ const fetch = require('node-fetch')

const { getAppServerUrl } = require('@open-condo/cli')

program.option('-f, --filter <names...>', 'Filters apps by name')
program.option('-s, --sleep <number>', 'Sleep interval between polling in ms', /\d{1,12}/, '3000')
program.option('-t, --timeout <number>', 'Max polling time in ms', /\d{1,12}/, '120000')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RegExp is deprecated

Copy link
Contributor

@Alllex202 Alllex202 Nov 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like we don't use a "RESET_PASSWORD" message type, so you should remove translations for that type

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I want to add this check to the linter

Copy link

sonarcloud bot commented Nov 23, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants