optional chaining
Summary: Adds support for optional chaining to the codebase, enables flow and eslint support for it. Reviewed By: passy Differential Revision: D9940732 fbshipit-source-id: 730aa76653bd22a8fa17a73e72b3a7329de0226c
This commit is contained in:
committed by
Facebook Github Bot
parent
5a492951f5
commit
7825d9247c
@@ -11,6 +11,7 @@ const fbjs = require('eslint-config-fbjs');
|
||||
const pattern = /^\*\n \* Copyright 20\d{2}-present Facebook\.\n \* This source code is licensed under the MIT license found in the\n \* LICENSE file in the root directory of this source tree\.\n \* @format\n./;
|
||||
|
||||
module.exports = {
|
||||
parser: 'babel-eslint',
|
||||
extends: 'fbjs',
|
||||
plugins: [...fbjs.plugins, 'header', 'prettier'],
|
||||
rules: {
|
||||
|
||||
Reference in New Issue
Block a user