1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-28 23:28:16 +02:00

Enable the import/no-cycle ESLint plugin rule

Having cyclical imports is obviously not a good idea, and this ESLint plugin rule can help detect those; please see https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-cycle.md
This commit is contained in:
Jonas Jenwald 2023-06-02 14:41:27 +02:00
parent 605d9f492f
commit cf3a35e9da
22 changed files with 328 additions and 213 deletions

View file

@ -14,13 +14,8 @@
*/
import { $buildXFAObject, NamespaceIds } from "./namespaces.js";
import {
$namespaceId,
$nodeName,
$onChildCheck,
XFAObject,
XFAObjectArray,
} from "./xfa_object.js";
import { $namespaceId, $nodeName, $onChildCheck } from "./symbol_utils.js";
import { XFAObject, XFAObjectArray } from "./xfa_object.js";
const XDP_NS_ID = NamespaceIds.xdp.id;