import typescriptESLint from "typescript-eslint" import configConventions from "eslint-config-conventions" import importX from "eslint-plugin-import-x" export default typescriptESLint.config( { ignores: [ ".next", "**/next.config.js", "**/eslint.config.js", "**/tailwind.config.js", "**/postcss.config.js", "**/vitest.config.ts", "**/kysely.config.ts", ], }, ...configConventions, { name: "config-eslint", plugins: { "import-x": importX, }, rules: { "import-x/extensions": [ "error", "ignorePackages", { ts: "always", tsx: "always", js: "never", jsx: "never", }, ], }, }, )