Skip to content

Commit 512523e

Browse files
author
Ruslan Lesiutin
committed
fix: update eslint-plugin-specs paths for react-native/codegen in react-native-modules
1 parent 720b05d commit 512523e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/eslint-plugin-specs/react-native-modules.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ function requireModuleParser() {
2929
// If using this externally, we leverage @react-native/codegen as published form
3030
if (!PACKAGE_USAGE) {
3131
const config = {
32-
only: [/@react-native\/codegen\/src\//],
32+
only: [/react-native-codegen\/src\//],
3333
plugins: [require('@babel/plugin-transform-flow-strip-types').default],
3434
};
3535

3636
withBabelRegister(config, () => {
3737
RNModuleParser = require('@react-native/codegen/src/parsers/flow/modules');
38-
RNParserUtils = require('@react-native/codegen/src/parsers/flow/utils');
38+
RNParserUtils = require('@react-native/codegen/src/parsers/utils');
3939
});
4040
} else {
4141
const config = {

0 commit comments

Comments
 (0)