Skip to content

Commit

Permalink
Setup Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-shkaralevich committed May 31, 2024
1 parent 93302f4 commit 32895a1
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 62 deletions.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion ui/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"next/core-web-vitals"
"next/core-web-vitals",
"prettier"
],
"overrides": [
{
Expand Down
7 changes: 7 additions & 0 deletions ui/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"trailingComma": "none",
"tabWidth": 4,
"semi": true,
"singleQuote": true
}

122 changes: 61 additions & 61 deletions ui/package.json
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
{
"name": "uh-groupings",
"version": "3.0",
"private": true,
"scripts": {
"predev": "node api-handshake.js",
"dev": "next dev -p 8080",
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
},
"dependencies": {
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tabs": "^1.0.4",
"camaro": "^6.2.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"dotenv": "^16.4.1",
"iron-session": "^8.0.1",
"lucide-react": "^0.321.0",
"next": "14.1.0",
"react": "^18",
"react-dom": "^18",
"react-idle-timer": "^5.7.2",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"uniqid": "^5.4.0"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^1.6.1",
"@swc/core": "^1.3.106",
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6.3.0",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.11",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/uniqid": "^5.3.4",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "14.1.0",
"eslint-plugin-testing-library": "^6.2.0",
"eslint-plugin-tsdoc": "^0.2.17",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"postcss": "^8.4.33",
"postcss-preset-mantine": "^1.12.3",
"postcss-simple-vars": "^7.0.1",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
"name": "uh-groupings",
"version": "3.0",
"private": true,
"scripts": {
"predev": "node api-handshake.js",
"dev": "next dev -p 8080",
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
},
"dependencies": {
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tabs": "^1.0.4",
"camaro": "^6.2.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"dotenv": "^16.4.1",
"iron-session": "^8.0.1",
"lucide-react": "^0.321.0",
"next": "14.1.0",
"react": "^18",
"react-dom": "^18",
"react-idle-timer": "^5.7.2",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"uniqid": "^5.4.0"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^1.6.1",
"@swc/core": "^1.3.106",
"@testing-library/jest-dom": "^6.3.0",
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.11",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/uniqid": "^5.3.4",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "14.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-testing-library": "^6.2.0",
"eslint-plugin-tsdoc": "^0.2.17",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"postcss": "^8.4.33",
"postcss-preset-mantine": "^1.12.3",
"postcss-simple-vars": "^7.0.1",
"prettier": "3.2.5",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}

0 comments on commit 32895a1

Please sign in to comment.