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

[Do not merge] check reviewdog #149

Closed
wants to merge 3 commits into from
Closed

[Do not merge] check reviewdog #149

wants to merge 3 commits into from

Conversation

h3poteto
Copy link
Owner

No description provided.

diff --git a/src/components/Compose.tsx b/src/components/Compose.tsx
index 8f9376b..477c2ab 100644
--- a/src/components/Compose.tsx
+++ b/src/components/Compose.tsx
@@ -75,7 +75,7 @@ type CustomEmojiCategory = {
 type CustomEmoji = {
   id: string
   name: string
-  keywords: Array<string>
+  keywords: Array<String>
   skins: Array<{ src: string }>
 }
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index a1da68f..47dc202 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -20,7 +20,7 @@ jobs:
         env:
           REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
         run: |
-          yarn run eslint | reviewdog -f=eslint -reporter=github-pr-review -fail-on-error=true
+          yarn run lint | reviewdog -f=eslint -reporter=github-pr-review -fail-on-error=true

   typecheck:
     runs-on: ubuntu-latest
@@ -75,7 +75,7 @@ type CustomEmojiCategory = {
type CustomEmoji = {
id: string
name: string
keywords: Array<string>
keywords: Array<String>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] reported by reviewdog 🐶
Don't use String as a type. Use string instead @typescript-eslint/ban-types

@@ -1,6 +1,6 @@
import { Entity } from 'megalodon'
import { useState } from 'react'
import { Button } from 'rsuite'
import { Button, ButtonIcon } from 'rsuite'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
'ButtonIcon' is defined but never used @typescript-eslint/no-unused-vars

@h3poteto h3poteto closed this Dec 10, 2022
@h3poteto h3poteto deleted the check/reviewdog branch December 10, 2022 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant