Skip to content

Commit 9f20a3a

Browse files
committed
chore(ci): add changes based on code review
1 parent b535438 commit 9f20a3a

5 files changed

Lines changed: 29 additions & 3 deletions

File tree

.eslintrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": ["next", "next/core-web-vitals", "prettier", "eslint:recommended"],
3+
"globals": {
4+
"React": "readonly"
5+
},
6+
"rules": {}
7+
}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ yarn-error.log*
3535
yarn.lock
3636

3737
#eslint
38-
.eslintrc.json
3938
/test-results/
4039
/playwright-report/
4140
/playwright/.cache/

package-lock.json

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "next start",
99
"lint": "next lint",
1010
"test": "playwright test",
11-
"prettier": "prettier --write ."
11+
"prettier": "prettier --write --ignore-path .gitignore ."
1212
},
1313
"dependencies": {
1414
"next": "12.1.6",
@@ -21,6 +21,7 @@
2121
"autoprefixer": "10.4.7",
2222
"eslint": "8.17.0",
2323
"eslint-config-next": "12.1.6",
24+
"eslint-config-prettier": "^8.5.0",
2425
"postcss": "8.4.14",
2526
"prettier": "^2.7.1",
2627
"tailwindcss": "3.1.2"

src/pages/index.page.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import Head from 'next/head';
2-
// import Banner from "../components/Banner"; // commented out due to lint error during lint configuration
32
import Image from 'next/image';
43
import logo from '../../public/reactdevske.svg';
54

0 commit comments

Comments
 (0)