Commit e71501d
committed
fix(patchedPryv): move @pryv/cmc import to top of file
The `import * as _cmc from '@pryv/cmc'` was sitting below the namespace pryv
declaration-merging block, tripping eslint's import-x/first rule and breaking
`npm run lint` since c85e29b (Plan 59 Phase 1 pryv bump). Move it up with the
other imports; keep `export const cmc = _cmc;` where it was.
Pure reorder — ESM imports are hoisted regardless of declared position, so
runtime behaviour is unchanged. Verified locally: tsc clean, webpack clean,
499 tests pass, and the InviteSplash flow in hds-webapp (heaviest cmc consumer
in the workspace) renders without console errors.1 parent 3061fd4 commit e71501d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | | - | |
44 | 44 | | |
0 commit comments