Skip to content

Commit

Permalink
Merge pull request #27 from lotteon2/develop
Browse files Browse the repository at this point in the history
release: V1
  • Loading branch information
Hyevvy authored Dec 14, 2023
2 parents d66fb90 + 965a574 commit 1e2906d
Show file tree
Hide file tree
Showing 133 changed files with 5,248 additions and 3,309 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REACT_APP_API_URL=https://e62e9111-4ca7-4984-93da-a6b562b71a83.mock.pstmn.io
REACT_APP_INICIS=imp31336811
2 changes: 2 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REACT_APP_API_URL=https://jeontongju-dev.shop
REACT_APP_INICIS=imp31336811
89 changes: 44 additions & 45 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,47 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"settings": {
"import/resolver": {
"typescript": {},
"node": {
"paths": ["src"],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"rules": {
"import/no-extraneous-dependencies": ["off", { "devDependencies": true }],
"react/jsx-props-no-spreading": "off",
"no-useless-catch": "off",
"no-use-before-define": ["off", { "functions": false, "classes": false }],
"no-console": "off",
"no-unused-vars": "off",
"global-require": 0,
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"import/prefer-default-export": "off",
"import/extensions": ["off"],
"react/jsx-filename-extension": "off",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"no-nested-ternary": "off",
"react/function-component-definition": [
2,
{ "namedComponents": ["arrow-function", "function-declaration"] }
],
"react/require-default-props": "off",
"react-hooks/exhaustive-deps": [
"off",
{
"enableDangerousAutofixThisMayCauseInfiniteLoops": true
}
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"settings": {
"import/resolver": {
"typescript": {}
}
},
"rules": {
"import/no-extraneous-dependencies": ["off", {"devDependencies": true}],
"react/jsx-props-no-spreading": "off",
"no-useless-catch": "off",
"no-use-before-define": [
"off",
{ "functions": false, "classes": false }
],
"no-console": "off",
"no-unused-vars": "off",
"global-require": 0,
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"import/prefer-default-export": "off",
"import/extensions": ["off"],
"react/jsx-filename-extension": "off",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"no-nested-ternary": "off",
"react/function-component-definition": [
2,
{ "namedComponents": ["arrow-function", "function-declaration"] }
],
"react/require-default-props": "off",
"react-hooks/exhaustive-deps": [
"off",
{
"enableDangerousAutofixThisMayCauseInfiniteLoops": true
}
]
},
"extends": [
"prettier",
"airbnb",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
]
},
"extends": [
"prettier",
"airbnb",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
]
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@
/build

# misc
/.vscode
.DS_Store
.env
.env.local
.env.production
.env
.env.development.local
.env.test.local
.env.production.local
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"semi": true,
"useTabs": true,
"printWidth": 120
}
}
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
9 changes: 9 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[build]
command = "CI='' npm run build"
publish = "/build"
base ="/"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200
Loading

0 comments on commit 1e2906d

Please sign in to comment.