Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ebe432b
update lockfile due to local npm version
achou11 May 18, 2026
106b6f4
update typescript-eslint
achou11 May 18, 2026
3c0a723
update prettier
achou11 May 18, 2026
0d4919b
update node versions
achou11 May 18, 2026
63608cd
update lint-staged
achou11 May 18, 2026
3afe9fa
update @types/node
achou11 May 18, 2026
b1cdaaa
update tanstack query deps
achou11 May 18, 2026
6f57fc6
update eslint-plugin-react-hooks
achou11 May 18, 2026
cdcce86
update eslint-plugin-testing-library
achou11 May 18, 2026
0ea5d28
update @vitest/eslint-plugin
achou11 May 18, 2026
ec7e30a
update eslint deps
achou11 May 18, 2026
02c4539
update jsdom deps
achou11 May 18, 2026
959be93
update vitest
achou11 May 18, 2026
a475de4
update globals
achou11 May 18, 2026
96dd226
update type-fest
achou11 May 18, 2026
942fa0b
loosen version range of eventsource-client
achou11 May 18, 2026
d0d3438
loosen version range of ensure-error
achou11 May 18, 2026
e0de8a7
update react deps
achou11 May 18, 2026
91d913b
update @mapeo/crypto
achou11 May 18, 2026
4cd2082
update @comapeo/core
achou11 May 18, 2026
efb39a3
update @comapeo/map-server
achou11 May 18, 2026
9bd0c0c
update tsdoc-markdown
achou11 May 18, 2026
9d0f4e7
update tshy
achou11 May 18, 2026
77d68f3
update typescript
achou11 May 18, 2026
e66884b
update useDownloadReceiedMapShare test
achou11 May 18, 2026
e965a78
update actions
achou11 May 18, 2026
0d48f1c
fix query-related eslint errors
achou11 May 18, 2026
03ec2c6
fix deprecation warning in eslint config
achou11 May 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: 'package.json'
- run: npm ci
Expand All @@ -32,7 +32,6 @@ jobs:
fail-fast: false
matrix:
node-version:
- 20.x
- 22.x
- 24.x
permissions:
Expand All @@ -42,7 +41,7 @@ jobs:
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -61,7 +60,7 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: 'package.json'
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lockfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
persist-credentials: false
- name: Create GitHub App Token
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
id: app-token
with:
app-id: ${{ vars.LOCKFILE_BOT_APP_ID }}
Expand Down
17 changes: 15 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import { includeIgnoreFile } from '@eslint/compat'
import js from '@eslint/js'
import pluginQuery from '@tanstack/eslint-plugin-query'
import pluginVitest from '@vitest/eslint-plugin'
import pluginReactHooks from 'eslint-plugin-react-hooks'
import pluginTestingLibrary from 'eslint-plugin-testing-library'
import { defineConfig } from 'eslint/config'
import { defineConfig, includeIgnoreFile } from 'eslint/config'
import globals from 'globals'
import tseslint from 'typescript-eslint'

Expand Down Expand Up @@ -34,6 +33,20 @@ export default defineConfig(
pluginReactHooks.configs.flat.recommended,
],
rules: {
'@tanstack/query/exhaustive-deps': [
'error',
{
allowlist: {
variables: [
'clientApi',
'mapServerApi',
'projectApi',
'projectApi[docType]',
],
types: ['MapeoClientApi', 'MapServerApi', 'MapeoProjectApi'],
},
},
],
'@typescript-eslint/array-type': ['warn', { default: 'generic' }],
// Allow unused vars if prefixed with `_` (https://typescript-eslint.io/rules/no-unused-vars/)
'@typescript-eslint/no-unused-vars': [
Expand Down
Loading
Loading