Skip to content

Commit 041cea7

Browse files
committed
Typescript eslint
1 parent 7719049 commit 041cea7

File tree

3 files changed

+139
-5
lines changed

3 files changed

+139
-5
lines changed

.eslintrc.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"extends": ["next/core-web-vitals", "eslint:recommended"],
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": ["@typescript-eslint"],
35
"rules": {
46
"@next/next/no-img-element": "off",
57
"no-useless-escape": "off",

package-lock.json

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

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,14 @@
4646
"@types/react-instantsearch-dom": "^6.12.3",
4747
"@types/styled-components": "^5.1.26",
4848
"@types/uuid": "^9.0.1",
49+
"@typescript-eslint/eslint-plugin": "^5.53.0",
50+
"@typescript-eslint/parser": "^5.53.0",
4951
"babel-plugin-styled-components": "^2.0.7",
50-
"eslint": "8.34.0",
52+
"eslint": "^8.34.0",
5153
"eslint-config-next": "^13.2.0",
5254
"postcss-preset-env": "^8.0.1",
5355
"prettier": "^2.8.4",
54-
"tailwindcss": "^3.2.7"
56+
"tailwindcss": "^3.2.7",
57+
"typescript": "^4.9.5"
5558
}
5659
}

0 commit comments

Comments
 (0)