-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update dependencies and added styled components
- Loading branch information
Showing
16 changed files
with
1,882 additions
and
2,179 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,111 @@ | ||
{ | ||
"extends": ["next", "next/core-web-vitals"] | ||
"env": { | ||
"browser": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"node": { | ||
"extensions": [".js", ".jsx", ".ts", ".tsx"] | ||
} | ||
} | ||
}, | ||
"extends": [ | ||
"next", | ||
"next/core-web-vitals", | ||
"plugin:react/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"airbnb", | ||
"eslint-config-prettier", | ||
"prettier" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 12, | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["react", "@typescript-eslint", "prettier", "eslint-plugin-import-helpers"], | ||
"rules": { | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
"printWidth": 90, | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"tabWidth": 2, | ||
"arrowParens": "always", | ||
"endOfLine": "auto", | ||
"max-len": ["error", { "code": 90 }] | ||
} | ||
], | ||
"semi": [2, "never"], | ||
"dot-notation": 0, | ||
"consistent-return": "off", | ||
"no-use-before-define": "off", | ||
"no-undef": "off", | ||
"no-plusplus": "off", | ||
"no-else-return": "off", | ||
"no-return-await": "off", | ||
"no-param-reassign": [2, { "props": false }], | ||
"no-unused-vars": ["error", { "args": "none", "caughtErrors": "none" }], | ||
"array-callback-return": "off", | ||
"import/no-unresolved": "off", | ||
"import/prefer-default-export": "off", | ||
"react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }], | ||
"react/require-default-props": 0, | ||
"react/jsx-props-no-spreading": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"@next/next/no-img-element": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ "args": "none", "caughtErrors": "none" } | ||
], | ||
"@typescript-eslint/no-use-before-define": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"jsx-a11y/anchor-is-valid": 0, | ||
"jsx-a11y/control-has-associated-label": "error", | ||
"jsx-a11y/media-has-caption": "off", | ||
"jsx-a11y/click-events-have-key-events": "off", | ||
"jsx-a11y/no-static-element-interactions": "off", | ||
"jsx-a11y/no-noninteractive-element-interactions": "off", | ||
"import/extensions": [ | ||
"error", | ||
"ignorePackages", | ||
{ | ||
"js": "never", | ||
"jsx": "never", | ||
"ts": "never", | ||
"tsx": "never" | ||
} | ||
], | ||
"import-helpers/order-imports": [ | ||
"warn", | ||
{ | ||
"newlinesBetween": "always", | ||
"groups": [ | ||
"module", | ||
"/^@assets/", | ||
"/^@routes/", | ||
"/^@type/", | ||
"/^@services/", | ||
"/^@libs/", | ||
"/^@contexts/", | ||
"/^@hooks/", | ||
"/^@components/", | ||
"/^@pages/", | ||
"/^@utils/", | ||
["parent", "sibling", "index"], | ||
"/^@styles/", | ||
"/^@/" | ||
], | ||
"alphabetize": { "order": "asc", "ignoreCase": true } | ||
} | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,4 @@ yarn-error.log* | |
|
||
# vercel | ||
.vercel | ||
|
||
# husky | ||
/.husky/ | ||
.husky |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"printWidth": 90, | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"tabWidth": 2, | ||
"arrowParens": "avoid", | ||
"arrowParens": "always", | ||
"endOfLine": "auto", | ||
"printWidth": 90, | ||
"max-len": ["error", { "code": 90 }] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/types/global" /> | ||
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
import { AppProps } from 'next/app' | ||
|
||
import '@styles/global.scss' | ||
import { GlobalStyle } from '@styles/global' | ||
|
||
export default function MyApp({ Component, pageProps }: AppProps) { | ||
return <Component {...pageProps} /> | ||
return ( | ||
<> | ||
<GlobalStyle /> | ||
<Component {...pageProps} /> | ||
</> | ||
) | ||
} |
Oops, something went wrong.