{"version":3,"sources":["jsdelivr-header.js","/npm/@eslint/markdown@7.5.1/dist/esm/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCCS,cAAiB,wBACjB,qBAAwB,yCACxB,uBAA0B,4CAC5B,qBAAsB,uCACtB,UAAW,mBAWlB,MAAM,qBAAuB,CAGzB,WAAY,MAGZ,WAAY,MACZ,wBAAyB,MACzB,iBAAkB,MAClB,gBAAiB,MAIjB,OAAQ,MAGR,cAAe,OAEnB,IAAI,mBAAoB,iBACxB,MAAM,OAAS,CACX,KAAM,CACF,KAAM,mBACN,QAAS,SAEb,WAAY,CACR,SAAU,WAEd,UAAW,CACP,WAAY,IAAI,iBAAiB,CAAE,KAAM,eACzC,IAAK,IAAI,iBAAiB,CAAE,KAAM,SAEtC,YACA,QAAS,CACL,qBAAsB,CAClB,QAAS,CAAC,YACV,UAAW,CACP,CACI,MAAO,CAAC,QACR,UAAW,qBAEf,CACI,MAAO,CAAC,cACR,cAAe,CACX,aAAc,CAKV,eAAe,IAGvB,MAAO,IACA,yBAKnB,YAAa,CACT,CACI,KAAM,uBACN,MAAO,CAAC,WACR,SAAU,sBACV,QAAU,mBAAqB,CAAC,EAChC,MAAO,mBAGf,UAA0C,CACtC,CACI,KAAM,8BACN,QAAU,iBAAmB,CAAC,GAElC,CACI,KAAM,iCACN,MAAO,CAAC,WACR,UAAW,qBAEf,CACI,KAAM,mCACN,MAAO,CAAC,cACR,gBAAiB,CACb,cAAe,CACX,aAAc,CAKV,eAAe,KAI3B,MAAO,IACA,0BAOvB,mBAAmB,SAAW,iBAAiB,SAAW,sBAC3C,cACN,0BACA,KAAK,wCACL,KAAK","file":"/npm/@eslint/markdown@7.5.1/dist/esm/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@eslint/markdown@7.5.1/dist/esm/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/**\n * @fileoverview Markdown plugin.\n * @author Brandon Mills\n */\n//-----------------------------------------------------------------------------\n// Imports\n//-----------------------------------------------------------------------------\nimport { processor } from \"./processor.js\";\nimport { MarkdownLanguage } from \"./language/markdown-language.js\";\nimport { MarkdownSourceCode } from \"./language/markdown-source-code.js\";\nimport recommendedRules from \"./build/recommended-config.js\";\nimport rules from \"./build/rules.js\";\n//-----------------------------------------------------------------------------\n// Type Definitions\n//-----------------------------------------------------------------------------\n/**\n * @import { Linter } from \"eslint\";\n */\n//-----------------------------------------------------------------------------\n// Exports\n//-----------------------------------------------------------------------------\n/** @type {Linter.RulesRecord} */\nconst processorRulesConfig = {\n    // The Markdown parser automatically trims trailing\n    // newlines from code blocks.\n    \"eol-last\": \"off\",\n    // In code snippets and examples, these rules are often\n    // counterproductive to clarity and brevity.\n    \"no-undef\": \"off\",\n    \"no-unused-expressions\": \"off\",\n    \"no-unused-vars\": \"off\",\n    \"padded-blocks\": \"off\",\n    // Adding a \"use strict\" directive at the top of every\n    // code block is tedious and distracting. The config\n    // opts into strict mode parsing without the directive.\n    strict: \"off\",\n    // The processor will not receive a Unicode Byte Order\n    // Mark from the Markdown parser.\n    \"unicode-bom\": \"off\",\n};\nlet recommendedPlugins, processorPlugins;\nconst plugin = {\n    meta: {\n        name: \"@eslint/markdown\",\n        version: \"7.5.1\", // x-release-please-version\n    },\n    processors: {\n        markdown: processor,\n    },\n    languages: {\n        commonmark: new MarkdownLanguage({ mode: \"commonmark\" }),\n        gfm: new MarkdownLanguage({ mode: \"gfm\" }),\n    },\n    rules,\n    configs: {\n        \"recommended-legacy\": {\n            plugins: [\"markdown\"],\n            overrides: [\n                {\n                    files: [\"*.md\"],\n                    processor: \"markdown/markdown\",\n                },\n                {\n                    files: [\"**/*.md/**\"],\n                    parserOptions: {\n                        ecmaFeatures: {\n                            // Adding a \"use strict\" directive at the top of\n                            // every code block is tedious and distracting, so\n                            // opt into strict mode parsing without the\n                            // directive.\n                            impliedStrict: true,\n                        },\n                    },\n                    rules: {\n                        ...processorRulesConfig,\n                    },\n                },\n            ],\n        },\n        recommended: [\n            {\n                name: \"markdown/recommended\",\n                files: [\"**/*.md\"],\n                language: \"markdown/commonmark\",\n                plugins: (recommendedPlugins = {}),\n                rules: recommendedRules,\n            },\n        ],\n        processor: /** @type {Linter.Config[]} */ ([\n            {\n                name: \"markdown/recommended/plugin\",\n                plugins: (processorPlugins = {}),\n            },\n            {\n                name: \"markdown/recommended/processor\",\n                files: [\"**/*.md\"],\n                processor: \"markdown/markdown\",\n            },\n            {\n                name: \"markdown/recommended/code-blocks\",\n                files: [\"**/*.md/**\"],\n                languageOptions: {\n                    parserOptions: {\n                        ecmaFeatures: {\n                            // Adding a \"use strict\" directive at the top of\n                            // every code block is tedious and distracting, so\n                            // opt into strict mode parsing without the\n                            // directive.\n                            impliedStrict: true,\n                        },\n                    },\n                },\n                rules: {\n                    ...processorRulesConfig,\n                },\n            },\n        ]),\n    },\n};\n// @ts-expect-error\nrecommendedPlugins.markdown = processorPlugins.markdown = plugin;\nexport default plugin;\nexport { MarkdownSourceCode };\nexport * from \"./language/markdown-language.js\";\nexport * from \"./types.js\";\n"]}