Set arrowParens option explicitly.
Differential Revision: D20640296 fbshipit-source-id: 0ecaa78f964fce8297342db99be29b1a7d1cfab6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
37f0260116
commit
49fc4b46b6
@@ -13,6 +13,10 @@ const fbjs = require('eslint-config-fbjs');
|
||||
const pattern = /^\*\r?\n[\S\s]*Facebook[\S\s]* \* @format\r?\n/;
|
||||
|
||||
const prettierConfig = {
|
||||
// arrowParens=always is the default for Prettier 2.0, but other configs
|
||||
// at Facebook appear to be leaking into this file, which is still on
|
||||
// Prettier 1.x at the moment, so it is best to be explicit.
|
||||
arrowParens: 'always',
|
||||
requirePragma: true,
|
||||
singleQuote: true,
|
||||
trailingComma: 'all',
|
||||
|
||||
Reference in New Issue
Block a user