From 3a93d48e0529dae3a6e04be5cc529fed6a7f23ef Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Thu, 30 Sep 2021 09:26:32 -0700 Subject: [PATCH] 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 --- desktop/babel-transformer/.eslintrc.js | 14 ++++++++++++++ desktop/doctor/.eslintrc.js | 14 ++++++++++++++ desktop/eslint-plugin-flipper/.eslintrc.js | 14 ++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 desktop/babel-transformer/.eslintrc.js create mode 100644 desktop/doctor/.eslintrc.js create mode 100644 desktop/eslint-plugin-flipper/.eslintrc.js diff --git a/desktop/babel-transformer/.eslintrc.js b/desktop/babel-transformer/.eslintrc.js new file mode 100644 index 000000000..b94fb5bca --- /dev/null +++ b/desktop/babel-transformer/.eslintrc.js @@ -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', + }, +}; diff --git a/desktop/doctor/.eslintrc.js b/desktop/doctor/.eslintrc.js new file mode 100644 index 000000000..b94fb5bca --- /dev/null +++ b/desktop/doctor/.eslintrc.js @@ -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', + }, +}; diff --git a/desktop/eslint-plugin-flipper/.eslintrc.js b/desktop/eslint-plugin-flipper/.eslintrc.js new file mode 100644 index 000000000..b94fb5bca --- /dev/null +++ b/desktop/eslint-plugin-flipper/.eslintrc.js @@ -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', + }, +};