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

Add adjustment of default proposal parameters to FE #130

Merged
merged 4 commits into from
Aug 26, 2024
Merged
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
27 changes: 27 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ESLint

on:
pull_request:
paths:
- 'frontend/**'

jobs:
eslint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
cache-dependency-path: frontend/package-lock.json

- name: Install dependencies
run: npm ci

- name: Run lint
run: npm run lint
16 changes: 6 additions & 10 deletions .github/workflows/tsc.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
name: Typescript
name: Notification bot – Typescript compile

on:
push:
paths:
- '**.ts'
- '.github/'
- 'tsconfig.json'
- 'package.json'
pull_request:
paths:
- '**.ts'
- '.github/'
- 'tsconfig.json'
- 'package.json'
- 'notification-bot/**'

jobs:
compile:
runs-on: ubuntu-latest
defaults:
run:
working-directory: notification-bot
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
Expand All @@ -25,4 +21,4 @@ jobs:
with:
node-version: '22'
- name: Run tsc
run: cd notification-bot; npm install --save-dev; tsc --project .
run: npm install --save-dev; tsc --project .
6 changes: 6 additions & 0 deletions frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ module.exports = {
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
project: "./tsconfig.json",
},
plugins: ["@typescript-eslint", "react"],
rules: {},
settings: {
react: {
version: "detect", // Automatically detect the React version
},
},
};
17 changes: 0 additions & 17 deletions frontend/.eslintrc.json

This file was deleted.

Binary file modified frontend/bun.lockb
Binary file not shown.
Loading