Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize by Refactoring Duplicated Code #1

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
REACT_APP_BASEDAO_DOCKERISED_URL=#LOCAL_BASEDAO_DOCKERIZED_URL
REACT_APP_CORS_PROXY_URL=#LOCAL_DORG_CORS_PROXY_URL
REACT_APP_DAO_DEPLOYER_API=#LOCAL_DAO_DEPLOYER_URL
REACT_APP_ENV=LOCAL
REACT_APP_HASURA_ADMIN_SECRET=#YOUR_HASURA_ADMIN_SECRET
REACT_APP_HASURA_ADMIN_SECRET_V2=#YOUR_HASURA_ADMIN_SECRET
REACT_APP_HASURA_URL=#YOUR_LOCAL_HOMBASE_INDEXER_HASURA_URL
REACT_APP_HASURA_URL_V2=#YOUR_LOCAL_HOMBASE_INDEXER_HASURA_URL
REACT_APP_LITE_API_URL=#YOUR_LOCAL_HOMBASE_LITE_BACKEND_URL
REACT_APP_MIXPANEL_DEBUG_ENABLED=false
REACT_APP_MIXPANEL_TOKEN=#YOUR_MIXPANEL_TOKEN_HERE
REACT_APP_NETWORK=ghostnet
REACT_APP_URL=http://localhost:3000
REACT_APP_V2_URL=http://localhost:3000
14 changes: 1 addition & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,17 @@
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
// Allows for the parsing of JSX
"jsx": true
}
"sourceType": "module"
},
"ignorePatterns": [
"node_modules/**/*"
],
"settings": {
"react": {
"version": "detect"
}
},
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"react/prop-types": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: continuous-integration

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
branches:
- '**'

jobs:
CI:
Expand Down Expand Up @@ -38,7 +44,3 @@ jobs:

- name: Build
run: yarn run build

# TO-DO: Uncomment when tests are ready to be run on CI (such as those in issues #129-#131)
# - name: Test
# run: yarn test:ci
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

# production
/build
dist/

# misc
.DS_Store
Expand All @@ -26,5 +27,8 @@ yarn-error.log*
.vscode

.idea
.env.example

# Certificate files
privkey.pem
cert.pem
chain.pem
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ deploy:
app:
develop: homebase-dapp-staging
master: homebase-dapp-production
skip_cleanup: 'true'
skip_cleanup: true
75 changes: 0 additions & 75 deletions CHANGELOG.md

This file was deleted.

48 changes: 0 additions & 48 deletions CONTRIBUTING.md

This file was deleted.

Loading
Loading