-
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.
- Loading branch information
Showing
236 changed files
with
727,585 additions
and
719,098 deletions.
There are no files selected for viewing
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,63 +1,63 @@ | ||
{ | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"plugin:prettier/recommended", | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:jsx-a11y/recommended", | ||
"plugin:react-hooks/recommended" | ||
], | ||
"ignorePatterns": ["next.config.js", "scripts/**/*.*js"], | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"rules": { | ||
"@next/next/no-img-element": "off", | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"plugin:prettier/recommended", | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:jsx-a11y/recommended", | ||
"plugin:react-hooks/recommended" | ||
], | ||
"ignorePatterns": ["next.config.js", "scripts/**/*.*js"], | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"rules": { | ||
"@next/next/no-img-element": "off", | ||
|
||
// TODO: remove this rule | ||
"@typescript-eslint/no-explicit-any": "off", | ||
// TODO: remove this rule | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
// TODO: remove this rule | ||
"jsx-a11y/click-events-have-key-events": "off", | ||
// TODO: remove this rule | ||
"jsx-a11y/no-static-element-interactions": "off", | ||
// TODO: remove this rule | ||
"@typescript-eslint/no-explicit-any": "off", | ||
// TODO: remove this rule | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
// TODO: remove this rule | ||
"jsx-a11y/click-events-have-key-events": "off", | ||
// TODO: remove this rule | ||
"jsx-a11y/no-static-element-interactions": "off", | ||
|
||
"no-irregular-whitespace": "off", | ||
"no-restricted-imports": [ | ||
"error", | ||
{ | ||
"patterns": [ | ||
{ | ||
"group": ["../../"], | ||
"message": "Relative imports are not allowed." | ||
} | ||
] | ||
} | ||
], | ||
"no-irregular-whitespace": "off", | ||
"no-restricted-imports": [ | ||
"error", | ||
{ | ||
"patterns": [ | ||
{ | ||
"group": ["../../"], | ||
"message": "Relative imports are not allowed." | ||
} | ||
] | ||
} | ||
], | ||
|
||
"import/order": [ | ||
"error", | ||
{ | ||
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"] | ||
} | ||
], | ||
"import/order": [ | ||
"error", | ||
{ | ||
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"] | ||
} | ||
], | ||
|
||
"import/no-restricted-paths": [ | ||
"error", | ||
{ | ||
"zones": [ | ||
// separate ui and logic | ||
{ "from": "./constants", "target": "./shared" }, | ||
{ "from": "./state", "target": "./shared" }, | ||
{ "from": "./components", "target": "./shared" }, | ||
{ "from": "./features", "target": "./shared" }, | ||
{ "from": "./pages", "target": "./shared" }, | ||
{ "from": "./types", "target": "./shared" }, | ||
{ "from": "./state", "target": "./components" }, | ||
{ "from": "./features", "target": "./components" } | ||
"import/no-restricted-paths": [ | ||
"error", | ||
{ | ||
"zones": [ | ||
// separate ui and logic | ||
{ "from": "./constants", "target": "./shared" }, | ||
{ "from": "./state", "target": "./shared" }, | ||
{ "from": "./components", "target": "./shared" }, | ||
{ "from": "./features", "target": "./shared" }, | ||
{ "from": "./pages", "target": "./shared" }, | ||
{ "from": "./types", "target": "./shared" }, | ||
{ "from": "./state", "target": "./components" }, | ||
{ "from": "./features", "target": "./components" } | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
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,41 +1,41 @@ | ||
name: Vercel Deploy | ||
on: [push] | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Extract branch name | ||
id: extract_branch | ||
run: | | ||
branch_name=${GITHUB_REF#refs/heads/} | ||
branch_formatted=${branch_name//\//-} | ||
echo $branch_name | ||
echo $branch_formatted | ||
echo ::set-output name=branch::$branch_formatted | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Extract branch name | ||
id: extract_branch | ||
run: | | ||
branch_name=${GITHUB_REF#refs/heads/} | ||
branch_formatted=${branch_name//\//-} | ||
echo $branch_name | ||
echo $branch_formatted | ||
echo ::set-output name=branch::$branch_formatted | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Deploy to Staging | ||
id: deploy-vercel-staging | ||
uses: amondnet/vercel-action@v20 | ||
if: github.ref != 'refs/heads/main' | ||
with: | ||
vercel-token: ${{secrets.VERCEL_TOKEN}} | ||
github-token: ${{secrets.VERCEL_GITHUB_TOKEN}} | ||
vercel-org-id: ${{secrets.VERCEL_ORG_ID}} | ||
vercel-project-id: ${{secrets.VERCEL_PROJECT_ID}} | ||
alias-domains: >- | ||
${{ format( | ||
'{0}-{1}.vercel.app', | ||
secrets.VERCEL_DOMAIN, | ||
steps.extract_branch.outputs.branch) | ||
}} | ||
- name: Deploy to Production | ||
id: deploy-vercel-production | ||
uses: amondnet/vercel-action@v20 | ||
if: github.ref == 'refs/heads/main' | ||
with: | ||
vercel-token: ${{secrets.VERCEL_TOKEN}} | ||
vercel-org-id: ${{secrets.VERCEL_ORG_ID}} | ||
vercel-project-id: ${{secrets.VERCEL_PROJECT_ID}} | ||
vercel-args: '--prod' | ||
- name: Deploy to Staging | ||
id: deploy-vercel-staging | ||
uses: amondnet/vercel-action@v20 | ||
if: github.ref != 'refs/heads/main' | ||
with: | ||
vercel-token: ${{secrets.VERCEL_TOKEN}} | ||
github-token: ${{secrets.VERCEL_GITHUB_TOKEN}} | ||
vercel-org-id: ${{secrets.VERCEL_ORG_ID}} | ||
vercel-project-id: ${{secrets.VERCEL_PROJECT_ID}} | ||
alias-domains: >- | ||
${{ format( | ||
'{0}-{1}.vercel.app', | ||
secrets.VERCEL_DOMAIN, | ||
steps.extract_branch.outputs.branch) | ||
}} | ||
- name: Deploy to Production | ||
id: deploy-vercel-production | ||
uses: amondnet/vercel-action@v20 | ||
if: github.ref == 'refs/heads/main' | ||
with: | ||
vercel-token: ${{secrets.VERCEL_TOKEN}} | ||
vercel-org-id: ${{secrets.VERCEL_ORG_ID}} | ||
vercel-project-id: ${{secrets.VERCEL_PROJECT_ID}} | ||
vercel-args: '--prod' |
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 @@ | ||
const path = require('path'); | ||
|
||
const buildEslintCommand = (filenames) => | ||
`next lint --fix --file ${filenames | ||
.map((f) => path.relative(process.cwd(), f)) | ||
.join(' --file ')}`; | ||
`next lint --fix --file ${filenames | ||
.map((f) => path.relative(process.cwd(), f)) | ||
.join(' --file ')}`; | ||
|
||
module.exports = { | ||
'*.{js,jsx,ts,tsx}': ['prettier --write', buildEslintCommand], | ||
'*.{js,jsx,ts,tsx}': ['prettier --write', buildEslintCommand], | ||
}; |
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,18 +1,18 @@ | ||
module.exports = { | ||
printWidth: 100, | ||
trailingComma: 'all', | ||
useTabs: false, | ||
singleQuote: true, | ||
tabWidth: 2, | ||
semi: true, | ||
bracketSpacing: true, | ||
bracketSameLine: false, | ||
overrides: [ | ||
{ | ||
files: ['*.json', '*.yaml'], | ||
options: { | ||
tabWidth: 2, | ||
}, | ||
}, | ||
], | ||
printWidth: 100, | ||
trailingComma: 'all', | ||
useTabs: false, | ||
singleQuote: true, | ||
tabWidth: 4, | ||
semi: true, | ||
bracketSpacing: true, | ||
bracketSameLine: false, | ||
overrides: [ | ||
{ | ||
files: ['*.json', '*.yaml'], | ||
options: { | ||
tabWidth: 4, | ||
}, | ||
}, | ||
], | ||
}; |
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
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,16 +1,16 @@ | ||
.DesktopCard { | ||
position: relative; | ||
background: #1e2841 !important; | ||
border-radius: 10px !important; | ||
max-height: calc(90vh - 2vw) !important; | ||
overflow-y: auto; | ||
overflow-x: hidden; | ||
position: relative; | ||
background: #1e2841 !important; | ||
border-radius: 10px !important; | ||
max-height: calc(90vh - 2vw) !important; | ||
overflow-y: auto; | ||
overflow-x: hidden; | ||
|
||
@mixin scroll; | ||
@mixin scroll; | ||
} | ||
|
||
.DesktopCard__header { | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
} |
Oops, something went wrong.
88aec05
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for map ready!
✅ Preview
https://map-plxhn9590-ekbdev.vercel.app
https://ekbdev-map-refactor.vercel.app
Built with commit 88aec05.
This pull request is being automatically deployed with vercel-action