{"version":3,"file":"import-DV003S_r.cjs","names":["defineConfig","importPlugin","nodePlugin","simpleImportSort"],"sources":["../src/shared/import.ts"],"sourcesContent":["import { defineConfig } from 'eslint/config';\nimport { importX as importPlugin } from 'eslint-plugin-import-x';\nimport nodePlugin from 'eslint-plugin-n';\nimport simpleImportSort from 'eslint-plugin-simple-import-sort';\n\nexport const importCustom = defineConfig({\n  name: 'import/custom',\n  plugins: {\n    'import-x': importPlugin,\n    n: nodePlugin,\n  },\n  rules: {\n    'n/prefer-node-protocol': 'error',\n    'import-x/first': 'error',\n    'import-x/newline-after-import': 'error',\n  },\n});\n\nexport const simpleImportSortCustom = defineConfig({\n  name: 'simple-import-sort/custom',\n  plugins: {\n    'simple-import-sort': simpleImportSort,\n  },\n  rules: {\n    'simple-import-sort/imports': 'error',\n    'simple-import-sort/exports': 'error',\n  },\n});\n\nexport default defineConfig(\n  importPlugin.flatConfigs.recommended,\n  {\n    name: 'import/settings',\n    settings: {\n      'import-x/resolver': {\n        typescript: true,\n        node: true,\n      },\n    },\n  },\n  importCustom,\n  simpleImportSortCustom,\n);\n"],"mappings":";;;;;;;;AAKA,MAAa,gBAAA,GAAeA,cAAAA,aAAAA,CAAa;CACvC,MAAM;CACN,SAAS;EACP,YAAYC,uBAAAA;EACZ,GAAGC,gBAAAA;CACL;CACA,OAAO;EACL,0BAA0B;EAC1B,kBAAkB;EAClB,iCAAiC;CACnC;AACF,CAAC;AAED,MAAa,0BAAA,GAAyBF,cAAAA,aAAAA,CAAa;CACjD,MAAM;CACN,SAAS,EACP,sBAAsBG,iCAAAA,QACxB;CACA,OAAO;EACL,8BAA8B;EAC9B,8BAA8B;CAChC;AACF,CAAC;AAED,IAAA,kBAAA,GAAeH,cAAAA,aAAAA,CACbC,uBAAAA,QAAa,YAAY,aACzB;CACE,MAAM;CACN,UAAU,EACR,qBAAqB;EACnB,YAAY;EACZ,MAAM;CACR,EACF;AACF,GACA,cACA,sBACF"}