pocketbase-typegen
Version:
Generate pocketbase record types from your database
23 lines (21 loc) • 519 B
JavaScript
import tseslint from "typescript-eslint"
import prettier from "eslint-config-prettier"
export default tseslint.config(
...tseslint.configs.recommended,
prettier,
{
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"sort-keys": ["warn", "asc", { allowLineSeparatedGroups: true }],
},
},
{
ignores: [
"dist/**",
"pocketbase-types.ts",
"test/pocketbase-types-example.ts",
"test/integration/**",
],
},
)