Skip to content

Commit 42e1eeb

Browse files
committed
eslint works
1 parent 55a2467 commit 42e1eeb

File tree

4 files changed

+62
-70
lines changed

4 files changed

+62
-70
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
root: true,
33
overrides: [
44
{
5-
files: ["website/**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}"],
5+
files: ["**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}"],
66
extends: ["plugin:tailwindcss/recommended"],
77
parser: "@typescript-eslint/parser",
88
parserOptions: {
@@ -14,11 +14,6 @@ module.exports = {
1414
},
1515
settings: {
1616
tailwindcss: {
17-
config: "website/tailwind.config.ts",
18-
cssFiles: [
19-
"website/node_modules/nextra-theme-docs/dist/style.css",
20-
"website/src/globals.css",
21-
],
2217
whitelist: ["roboto-mono"],
2318
},
2419
},

next.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ const ALLOWED_SVG_REGEX = new RegExp(`${sep}icons${sep}.+\\.svg$`)
2121
*/
2222
export default withLess(
2323
withNextra({
24-
eslint: {
25-
ignoreDuringBuilds: true,
26-
},
2724
// reactStrictMode: true, provoke duplicated codemirror editors
2825
webpack(config) {
2926
const fileLoaderRule = config.module.rules.find(rule =>

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@
5656
"@tailwindcss/typography": "^0.5.10",
5757
"postcss": "^8.4.33",
5858
"@svgr/webpack": "^8.0.1",
59-
"@types/node": "^20.11.16",
60-
"@types/react": "^18.2.53",
59+
"@types/node": "^20.11.30",
60+
"@types/react": "^18.2.73",
6161
"autoprefixer": "^10.4.17",
6262
"tsx": "^4.7.0",
6363
"react-medium-image-zoom": "5.1.8",
6464
"date-fns": "^2.30.0"
6565
},
6666
"devDependencies": {
6767
"@types/codemirror": "5.60.7",
68-
"@types/string-similarity": "^4.0.0",
69-
"@typescript-eslint/parser": "5.59.7",
70-
"eslint": "8.42.0",
71-
"eslint-plugin-tailwindcss": "3.14.0",
68+
"@types/string-similarity": "^4.0.2",
69+
"@typescript-eslint/parser": "7.4.0",
70+
"eslint": "8.57.0",
71+
"eslint-plugin-tailwindcss": "3.15.1",
7272
"prettier": "3.2.4",
7373
"typescript": "^5.3.3"
7474
}

pnpm-lock.yaml

Lines changed: 55 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)