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

@cybozu/eslint-configと@kintone/dts-genの併用に際する型の統一の要望 #22

Closed
kk3939 opened this issue Oct 29, 2021 · 2 comments

Comments

@kk3939
Copy link

kk3939 commented Oct 29, 2021

Package(対象パッケージ)

  • @kintone/dts-gen

Why(なぜ)

  • @cybozu/eslint-config のtypescript のpresetと@kintone/dts-genを併用する際に、生成されるファイルが@cybozu/eslint-configのルールに統一されることで修正する手間が省け、スムーズに開発したいため。

What(何を)

@cybozu/eslint-config のtypescript のpresetと@kintone/dts-genを併用しています。
コマンドを打ち、table フィールドの型を含むd.tsファイルを生成すると下記の画像のように、eslintのエラーが出ます。

スクリーンショット 2021-10-29 17 38 14

スクリーンショット 2021-10-29 17 38 33

これを@cybozu/eslint-config(typescript-eslint)の書き方に統一してほしいです。

スクリーンショット 2021-10-29 17 51 57

@kk3939 kk3939 changed the title @cybozu/eslint-configと@kintone/dts-genの併用にsaisuru @cybozu/eslint-configと@kintone/dts-genの併用に際するkatano Oct 29, 2021
@kk3939 kk3939 changed the title @cybozu/eslint-configと@kintone/dts-genの併用に際するkatano @cybozu/eslint-configと@kintone/dts-genの併用に際する型の統一の要望 Oct 29, 2021
@shintaroNagata
Copy link

@kk3939
フィードバックありがとうございます!
対応検討します。

@tasshi-me
Copy link
Member

@kk3939
こちら、kintone/js-sdk#1266 にて対応いたしました。
先ほどリリースされた @kintone/dts-gen 6.1.0 以降で反映済みです。

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

No branches or pull requests

3 participants