Skip to content

Commit a372c97

Browse files
authored
revert: Revert "chore(deps): update dependency eslint to v9 (#415)" (#445)
This reverts commit 89c5d49.
1 parent 2a6e660 commit a372c97

13 files changed

Lines changed: 4229 additions & 44 deletions

.eslintrc.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module.exports = {
2+
extends: ["prettier"],
3+
plugins: ["chakra-ui"],
4+
parser: "@typescript-eslint/parser",
5+
parserOptions: {
6+
project: true,
7+
tsconfigRootDir: __dirname,
8+
},
9+
rules: {
10+
"sort-imports": "error",
11+
"chakra-ui/props-order": "error",
12+
"chakra-ui/props-shorthand": "error",
13+
"chakra-ui/require-specific-component": "error",
14+
},
15+
ignorePatterns: [".eslintrc.js"],
16+
};

bun.lock

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

bun.lockb

-834 KB
Binary file not shown.

eslint.config.mjs

Lines changed: 0 additions & 29 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,16 @@
4545
"yaml": "^2.3.4"
4646
},
4747
"devDependencies": {
48-
"@eslint/js": "^9.9.1",
4948
"@types/markdown-it": "^14.0.0",
5049
"@types/node": "^24.0.0",
5150
"@types/react": "^18.2.21",
5251
"@types/react-test-renderer": "^18.0.7",
5352
"@typescript-eslint/parser": "^8.0.0",
5453
"@vitejs/plugin-react": "^4.2.1",
55-
"eslint-config-next": "14.2.32",
56-
"eslint": "^9.9.1",
57-
"eslint-config-prettier": "^10.0.0",
58-
"eslint-plugin-chakra-ui": "^0.12.0",
59-
"eslint-plugin-react": "^7.35.0",
60-
"globals": "^15.9.0",
54+
"eslint": "8.57.0",
55+
"eslint-config-next": "14.2.7",
56+
"eslint-config-prettier": "^9.1.0",
57+
"eslint-plugin-chakra-ui": "^0.11.0",
6158
"husky": "^9.0.11",
6259
"jsdom": "^25.0.0",
6360
"lint-staged": "^15.0.0",

src/components/date.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { expect, it } from "vitest";
22
import { DateString } from "./date";
3-
import React from "react";
43
import { render } from "../../utils/react-test";
54

65
it("renders correctly", () => {

src/components/footer.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { expect, it } from "vitest";
22
import { Footer } from "./footer";
3-
import React from "react";
43
import { render } from "../../utils/react-test";
54

65
it("renders correctly", () => {

src/components/header.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { expect, it } from "vitest";
22
import { Header } from "./header";
3-
import React from "react";
43
import { render } from "../../utils/react-test";
54

65
it("renders correctly", () => {

src/components/navigation.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { expect, it } from "vitest";
22
import { Navigation } from "./navigation";
3-
import React from "react";
43
import { render } from "../../utils/react-test";
54

65
it("renders correctly", () => {

src/components/prev-next-link.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { expect, it } from "vitest";
22
import { PrevNextLink } from "./prev-next-link";
3-
import React from "react";
43
import { render } from "../../utils/react-test";
54

65
it("renders both prev and next correctly", () => {

0 commit comments

Comments
 (0)