RoyLee1224 commented on PR #51666: URL: https://github.com/apache/airflow/pull/51666#issuecomment-2968110996
According to [eslint-plugin-i18next](https://github.com/edvardchen/eslint-plugin-i18next/blob/main/docs/rules/no-literal-string.md#exclude-and-include), seems like we can use `include` to identify those strings, for example: ``` "jsx-attributes": { "include": ["label", "title", "placeholder", "aria-label"] }, mode: "jsx-only" ``` I've tested the `jsx-attributes` locally:  But I found that `mode: "jsx-only"` and `markupOnly: true` cannot be enabled at the same time. Perhaps we could switch to `jsx-only` mode when we need to perform these more specific checks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
