diff --git a/cms/components/GitHubReleaseInput.tsx b/cms/components/GitHubReleaseInput.tsx
index b0d67678..ebce2514 100644
--- a/cms/components/GitHubReleaseInput.tsx
+++ b/cms/components/GitHubReleaseInput.tsx
@@ -150,7 +150,7 @@ export function GitHubReleaseInput (props: GitHubReleaseInputProps) {
? (
- GitHub token not configured. Click "Settings" to add your token.
+ GitHub token not configured. Click "Settings" to add your token.
)
diff --git a/cms/components/VideoGenerator.tsx b/cms/components/VideoGenerator.tsx
index 56591488..e68f0af4 100644
--- a/cms/components/VideoGenerator.tsx
+++ b/cms/components/VideoGenerator.tsx
@@ -498,9 +498,9 @@ export function VideoContentGenerator (props: VideoGeneratorProps) {
Selected Track:
- "
+ "
{selectedAudioTrack.name}
- " by
+ " by
{' '}
{selectedAudioTrack.artist}
{selectedAudioTrack.tags.length > 0 && (
diff --git a/cms/package.json b/cms/package.json
index bbafd9ae..ec0e0521 100644
--- a/cms/package.json
+++ b/cms/package.json
@@ -24,7 +24,6 @@
"styled-components": "^6.1.18"
},
"devDependencies": {
- "@sanity/eslint-config-studio": "5.0.2",
"@types/react": "18.3.23",
"typescript": "5.8.3"
}
diff --git a/eslint.config.mjs b/eslint.config.mjs
index 44756892..5fa07c90 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -1,4 +1,6 @@
+import { join } from 'pathe'
import withNuxt from './.nuxt/eslint.config.mjs'
+import studio from '@sanity/eslint-config-studio'
export default withNuxt([
{
@@ -15,4 +17,10 @@ export default withNuxt([
'no-undef': 'off',
},
},
-])
+]).append(
+ // @ts-expect-error no types
+ ...studio.map(config => ({
+ ...config,
+ files: config.files?.map(file => join('cms', file)) ?? ['cms/**/*'],
+ })),
+)
diff --git a/package.json b/package.json
index 5310d633..e3564ccb 100644
--- a/package.json
+++ b/package.json
@@ -85,6 +85,7 @@
"@commitlint/config-conventional": "19.8.1",
"@nuxt/test-utils": "3.19.2",
"@playwright/test": "1.54.1",
+ "@sanity/eslint-config-studio": "5.0.2",
"@vue/test-utils": "2.4.6",
"eslint": "9.32.0",
"googleapis": "154.0.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 60d1b896..88e77663 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -194,6 +194,9 @@ importers:
'@playwright/test':
specifier: 1.54.1
version: 1.54.1
+ '@sanity/eslint-config-studio':
+ specifier: 5.0.2
+ version: 5.0.2(eslint@9.32.0(jiti@2.4.2))(typescript@5.8.3)
'@vue/test-utils':
specifier: 2.4.6
version: 2.4.6
@@ -276,9 +279,6 @@ importers:
specifier: ^6.1.18
version: 6.1.19(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
devDependencies:
- '@sanity/eslint-config-studio':
- specifier: 5.0.2
- version: 5.0.2(eslint@9.32.0(jiti@2.4.2))(typescript@5.8.3)
'@types/react':
specifier: 18.3.23
version: 18.3.23
@@ -4071,12 +4071,6 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.9.0'
- '@typescript-eslint/project-service@8.37.0':
- resolution: {integrity: sha512-BIUXYsbkl5A1aJDdYJCBAo8rCEbAvdquQ8AnLb6z5Lp1u3x5PNgSSx9A/zqYc++Xnr/0DVpls8iQ2cJs/izTXA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- peerDependencies:
- typescript: '>=4.8.4 <5.9.0'
-
'@typescript-eslint/project-service@8.38.0':
resolution: {integrity: sha512-dbK7Jvqcb8c9QfH01YB6pORpqX1mn5gDZc9n63Ak/+jD67oWXn3Gs0M6vddAN+eDXBCS5EmNWzbSxsn9SzFWWg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -4091,12 +4085,6 @@ packages:
resolution: {integrity: sha512-WJw3AVlFFcdT9Ri1xs/lg8LwDqgekWXWhH3iAF+1ZM+QPd7oxQ6jvtW/JPwzAScxitILUIFs0/AnQ/UWHzbATQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/tsconfig-utils@8.37.0':
- resolution: {integrity: sha512-1/YHvAVTimMM9mmlPvTec9NP4bobA1RkDbMydxG8omqwJJLEW/Iy2C4adsAESIXU3WGLXFHSZUU+C9EoFWl4Zg==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- peerDependencies:
- typescript: '>=4.8.4 <5.9.0'
-
'@typescript-eslint/tsconfig-utils@8.38.0':
resolution: {integrity: sha512-Lum9RtSE3EroKk/bYns+sPOodqb2Fv50XOl/gMviMKNvanETUuUcC9ObRbzrJ4VSd2JalPqgSAavwrPiPvnAiQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -4135,12 +4123,6 @@ packages:
peerDependencies:
typescript: '>=4.8.4 <5.9.0'
- '@typescript-eslint/typescript-estree@8.37.0':
- resolution: {integrity: sha512-zuWDMDuzMRbQOM+bHyU4/slw27bAUEcKSKKs3hcv2aNnc/tvE/h7w60dwVw8vnal2Pub6RT1T7BI8tFZ1fE+yg==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- peerDependencies:
- typescript: '>=4.8.4 <5.9.0'
-
'@typescript-eslint/typescript-estree@8.38.0':
resolution: {integrity: sha512-fooELKcAKzxux6fA6pxOflpNS0jc+nOQEEOipXFNjSlBS6fqrJOVY/whSn70SScHrcJ2LDsxWrneFoWYSVfqhQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -4165,10 +4147,6 @@ packages:
resolution: {integrity: sha512-ar0tjQfObzhSaW3C3QNmTc5ofj0hDoNQ5XWrCy6zDyabdr0TWhCkClp+rywGNj/odAFBVzzJrK4tEq5M4Hmu4w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/visitor-keys@8.37.0':
- resolution: {integrity: sha512-YzfhzcTnZVPiLfP/oeKtDp2evwvHLMe0LOy7oe+hb9KKIumLNohYS9Hgp1ifwpu42YWxhZE8yieggz6JpqO/1w==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
'@typescript-eslint/visitor-keys@8.38.0':
resolution: {integrity: sha512-pWrTcoFNWuwHlA9CvlfSsGWs14JxfN1TH25zM5L7o0pRLhsoZkDnTsXfQRJBEWJoV5DL0jf+Z+sxiud+K0mq1g==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -16450,15 +16428,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/project-service@8.37.0(typescript@5.8.3)':
- dependencies:
- '@typescript-eslint/tsconfig-utils': 8.37.0(typescript@5.8.3)
- '@typescript-eslint/types': 8.37.0
- debug: 4.4.1(supports-color@8.1.1)
- typescript: 5.8.3
- transitivePeerDependencies:
- - supports-color
-
'@typescript-eslint/project-service@8.38.0(typescript@5.8.3)':
dependencies:
'@typescript-eslint/tsconfig-utils': 8.38.0(typescript@5.8.3)
@@ -16478,10 +16447,6 @@ snapshots:
'@typescript-eslint/types': 8.38.0
'@typescript-eslint/visitor-keys': 8.38.0
- '@typescript-eslint/tsconfig-utils@8.37.0(typescript@5.8.3)':
- dependencies:
- typescript: 5.8.3
-
'@typescript-eslint/tsconfig-utils@8.38.0(typescript@5.8.3)':
dependencies:
typescript: 5.8.3
@@ -16529,22 +16494,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/typescript-estree@8.37.0(typescript@5.8.3)':
- dependencies:
- '@typescript-eslint/project-service': 8.37.0(typescript@5.8.3)
- '@typescript-eslint/tsconfig-utils': 8.37.0(typescript@5.8.3)
- '@typescript-eslint/types': 8.37.0
- '@typescript-eslint/visitor-keys': 8.37.0
- debug: 4.4.1(supports-color@8.1.1)
- fast-glob: 3.3.3
- is-glob: 4.0.3
- minimatch: 9.0.5
- semver: 7.7.2
- ts-api-utils: 2.1.0(typescript@5.8.3)
- typescript: 5.8.3
- transitivePeerDependencies:
- - supports-color
-
'@typescript-eslint/typescript-estree@8.38.0(typescript@5.8.3)':
dependencies:
'@typescript-eslint/project-service': 8.38.0(typescript@5.8.3)
@@ -16588,11 +16537,6 @@ snapshots:
'@typescript-eslint/types': 8.32.1
eslint-visitor-keys: 4.2.1
- '@typescript-eslint/visitor-keys@8.37.0':
- dependencies:
- '@typescript-eslint/types': 8.37.0
- eslint-visitor-keys: 4.2.1
-
'@typescript-eslint/visitor-keys@8.38.0':
dependencies:
'@typescript-eslint/types': 8.38.0
@@ -18540,7 +18484,7 @@ snapshots:
detective-typescript@14.0.0(typescript@5.8.3):
dependencies:
- '@typescript-eslint/typescript-estree': 8.37.0(typescript@5.8.3)
+ '@typescript-eslint/typescript-estree': 8.38.0(typescript@5.8.3)
ast-module-types: 6.0.1
node-source-walk: 7.0.1
typescript: 5.8.3