Skip to content

Commit

Permalink
Co-authored-by: Minseok Chae <[email protected]>
Browse files Browse the repository at this point in the history
Co-authored-by: Nayoung Park <[email protected]>
  • Loading branch information
Bumang-Cyber committed Jan 28, 2024
2 parents aca2ab3 + 772e333 commit 4992fa5
Show file tree
Hide file tree
Showing 182 changed files with 3,620 additions and 2,771 deletions.
59 changes: 57 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,65 @@ module.exports = {
"plugin:react-hooks/recommended",
"prettier",
],
ignorePatterns: ["dist", ".eslintrc.cjs"],
ignorePatterns: ["build", "dist", "public"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
plugins: ["react-refresh", "import"],
rules: {
"import/prefer-default-export": "off",
"import/extensions": ["off", "error", "ignorePackages"],
"import/order": [
"error",
{
groups: [
"builtin",
"external",
"internal",
["parent", "sibling"],
"index",
"object",
"type",
"unknown",
],
pathGroups: [
{
pattern: "next",
group: "builtin",
position: "before",
},
{
pattern: "react",
group: "builtin",
},
{
pattern: "@tanstack/**",
group: "builtin",
position: "before",
},
{
pattern: "@/libs/**",
group: "unknown",
},
{
pattern: "@/core/**",
group: "unknown",
},
{
pattern: "@/store/**",
group: "unknown",
},
{
pattern: "**/*.css.ts",
group: "unknown",
position: "after",
},
],
"newlines-between": "always",
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
"react/react-in-jsx-scope": "off",
"react-refresh/only-export-components": [
"warn",
Expand Down
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@
}
});
</script>
<script>
document.addEventListener("DOMContentLoaded", function () {
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/pwabuilder-sw.js");
}
});
</script>
<body>
<div id="root"></div>
<div id="modal-root"></div>
Expand Down
Loading

0 comments on commit 4992fa5

Please sign in to comment.