Skip to content

Commit 568f85a

Browse files
committed
refactor(expo): update import statement for package.json in withClerkExpo plugin
- Changed the import of package.json from require to ES module syntax in order to fix the no "require" imports allowed eslint warning.
1 parent c401182 commit 568f85a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/expo/src/plugin/withClerkExpo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { type ConfigPlugin, createRunOncePlugin, withInfoPlist } from '@expo/config-plugins';
22

3-
const pkg = require('../../package.json');
3+
import pkg from '../../package.json';
44

55
/**
66
* Expo config plugin for @clerk/expo.

0 commit comments

Comments
 (0)