From 637f91b8fbfd71bfe2f66d095193065f21506782 Mon Sep 17 00:00:00 2001 From: aaronstrachardt Date: Fri, 12 Dec 2025 18:00:33 +0100 Subject: [PATCH 1/2] docs: fix typescript guidelines & add explicit prettier config --- .prettierrc | 6 ++++++ CONTRIBUTING.md | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..044b9fcf --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "trailingComma": "none", + "tabWidth": 2, + "semi": true, + "singleQuote": true +} \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6d98bfd0..45cc02d1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,9 +4,10 @@ To ensure the highest standards of code quality and maintainability, we ask all ### TypeScript Standards -- Follow the [TypeScript coding guidelines](https://github.com/microsoft/TypeScript/wiki/Coding-guidelines) for TypeScript code. -- Use `eslint` and `prettier` for linting and formatting your code. Ensure your code passes all lint checks before submitting a pull request. +### TypeScript Standards +- Follow standard [TypeScript Do's and Don'ts](https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html). +- Use `eslint` and `prettier` for linting and formatting your code. Ensure your code passes all lint checks before submitting a pull request. ### React Best Practices - Keep components small and focused on a single responsibility. From bc175b4c92a4c28506bb1489220a5a50eb17668c Mon Sep 17 00:00:00 2001 From: aaronstrachardt Date: Sat, 13 Dec 2025 11:03:52 +0100 Subject: [PATCH 2/2] docs: remove incorrect link to TS declaration file guide --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 45cc02d1..34803d63 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,8 +6,8 @@ To ensure the highest standards of code quality and maintainability, we ask all ### TypeScript Standards -- Follow standard [TypeScript Do's and Don'ts](https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html). - Use `eslint` and `prettier` for linting and formatting your code. Ensure your code passes all lint checks before submitting a pull request. + ### React Best Practices - Keep components small and focused on a single responsibility.