diff --git a/packages/eslint-config-react-native-community/BUCK b/packages/eslint-config-react-native-community/BUCK new file mode 100644 index 0000000000..8fd3828943 --- /dev/null +++ b/packages/eslint-config-react-native-community/BUCK @@ -0,0 +1,23 @@ +load("@fbsource//tools/build_defs/third_party:yarn_defs.bzl", "yarn_workspace") + +yarn_workspace( + name = "yarn-workspace", + srcs = glob( + ["**/*.js"], + exclude = [ + "**/__fixtures__/**", + "**/__flowtests__/**", + "**/__mocks__/**", + "**/__server_snapshot_tests__/**", + "**/__tests__/**", + "**/node_modules/**", + "**/node_modules/.bin/**", + "**/.*", + "**/.*/**", + "**/.*/.*", + "**/*.xcodeproj/**", + "**/*.xcworkspace/**", + ], + ), + visibility = ["PUBLIC"], +) diff --git a/repo-config/package.json b/repo-config/package.json index 00eef94f10..d0a2a719c3 100644 --- a/repo-config/package.json +++ b/repo-config/package.json @@ -14,6 +14,7 @@ "@babel/generator": "^7.14.0", "@babel/plugin-transform-regenerator": "^7.0.0", "@definitelytyped/dtslint": "^0.0.127", + "@react-native-community/eslint-config": "*", "@react-native-community/eslint-plugin": "*", "@react-native/eslint-plugin-specs": "^0.71.1", "@reactions/component": "^2.0.2",