{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * FIXME: remove this comments and import when below issue is fixed.\n * This import is necessary for type generation due to a bug in the TypeScript compiler.\n * See: https://github.com/microsoft/TypeScript/issues/42873\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport type { TSESLint } from \"@typescript-eslint/utils\";\n\nimport { plugin } from \"./plugin\";\nimport recommendedConfig from \"./configs/recommended\";\nimport typescriptConfig from \"./configs/typescript\";\n\nconst pluginLegacy = {\n  rules: plugin.rules,\n  configs: {\n    recommended: {\n      plugins: [\"solid\"],\n      env: {\n        browser: true,\n        es6: true,\n      },\n      parserOptions: recommendedConfig.languageOptions.parserOptions,\n      rules: recommendedConfig.rules,\n    },\n    typescript: {\n      plugins: [\"solid\"],\n      env: {\n        browser: true,\n        es6: true,\n      },\n      parserOptions: {\n        sourceType: \"module\",\n      },\n      rules: typescriptConfig.rules,\n    },\n    \"flat/recommended\": recommendedConfig,\n    \"flat/typescript\": typescriptConfig,\n  },\n};\n\n// Must be `export = ` for eslint to load everything\nexport = pluginLegacy;\n"],"mappings":";;;;;;;;;;;;AAAA;AAAA;AAQA;AACA,6BAA8B;AAC9B,4BAA6B;AAE7B,QAAM,eAAe;AAAA,MACnB,OAAO,OAAO;AAAA,MACd,SAAS;AAAA,QACP,aAAa;AAAA,UACX,SAAS,CAAC,OAAO;AAAA,UACjB,KAAK;AAAA,YACH,SAAS;AAAA,YACT,KAAK;AAAA,UACP;AAAA,UACA,eAAe,mBAAAA,QAAkB,gBAAgB;AAAA,UACjD,OAAO,mBAAAA,QAAkB;AAAA,QAC3B;AAAA,QACA,YAAY;AAAA,UACV,SAAS,CAAC,OAAO;AAAA,UACjB,KAAK;AAAA,YACH,SAAS;AAAA,YACT,KAAK;AAAA,UACP;AAAA,UACA,eAAe;AAAA,YACb,YAAY;AAAA,UACd;AAAA,UACA,OAAO,kBAAAC,QAAiB;AAAA,QAC1B;AAAA,QACA,oBAAoB,mBAAAD;AAAA,QACpB,mBAAmB,kBAAAC;AAAA,MACrB;AAAA,IACF;AAGA,qBAAS;AAAA;AAAA;","names":["recommendedConfig","typescriptConfig"]}