ICU Fixathon - clean up React.Fragment old syntax (#29006)

* ICU Fixathon - clean up React.Fragment old syntax

* enforce use of fragment shorthand over React.Fragment

* use short version of fragment
Этот коммит содержится в:
Pablo Vélez
2024-11-11 18:05:47 +01:00
коммит произвёл GitHub
родитель 2461d0fed6
Коммит 108117ba4d
35 изменённых файлов: 94 добавлений и 93 удалений

Просмотреть файл

@@ -32,7 +32,8 @@
"react/style-prop-object": [2, {
"allow": ["Timestamp"]
}],
"formatjs/no-multiple-whitespaces": 2
"formatjs/no-multiple-whitespaces": 2,
"react/jsx-fragments": ["error", "syntax"]
},
"overrides": [
{