Skip to content

Commit

Permalink
Fix linting and formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
krish858 committed Aug 23, 2024
1 parent 0fd3a68 commit 3a691ff
Show file tree
Hide file tree
Showing 12 changed files with 12,729 additions and 6,302 deletions.
6 changes: 2 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"plugins": [
"prettier-plugin-tailwindcss"
]
}
"plugins": ["prettier-plugin-tailwindcss"]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

## Table of contents


1. Clone the repository:
```bash
git clone https://github.com/code100x/cms.git
Expand Down Expand Up @@ -93,4 +92,5 @@ Read our [contribution guidelines](./CONTRIBUTING.md) for more details.
</a>

## Issues on mac Silicon

brew install pkg-config cairo pango libpng jpeg giflib librsvg
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ services:
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: [ 'CMD-SHELL', 'pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}' ]
test: ['CMD-SHELL', 'pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}']
interval: 10s
timeout: 5s
retries: 5

volumes:
postgres-data:
postgres-data:
10 changes: 7 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@ const nextConfig = {
reactStrictMode: true,
experimental: {
serverActions: {
allowedOrigins: ['localhost:3000', 'app.100xdevs.com', 'app2.100xdevs.com']
}
allowedOrigins: [
'localhost:3000',
'app.100xdevs.com',
'app2.100xdevs.com',
],
},
},
swcMinify: true,
webpack: (config) => {
// Enable polling based on env variable being set
if (process.env.NEXT_WEBPACK_USEPOLLING) {
config.watchOptions = {
poll: 500,
aggregateTimeout: 300
aggregateTimeout: 300,
};
}
return config;
Expand Down
1,294 changes: 1,222 additions & 72 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,14 @@
"@vitejs/plugin-react": "^4.3.0",
"@vitest/coverage-v8": "^1.6.0",
"autoprefixer": "^10.0.1",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-storybook": "^0.8.0",
"husky": "^9.0.7",
"jsdom": "^24.0.0",
"postcss": "^8",
"prettier": "^3.2.4",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.1",
"prisma": "^5.17.0",
"tailwindcss": "^3.3.0",
Expand Down
Loading

0 comments on commit 3a691ff

Please sign in to comment.