Fix yarn lint failures
Summary: Closes https://github.com/facebook/Sonar/pull/20 Reviewed By: jknoxville Differential Revision: D8378657 Pulled By: danielbuechele fbshipit-source-id: 51dcc4621d657dee089949caf3ebf1961eb3dd6d
This commit is contained in:
committed by
Facebook Github Bot
parent
4fbe638adf
commit
86d266e75c
@@ -8,7 +8,7 @@
|
|||||||
const fbjs = require('eslint-config-fbjs');
|
const fbjs = require('eslint-config-fbjs');
|
||||||
|
|
||||||
// enforces copyright header and @format directive to be present in every file
|
// 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 = {
|
module.exports = {
|
||||||
extends: 'fbjs',
|
extends: 'fbjs',
|
||||||
|
|||||||
Reference in New Issue
Block a user