Skip to content

Commit 35da303

Browse files
committed
fix ci run (tsconfig & lint)
1 parent f936f87 commit 35da303

File tree

5 files changed

+22
-16
lines changed

5 files changed

+22
-16
lines changed

docs/.eslintrc.cjs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ module.exports = {
55
'dist',
66
'node_modules',
77
'.output',
8-
'.nuxt'
8+
'.nuxt',
99
],
1010
rules: {
1111
'vue/max-attributes-per-line': 'off',
12-
'vue/multi-word-component-names': 'off'
13-
}
14-
}
12+
'vue/multi-word-component-names': 'off',
13+
'@typescript-eslint/no-explicit-any': 'off',
14+
'@typescript-eslint/no-non-null-asserted-optional-chain': 'off',
15+
'no-unsafe-optional-chaining': 'off',
16+
},
17+
}

docs/app.config.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,30 @@ export default defineAppConfig({
99
nuxt: {
1010
label: 'Nuxt',
1111
icon: 'simple-icons:nuxtdotjs',
12-
href: 'https://nuxt.com'
13-
}
12+
href: 'https://nuxt.com',
13+
},
1414
},
1515
github: {
1616
dir: '.starters/default/content',
1717
branch: 'main',
1818
repo: 'docus',
1919
owner: 'nuxt-themes',
20-
edit: true
20+
edit: true,
2121
},
2222
aside: {
2323
level: 0,
2424
collapsed: false,
25-
exclude: []
25+
exclude: [],
2626
},
2727
main: {
2828
padded: true,
29-
fluid: true
29+
fluid: true,
3030
},
3131
header: {
3232
logo: false,
3333
showLinkIcon: true,
3434
exclude: [],
35-
fluid: true
36-
}
37-
}
35+
fluid: true,
36+
},
37+
},
3838
})

docs/nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
export default defineNuxtConfig({
22
// https://github.com/nuxt-themes/docus
33
extends: ['@nuxt-themes/docus'],
4-
devtools: { enabled: true },
54

65
modules: [],
6+
devtools: { enabled: true },
77
compatibilityDate: '2024-10-24',
88

99
nitro: {

src/runtime/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ function mountGSAPDirective(el, binding) {
8787
}
8888

8989
if (binding.modifiers.markers && binding.modifiers.parallax)
90-
timelineOptions.scrollTrigger.markers = true
90+
timelineOptions.scrollTrigger!.markers = true
9191
if (!once && binding.modifiers.parallax)
92-
timelineOptions.scrollTrigger.toggleActions = 'restart none none reverse'
92+
timelineOptions.scrollTrigger!.toggleActions = 'restart none none reverse'
9393

9494
// .infinitely.
9595
if (binding.modifiers.infinitely) timelineOptions.repeat = -1

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
"dist",
55
"node_modules",
66
"playground",
7-
]
7+
],
8+
"compilerOptions": {
9+
"noImplicitAny": false
10+
}
811
}

0 commit comments

Comments
 (0)