Skip to content

Commit 2226d5a

Browse files
committed
fix deployment warnings
1 parent 41ed3ce commit 2226d5a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ module.exports = {
5959
rules: {
6060
'@typescript-eslint/explicit-function-return-type': 'off',
6161
'@typescript-eslint/explicit-module-boundary-types': 'off',
62+
'@typescript-eslint/no-var-requires': 'off',
6263
// may need to add more rules
6364
},
6465
},

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/no-var-requires */
21
const remarkMath = require('remark-math');
32
const rehypeKatex = require('rehype-katex');
43
const githubTheme = require('prism-react-renderer/themes/github');
@@ -10,8 +9,9 @@ module.exports = {
109
url: 'https://computerization.io',
1110
baseUrl: '/',
1211
favicon: 'img/favicon/favicon.ico',
13-
organizationName: 'Computerization', // Usually your GitHub org/user name.
14-
projectName: 'computerization.github.io', // Usually your repo name.
12+
organizationName: 'Computerization',
13+
projectName: 'computerization.github.io',
14+
trailingSlash: true,
1515
i18n: {
1616
defaultLocale: 'zh-Hans',
1717
locales: ['zh-Hans', 'en'],

0 commit comments

Comments
 (0)