diff --git a/.eslintrc.js b/.eslintrc.js index 841ea8d90..4373cd483 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 2018-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 \* 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 = { extends: 'fbjs',