From 29aec8a6ed69669c6e8ee505c1f124d53b3376fc Mon Sep 17 00:00:00 2001 From: Andres Suarez Date: Fri, 11 Oct 2019 13:44:21 -0700 Subject: [PATCH] Relax ESLint header lint Reviewed By: passy Differential Revision: D17878532 fbshipit-source-id: 976626d3254a4e570633687424b37fe0d0589707 --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 47cb5d00f..a4ce142ca 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -8,7 +8,7 @@ const fbjs = require('eslint-config-fbjs'); // enforces copyright header and @format directive to be present in every file -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./; +const pattern = /^\*\n[\S\s]*Facebook[\S\s]* \* @format\n/; const prettierConfig = { requirePragma: true,