Skip to content

Commit 7473a14

Browse files
author
Graham Still
committed
Linter fixes
1 parent 76d0105 commit 7473a14

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

package-lock.json

+38-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
},
3636
"engines": {
3737
"node": ">=12.13.0"
38+
},
39+
"dependencies": {
40+
"prism-react-renderer": "^2.4.1"
3841
}
3942
}

website/docusaurus.config.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
// @ts-check
22
/* eslint import/no-extraneous-dependencies: 0 */
33

4+
// TODO: Figure out why the linter is unhappy with these imports
5+
// eslint-disable-next-line import/no-unresolved
46
const { themes } = require('prism-react-renderer');
7+
// eslint-disable-next-line import/no-unresolved
8+
const tailwindcss = require('@tailwindcss/postcss');
9+
510
const lightCodeTheme = themes.github;
611
const darkCodeTheme = themes.dracula;
7-
const tailwindcss = require('@tailwindcss/postcss');
812

913
/** @type {import('@docusaurus/types').Config} */
1014
const config = {

0 commit comments

Comments
 (0)