mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
635ac1ba53
Summary: Since Prettier 2.0, the default for the `arrowParens` option has changed from `avoid` to `always`. In preparation for upgrading Prettier in Xplat to 2.1, add `arrowParens: 'avoid'` explicitly to configurations that were missing it so that we do not have a change of behaviour when upgrading. Changelog: [Internal] Reviewed By: bolinfest Differential Revision: D23666397 fbshipit-source-id: 665f20d1419d0d664a6ef5cddc46f441b20eeb51
8 lines
144 B
JavaScript
8 lines
144 B
JavaScript
module.exports = {
|
|
bracketSpacing: false,
|
|
jsxBracketSameLine: true,
|
|
singleQuote: true,
|
|
trailingComma: 'all',
|
|
arrowParens: 'avoid',
|
|
};
|