Skip to content

Commit

Permalink
Merge pull request #11 from alex-grover/main
Browse files Browse the repository at this point in the history
Add prettier
  • Loading branch information
MrKevinOConnell authored Jun 25, 2024
2 parents a340aa5 + 4515133 commit cd4adb2
Show file tree
Hide file tree
Showing 36 changed files with 1,639 additions and 865 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "next/core-web-vitals"
"extends": ["next/core-web-vitals", "prettier"]
}
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ci

on:
push:
branches: ['main']
pull_request:
types: [opened, synchronize]

jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm install
env:
HUSKY: 0
- run: npm run lint
- run: npm run prettier
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

# ide files
.idea/
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.next
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"trailingComma": "es5"
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ This is a simple website to track event propagation across Farcaster. In some ca
## Contributing

You can contribute in many ways:

- reporting a bug in [Issues](https://github.com/neynarxyz/explorer/issues)
- submitting a [pull request](https://github.com/neynarxyz/explorer/pulls)
2 changes: 1 addition & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
"components": "@/components",
"utils": "@/lib/utils"
}
}
}
Loading

0 comments on commit cd4adb2

Please sign in to comment.