Skip to content

Commit f8b11f6

Browse files
committed
Add linting
1 parent 9e15e3a commit f8b11f6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"lint": "eslint .",
1111
"preview": "vite preview --host",
1212
"predeploy": "npm run build",
13-
"deploy": "echo 'safwansayeed.live' > dist/CNAME && gh-pages -d dist -r https://x-access-token:${GITHUB_TOKEN}@github.com/sa-fw-an/SafwanSayeed.git"
13+
"deploy": "echo 'safwansayeed.live' > dist/CNAME && gh-pages -d dist -r https://x-access-token:${GITHUB_TOKEN}@github.com/sa-fw-an/SafwanSayeed.git",
14+
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx,json,css,md}'",
15+
"format:file": "prettier --write",
16+
"format:check": "prettier --check 'src/**/*.{js,jsx,ts,tsx,json,css,md}'"
1417
},
1518
"dependencies": {
1619
"@emailjs/browser": "^4.4.1",

0 commit comments

Comments
 (0)