/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.prettierrc.js
46 строк
870 B
Sam Zhou
Redo D111190630: Stop using `prettier-plugin-hermes-parser` for formatting (#57537)
14 июл 2026, 03:48
14 июл 2026, 03:48
a016e94
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ module.exports = { arrowParens: 'avoid', bracketSameLine: true, bracketSpacing: false, requirePragma: true, singleQuote: true, trailingComma: 'all', endOfLine: 'lf', overrides: [ { files: ['*.code-workspace'], options: { parser: 'json', }, }, { files: ['*.js', '*.js.flow'], options: { parser: 'flow', }, }, { files: ['**/__docs__/*.md'], options: { parser: 'markdown', proseWrap: 'always', requirePragma: false, }, }, { files: ['*.yml', '*.yaml'], options: { requirePragma: false, }, }, ], };