Skip to content

Commit b730c4a

Browse files
fix: implement server side pagination in frontend (#368)
* feat: initial work on server-side pagination * chore: tidy ups * feat: fix failing tests * continue work on pagination integration * finalise integration for server-side pagination * fix nits from review * fix: loading state continues to be shown when switching workspace when page number is > 1 * chore: remove junk console log * tidy ups * tidy up * fix ts-expect-error garbage
1 parent 583279e commit b730c4a

File tree

52 files changed

+2037
-1464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2037
-1464
lines changed

Diff for: eslint.config.js

+13-3
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,18 @@ const restrictedSyntax = {
7272
}
7373

7474
export default tseslint.config(
75-
{ ignores: ['dist'] },
75+
{ ignores: ['dist', 'coverage'] },
7676
{
7777
extends: [
7878
js.configs.recommended,
7979
...tseslint.configs.recommended,
8080
...tailwindPlugin.configs['flat/recommended'],
8181
],
82-
files: ['**/*.{ts,tsx}'],
8382
languageOptions: {
8483
parserOptions: {
85-
projectService: true,
84+
projectService: {
85+
allowDefaultProject: ['*.js', '*.mjs'],
86+
},
8687
tsconfigRootDir: import.meta.dirname,
8788
ecmaFeatures: {
8889
jsx: true,
@@ -109,6 +110,8 @@ export default tseslint.config(
109110
config: './tailwind.config.ts',
110111
},
111112
},
113+
},
114+
{
112115
rules: {
113116
...reactHooks.configs.recommended.rules,
114117
'react-refresh/only-export-components': [
@@ -238,5 +241,12 @@ export default tseslint.config(
238241
},
239242
],
240243
},
244+
},
245+
{
246+
files: ['src/api/generated/**/*'],
247+
rules: {
248+
'@typescript-eslint/no-explicit-any': 'off',
249+
'@typescript-eslint/ban-ts-comment': 'off',
250+
},
241251
}
242252
)

0 commit comments

Comments
 (0)