diff --git a/package-lock.json b/package-lock.json index d151c97..43eec3e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,6 +22,7 @@ "eslint": "^8", "eslint-config-next": "14.1.0", "postcss": "^8", + "prettier": "^3.2.5", "tailwindcss": "^3.3.0", "typescript": "^5" } @@ -3637,6 +3638,21 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "dev": true, + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/prop-types": { "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", diff --git a/package.json b/package.json index 83864f4..531ed54 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "format": "prettier --write ." }, "dependencies": { "next": "14.1.0", @@ -23,6 +24,7 @@ "eslint": "^8", "eslint-config-next": "14.1.0", "postcss": "^8", + "prettier": "^3.2.5", "tailwindcss": "^3.3.0", "typescript": "^5" } diff --git a/postcss.config.js b/postcss.config.js index 12a703d..33ad091 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -3,4 +3,4 @@ module.exports = { tailwindcss: {}, autoprefixer: {}, }, -}; +} diff --git a/src/app/about/about.module.css b/src/app/about/about.module.css index be43136..17ccfdf 100644 --- a/src/app/about/about.module.css +++ b/src/app/about/about.module.css @@ -1,5 +1,5 @@ .content { - margin-top: 40px; - padding: 35px; - border-radius: 15px; + margin-top: 40px; + padding: 35px; + border-radius: 15px; } diff --git a/src/app/help/help.module.css b/src/app/help/help.module.css index be43136..17ccfdf 100644 --- a/src/app/help/help.module.css +++ b/src/app/help/help.module.css @@ -1,5 +1,5 @@ .content { - margin-top: 40px; - padding: 35px; - border-radius: 15px; + margin-top: 40px; + padding: 35px; + border-radius: 15px; }