Something went wrong. Try again.
exposição de coleção de camisas
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162import { FlatCompat } from "@eslint/eslintrc";import tseslint from "typescript-eslint";// @ts-ignore -- no types for this pluginimport drizzle from "eslint-plugin-drizzle";
const compat = new FlatCompat({ baseDirectory: import.meta.dirname,});
export default tseslint.config( { ignores: [".next"], }, ...compat.extends("next/core-web-vitals"), { files: ["**/*.ts", "**/*.tsx"], plugins: { drizzle, }, extends: [ ...tseslint.configs.recommended, ...tseslint.configs.recommendedTypeChecked, ...tseslint.configs.stylisticTypeChecked, ], rules: { "@typescript-eslint/array-type": "off", "@typescript-eslint/consistent-type-definitions": "off", "@typescript-eslint/consistent-type-imports": [ "warn", { prefer: "type-imports", fixStyle: "inline-type-imports" }, ], "@typescript-eslint/no-unused-vars": [ "warn", { argsIgnorePattern: "^_" }, ], "@typescript-eslint/require-await": "off", "@typescript-eslint/no-misused-promises": [ "error", { checksVoidReturn: { attributes: false } }, ], "drizzle/enforce-delete-with-where": [ "error", { drizzleObjectName: ["db", "ctx.db"] }, ], "drizzle/enforce-update-with-where": [ "error", { drizzleObjectName: ["db", "ctx.db"] }, ], }, }, { linterOptions: { reportUnusedDisableDirectives: true, }, languageOptions: { parserOptions: { projectService: true, }, }, },);