Skip to content

Commit b535438

Browse files
committed
chore(ci):lint and prettier configuration
1 parent 058a902 commit b535438

4 files changed

Lines changed: 36 additions & 2 deletions

File tree

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.yarn
2+
.next
3+
dist
4+
node_modules

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": true
6+
}

package-lock.json

Lines changed: 22 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: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,22 @@
77
"build": "next build",
88
"start": "next start",
99
"lint": "next lint",
10-
"test": "playwright test"
10+
"test": "playwright test",
11+
"prettier": "prettier --write ."
1112
},
1213
"dependencies": {
1314
"next": "12.1.6",
1415
"react": "18.1.0",
1516
"react-dom": "18.1.0"
1617
},
1718
"devDependencies": {
18-
"@tailwindcss/aspect-ratio": "^0.4.0",
1919
"@playwright/test": "1.22.2",
20+
"@tailwindcss/aspect-ratio": "^0.4.0",
2021
"autoprefixer": "10.4.7",
2122
"eslint": "8.17.0",
2223
"eslint-config-next": "12.1.6",
2324
"postcss": "8.4.14",
25+
"prettier": "^2.7.1",
2426
"tailwindcss": "3.1.2"
2527
}
2628
}

0 commit comments

Comments
 (0)