Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "chore(deps): update dependency eslint to v9" #445

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
extends: ["prettier"],
plugins: ["chakra-ui"],
parser: "@typescript-eslint/parser",
parserOptions: {
project: true,
tsconfigRootDir: __dirname,
},
rules: {
"sort-imports": "error",
"chakra-ui/props-order": "error",
"chakra-ui/props-shorthand": "error",
"chakra-ui/require-specific-component": "error",
},
ignorePatterns: [".eslintrc.js"],
};
Binary file modified bun.lockb
Binary file not shown.
29 changes: 0 additions & 29 deletions eslint.config.mjs

This file was deleted.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,16 @@
"yaml": "^2.3.4"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@types/markdown-it": "^14.0.0",
"@types/node": "^22.0.0",
"@types/react": "^18.2.21",
"@types/react-test-renderer": "^18.0.7",
"@typescript-eslint/parser": "^8.0.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "8.57.0",
"eslint-config-next": "14.2.7",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-chakra-ui": "^0.11.0",
"eslint-plugin-react": "^7.35.0",
"globals": "^15.9.0",
"husky": "^9.0.11",
"jsdom": "^25.0.0",
"lint-staged": "^15.0.0",
Expand All @@ -73,7 +70,6 @@
"stylelint-config-sass-guidelines": "^12.0.0",
"ts-node": "^10.9.2",
"typescript": "5.5.4",
"typescript-eslint": "^8.3.0",
"vitest": "^2.0.0"
},
"packageManager": "[email protected]"
Expand Down
1 change: 0 additions & 1 deletion src/components/date.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { expect, it } from "vitest";
import { DateString } from "./date";
import React from "react";
import { render } from "../../utils/react-test";

it("renders correctly", () => {
Expand Down
1 change: 0 additions & 1 deletion src/components/footer.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { expect, it } from "vitest";
import { Footer } from "./footer";
import React from "react";
import { render } from "../../utils/react-test";

it("renders correctly", () => {
Expand Down
1 change: 0 additions & 1 deletion src/components/header.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { expect, it } from "vitest";
import { Header } from "./header";
import React from "react";
import { render } from "../../utils/react-test";

it("renders correctly", () => {
Expand Down
1 change: 0 additions & 1 deletion src/components/navigation.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { expect, it } from "vitest";
import { Navigation } from "./navigation";
import React from "react";
import { render } from "../../utils/react-test";

it("renders correctly", () => {
Expand Down
1 change: 0 additions & 1 deletion src/components/prev-next-link.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { expect, it } from "vitest";
import { PrevNextLink } from "./prev-next-link";
import React from "react";
import { render } from "../../utils/react-test";

it("renders both prev and next correctly", () => {
Expand Down
1 change: 0 additions & 1 deletion src/components/questions.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { expect, it } from "vitest";
import { Questions } from "./questions";
import React from "react";
import { render } from "../../utils/react-test";

it("renders correctly", () => {
Expand Down
1 change: 0 additions & 1 deletion src/components/sns-link.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { expect, it } from "vitest";
import React from "react";
import { SNSLink } from "./sns-link";
import { render } from "../../utils/react-test";

Expand Down
1 change: 0 additions & 1 deletion src/components/title.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Subtitle, Title } from "./title";
import { expect, it } from "vitest";
import React from "react";
import { render } from "../../utils/react-test";

it("renders title correctly", () => {
Expand Down
Loading