Skip to content

Commit

Permalink
Add: Prettier Code Formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaSingh-02 committed Sep 22, 2023
1 parent 03371cb commit 0d05843
Show file tree
Hide file tree
Showing 42 changed files with 547 additions and 186 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ignore artifacts:
build
coverage
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"semi": true,
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "lf",
"jsxSingleQuote": true,
"printWidth": 140,
"quoteProps": "consistent",
"singleQuote": true,
"trailingComma": "all",
"useTabs": true
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ You can start editing the page by modifying `app/page.tsx`. The page auto-update
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

# Contribute

**Hey Folks I would appreciate if anyone wants to contribute to this repo, and make this application even better**

## Repository Structure
Expand Down
8 changes: 4 additions & 4 deletions contributor.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Contributors Guide


## Getting Started

```bash
```bash
npm install
```

- Copy .sample.env to .env and create your own appwrite account and create a DB and add Project id in NEXT_PUBLIC_APPWRITE_PROJECT_ID
```bash

```bash
cp .sample.env .env
```

```bash
npm run dev
```
```
10 changes: 5 additions & 5 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
const nextConfig = {};

module.exports = {
experimental: {
serverActions: true,
},
}
experimental: {
serverActions: true,
},
};
Loading

0 comments on commit 0d05843

Please sign in to comment.