Files
NapCatQQ/.pnpm-store/v3/files/0c/d9a75bd4c2796c522d4aa08303d4bbe7e5ce4a1e15ff031d7ad085e6c32cb17038f0c19e852f6272644617c8046666ec61b3ab8ca234f8578dab6b5cf9433e
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

14 lines
599 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSortImportsIgnored = void 0;
var constants_1 = require("../constants");
var get_all_comments_from_nodes_1 = require("./get-all-comments-from-nodes");
var isSortImportsIgnored = function (nodes) {
return (0, get_all_comments_from_nodes_1.getAllCommentsFromNodes)(nodes).some(function (comment) {
return comment.loc &&
comment.loc.start.line === 1 &&
comment.value.includes(constants_1.sortImportsIgnoredComment);
});
};
exports.isSortImportsIgnored = isSortImportsIgnored;