Open History to see the last commit
1// @ts-check
2
3import { tanstackConfig } from '@tanstack/eslint-config'
4
5export default [
6 ...tanstackConfig,
7 {
8 rules: {
9 'import/no-cycle': 'off',
10 'import/order': 'off',
11 'sort-imports': 'off',
12 '@typescript-eslint/array-type': 'off',
13 '@typescript-eslint/require-await': 'off',
14 'pnpm/json-enforce-catalog': 'off',
15 '@typescript-eslint/no-explicit-any': 'error',
16 '@typescript-eslint/no-unsafe-assignment': 'error',
17 '@typescript-eslint/no-unsafe-argument': 'error',
18 '@typescript-eslint/no-unsafe-call': 'error',
19 '@typescript-eslint/no-unsafe-member-access': 'error',
20 '@typescript-eslint/no-unsafe-return': 'error',
21 '@typescript-eslint/no-floating-promises': 'error',
22 '@typescript-eslint/no-misused-promises': 'error',
23 '@typescript-eslint/await-thenable': 'error',
24 },
25 },
26 {
27 ignores: [
28 'eslint.config.js',
29 'prettier.config.js',
30 'src/routeTree.gen.ts',
31 // hey-api codegen output (task 7.4) — regenerated, not hand-linted.
32 'packages/client/src/generated/**',
33 // example-app generated artifacts: route trees from the Start dev
34 // server, schema modules pulled by @modelschemas/vite.
35 'examples/*/src/routeTree.gen.ts',
36 'examples/*/src/modelschemas/**',
37 ],
38 },
39]