[PR #8] [MERGED] feat: Add Prettier for code formatting #7

Closed
opened 2025-12-29 18:27:43 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/linsa-io/linsa/pull/8
Author: @sleepyfran
Created: 8/17/2019
Status: Merged
Merged: 8/17/2019
Merged by: @jletey

Base: feature/frontendHead: feature/linter


📝 Commits (1)

  • b9406c6 Added Prettier for code formatting

📊 Changes

11 files changed (+448 additions, -430 deletions)

View changed files

📝 components/Button.tsx (+24 -24)
📝 components/Footer.tsx (+94 -98)
📝 components/Header.tsx (+73 -77)
📝 components/SearchInput.tsx (+74 -68)
📝 package.json (+4 -1)
📝 pages/_app.tsx (+44 -40)
📝 pages/_document.tsx (+25 -19)
📝 pages/guide/new/index.tsx (+21 -19)
📝 pages/index.tsx (+43 -43)
📝 src/theme.tsx (+41 -41)
📝 yarn.lock (+5 -0)

📄 Description

Summary

Added Prettier with the default set of rules for code formatting.

Changes

  • Added Prettier as a dev dependency.
  • Added a couple of scripts (lint and lint:fix) to check and fix all the files in the project.
  • Fixed the current code to the new formatting.

Notes for reviewers

N/A.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/linsa-io/linsa/pull/8 **Author:** [@sleepyfran](https://github.com/sleepyfran) **Created:** 8/17/2019 **Status:** ✅ Merged **Merged:** 8/17/2019 **Merged by:** [@jletey](https://github.com/jletey) **Base:** `feature/frontend` ← **Head:** `feature/linter` --- ### 📝 Commits (1) - [`b9406c6`](https://github.com/linsa-io/linsa/commit/b9406c6141eee818486a2303cc5242b74ead11bf) Added Prettier for code formatting ### 📊 Changes **11 files changed** (+448 additions, -430 deletions) <details> <summary>View changed files</summary> 📝 `components/Button.tsx` (+24 -24) 📝 `components/Footer.tsx` (+94 -98) 📝 `components/Header.tsx` (+73 -77) 📝 `components/SearchInput.tsx` (+74 -68) 📝 `package.json` (+4 -1) 📝 `pages/_app.tsx` (+44 -40) 📝 `pages/_document.tsx` (+25 -19) 📝 `pages/guide/new/index.tsx` (+21 -19) 📝 `pages/index.tsx` (+43 -43) 📝 `src/theme.tsx` (+41 -41) 📝 `yarn.lock` (+5 -0) </details> ### 📄 Description ### Summary Added Prettier with the default set of rules for code formatting. ### Changes - Added Prettier as a dev dependency. - Added a couple of scripts (lint and lint:fix) to check and fix all the files in the project. - Fixed the current code to the new formatting. ### Notes for reviewers N/A. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 18:27:43 +01:00
adam closed this issue 2025-12-29 18:27:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/linsa#7