Disable sync rules for sub-projects

Summary: This is from a larger lint task but I'm pulling this out separately. Sync only matters to us in the context of UI where it can block the main loop. Here it's fine.

Reviewed By: timur-valiev

Differential Revision: D31290130

fbshipit-source-id: 9a156ce549a1249b2b08f16e3afef6e5cd1e5441
This commit is contained in:
Pascal Hartig
2021-09-30 09:26:32 -07:00
committed by Facebook GitHub Bot
parent ed80dcf26c
commit 3a93d48e05
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
module.exports = {
rules: {
'node/no-sync': 'off',
},
};

View File

@@ -0,0 +1,14 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
module.exports = {
rules: {
'node/no-sync': 'off',
},
};

View File

@@ -0,0 +1,14 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
module.exports = {
rules: {
'node/no-sync': 'off',
},
};