Skip to content

Commit

Permalink
fix: typo di config anjir
Browse files Browse the repository at this point in the history
  • Loading branch information
RobyCigar authored Nov 8, 2021
2 parents a3efd71 + 7b44525 commit b4c4dc1
Show file tree
Hide file tree
Showing 5 changed files with 138 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
"next",
"prettier",
"next/core-web-vitals",
"eslint-config-prettier",
"eslint-config-prettier"
],
"rules": {
"@next/next/link-passhref": "off",
"react/jsx-no-target-blank": "off",
"import/no-anonymous-default-export": "off",
"semi": ["warn", "always"],
"indent": ["error", 2]
"indent": ["warn", 2]
}
}
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx pretty-quick --staged
pnpm lint
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint-staged": "npx lint-staged",
"lint:pretty": "npx pretty-quick --staged",
"lint:staged": "npx lint-staged",
"prepare": "husky install"
},
"dependencies": {
Expand All @@ -28,6 +29,7 @@
"husky": "^7.0.4",
"lint-staged": "^11.2.6",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1",
"typescript": "^4.4.4"
},
"husky": {
Expand Down
132 changes: 132 additions & 0 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const config: any = {
BASE: "https://career.amikom.ac.id/",
BASEAPI:
process.env.NODE_ENV === "production"
? "https://amikom-carrer-api.vercel.app/api"
? "https://amikom-career-api.vercel.app/api"
: "http://localhost:3000/api",
};

Expand Down

1 comment on commit b4c4dc1

@vercel
Copy link

@vercel vercel bot commented on b4c4dc1 Nov 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.