Skip to content

Commit 53c8b4a

Browse files
committed
chore: add lint script and fix warning
1 parent 3374b9a commit 53c8b4a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"test:watch": "jest --watch",
1313
"test:update-snapshot": "jest --updateSnapshot",
1414
"prepare": "husky install",
15-
"lint:css": "stylelint ./src/**/*.ts"
15+
"lint:css": "stylelint ./src/**/*.ts",
16+
"lint": "eslint ."
1617
},
1718
"keywords": [],
1819
"author": "",

src/tests/components/App.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
2-
import { render } from "@testing-library/react";
32
import { App } from "@/components/App";
3+
import { render } from "@testing-library/react";
44

55
test("should render App correctly", () => {
66
const { container } = render(<App />);

0 commit comments

Comments
 (0)