Skip to content

Commit 22a6668

Browse files
committed
fix lint issues
1 parent fae6c62 commit 22a6668

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

docusaurus.config.cjs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,17 @@ const config = {
2222
presets: [],
2323

2424
themes: [
25-
[
25+
/** @type {any} */ ([
2626
require.resolve('@easyops-cn/docusaurus-search-local'),
27-
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
28-
({
29-
// docs-only mode: routeBasePath is '/'
27+
{
3028
docsRouteBasePath: '/',
3129
indexBlog: false,
3230
indexPages: false,
33-
// hashed filenames for long-term caching of the search index
3431
hashed: 'filename',
3532
highlightSearchTermsOnTargetPage: true,
3633
searchResultContextMaxLength: 60
37-
})
38-
],
34+
}
35+
]),
3936
'@defra/docusaurus-theme-govuk'
4037
],
4138

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
".lintstagedrc.*",
2626
"node_modules/@types/jest/index.d.ts"
2727
],
28-
"exclude": ["coverage", "node_modules", ".public", ".server"]
28+
"exclude": ["build", "coverage", "node_modules", ".public", ".server"]
2929
}

0 commit comments

Comments
 (0)