{"version":3,"sources":["../../src/cli/next-lint.ts"],"names":["nextLint","eslintOptions","args","defaultCacheLocation","overrideConfigFile","extensions","resolvePluginsRelativeTo","rulePaths","fix","fixTypes","ignorePath","ignore","Boolean","allowInlineConfig","reportUnusedDisableDirectives","cache","cacheLocation","cacheStrategy","errorOnUnmatchedPattern","nextConfig","printAndExit","baseDir","getProjectDir","_","existsSync","loadConfig","PHASE_PRODUCTION_BUILD","files","dirs","eslint","filesToLint","pathsToLint","length","ESLINT_DEFAULT_DIRS","reduce","res","d","currDir","join","push","reportErrorsOnly","maxWarnings","formatter","strict","outputFile","distDir","pagesDir","appDir","findPagesDir","verifyTypeScriptSetup","dir","intentDirs","filter","typeCheckPreflight","tsconfigPath","typescript","disableStaticImages","images","hasAppDir","hasPagesDir","runLintCheck","lintDuringBuild","then","lintResults","lintOutput","output","eventInfo","telemetry","Telemetry","record","eventLintCheckCompleted","buildLint","flush","isError","CompileError","green","catch","err","message"],"mappings":";;;;;+BAqMSA;;;eAAAA;;;oBAnMkB;sBACN;4BACC;2BAGc;8BACP;uBACA;yBACH;+DACH;4BACgB;wBACC;8BACX;+BACC;8BACD;uCACS;;;;;;AAEtC,MAAMC,gBAAgB,CAACC,MAAgBC,uBAAkC,CAAA;QACvEC,oBAAoBF,IAAI,CAAC,WAAW,IAAI;QACxCG,YAAYH,IAAI,CAAC,QAAQ,IAAI;YAC3B;YACA;YACA;YACA;YACA;YACA;YACA;YACA;SACD;QACDI,0BAA0BJ,IAAI,CAAC,gCAAgC,IAAI;QACnEK,WAAWL,IAAI,CAAC,aAAa,IAAI,EAAE;QACnCM,KAAKN,IAAI,CAAC,QAAQ,IAAI;QACtBO,UAAUP,IAAI,CAAC,aAAa,IAAI;QAChCQ,YAAYR,IAAI,CAAC,gBAAgB,IAAI;QACrCS,QAAQ,CAACC,QAAQV,IAAI,CAAC,cAAc;QACpCW,mBAAmB,CAACD,QAAQV,IAAI,CAAC,qBAAqB;QACtDY,+BACEZ,IAAI,CAAC,qC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