Skip to content

Commit

Permalink
chore: fix and re-enable frontend lint (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
stanistan authored Aug 2, 2023
1 parent 1ca5f47 commit 2d4f276
Show file tree
Hide file tree
Showing 4 changed files with 1,099 additions and 1,600 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,14 @@ jobs:
run: yarn generate
- name: typecheck
run: yarn nuxi typecheck
- name: lint
run: |
echo yarn eslint .
echo Linting for some reason is currently broken, and times out
exit 1

lint-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cashapp/activate-hermit@v1
- run: cd frontend && yarn && yarn eslint .
name: lint

# prmectl: just make sure that it's going to be ok.
prmectl:
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/MarkdownHTML.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const rendered = computed(() => {
if (!slots) {
return "";
}
if (!slots.default) {
return "";
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"nuxt": "^3.6.3",
"nuxt": "^3.6.5",
"postcss": "^8.4.26",
"prettier": "^3.0.0",
"tailwindcss": "^3.3.3",
Expand Down
Loading

0 comments on commit 2d4f276

Please sign in to comment.