eslint-plugin-kerfjs 5.0.0-beta.22 → 5.0.0-beta.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/lib/ui-contract.js +2 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import uiPublicBoundaries from './lib/rules/ui-public-boundaries.js';
|
|
|
12
12
|
import uiWiring from './lib/rules/ui-wiring.js';
|
|
13
13
|
|
|
14
14
|
const plugin = {
|
|
15
|
-
meta: { name: 'eslint-plugin-kerfjs', version: '5.0.0-beta.
|
|
15
|
+
meta: { name: 'eslint-plugin-kerfjs', version: '5.0.0-beta.24' },
|
|
16
16
|
rules: {
|
|
17
17
|
'no-inline-jsx-event-handlers': noInlineJsxEventHandlers,
|
|
18
18
|
'no-raw-with-dynamic-arg': noRawWithDynamicArg,
|
package/lib/ui-contract.js
CHANGED
|
@@ -132,6 +132,8 @@ export function loadUiContract(context) {
|
|
|
132
132
|
const key = `${selection.package}:${entry.id}`;
|
|
133
133
|
if (entry.delivery?.browserImport)
|
|
134
134
|
imports.set(entry.delivery.browserImport, key);
|
|
135
|
+
if (entry.delivery?.moduleImport)
|
|
136
|
+
imports.set(entry.delivery.moduleImport, key);
|
|
135
137
|
for (const name of entry.publicExports ?? []) {
|
|
136
138
|
exports.set(name, key);
|
|
137
139
|
addHelperSource(name, selection.package);
|