From 4214202b79ac1cd502cdc0007cb8c2c0983bd810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Mon, 5 Dec 2022 13:04:18 +0800 Subject: [PATCH] ci: add lint --- .github/workflows/ci.yml | 3 +++ locales/en-US.json | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec5a3f58..e06e054e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,5 +29,8 @@ jobs: - name: ๐Ÿงช Test project run: pnpm test + - name: ๐Ÿ“ Lint + run: pnpm lint + - name: ๐Ÿ’ช Type check run: pnpm test:typecheck diff --git a/locales/en-US.json b/locales/en-US.json index d5c881a1..59e073b2 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -141,6 +141,9 @@ }, "status": { "edited": "Edited {0}", + "filter_hidden_phrase": "Filtered by", + "filter_removed_phrase": "Removed by filter", + "filter_show_anyway": "Show anyway", "poll": { "count": "{0} votes", "ends": "ends {0}", @@ -149,10 +152,7 @@ "reblogged": "{0} reblogged", "spoiler_show_less": "Show less", "spoiler_show_more": "Show more", - "try_original_site": "Try original site", - "filter_show_anyway": "Show anyway", - "filter_hidden_phrase": "Filtered by", - "filter_removed_phrase": "Removed by filter" + "try_original_site": "Try original site" }, "status_history": { "created": "created {0}",