refactor(i18n): allow irregular whitespace for french localisation files

See the following:
- https://en.wikipedia.org/wiki/History_of_sentence_spacing#French_and_English_spacing
- https://docs.weblate.org/en/weblate-4.14.1/user/checks.html#check-punctuation-spacing

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
This commit is contained in:
Fernando Fernández 2024-01-02 13:55:29 +01:00
parent cc6b6eb4b4
commit 952ac69d8a
No known key found for this signature in database
GPG Key ID: 82FD36644F1F4D3B

View File

@ -235,6 +235,17 @@ module.exports = {
'jsonc/auto': 'error'
}
},
/**
* See the following:
* - https://en.wikipedia.org/wiki/History_of_sentence_spacing#French_and_English_spacing
* - https://docs.weblate.org/en/weblate-4.14.1/user/checks.html#check-punctuation-spacing
*/
{
files: ['locales/fr.json'],
rules: {
'no-irregular-whitespace': 'off'
}
},
{
files: ['*.ts', '*.tsx'],
parser: 'typescript-eslint-parser-for-extra-files',