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

refactor: client app to use latest specifications #317

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/build-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: actions/checkout@v3

- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: 12
node-version: 18

- name: Build app
run: |
pushd terracotta/client/app
yarn install --frozen-lockfile
yarn build
popd
working-directory: terracotta/client/app

- name: Commit changes
uses: stefanzweifel/[email protected]
Expand Down
13 changes: 13 additions & 0 deletions terracotta/client/app/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]

indent_style = tab

end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions terracotta/client/app/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
10 changes: 10 additions & 0 deletions terracotta/client/app/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root: true
extends:
- "@dhi-gras/ts"
- "@dhi-gras/react"
rules:
"@typescript-eslint/unbound-method": 0 # Doesn't appear to read MUI component prop correctly, where the underlying DOM element can be changed, which is the point of the rule
"@typescript-eslint/no-unsafe-argument": 0
"react/require-default-props": 0
"@typescript-eslint/dot-notation": 0
"import/no-cycle": 0
105 changes: 0 additions & 105 deletions terracotta/client/app/config/env.js

This file was deleted.

66 changes: 0 additions & 66 deletions terracotta/client/app/config/getHttpsConfig.js

This file was deleted.

112 changes: 0 additions & 112 deletions terracotta/client/app/config/modules.js

This file was deleted.

Loading
Loading