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

@typescript-eslint/naming-convention を緩くする #5

Open
kitamuraDev opened this issue Aug 16, 2022 · 0 comments
Open

@typescript-eslint/naming-convention を緩くする #5

kitamuraDev opened this issue Aug 16, 2022 · 0 comments
Assignees

Comments

@kitamuraDev
Copy link
Owner

kitamuraDev commented Aug 16, 2022

現状、camelCaseしか認めていない設定になっているため、APIの型を定義するときにfoo_barのような形式を作る際に不都合が生じている。そのためにルールを緩くする。
他の人のselectorとformatを参考にして追加修正を加えること

- selector: # PascalCaseなので、interfaceなんかも入れるべきかな?
    - typeAlias
    - typeParameter # TやUのこと?(実際にいじって調べる)
  format:
    - PascalCase
- selector:
    - property # これは特段camelCaseだけとは限らないため、削除
    - method
  format:
    - camelCase
@kitamuraDev kitamuraDev self-assigned this Aug 16, 2022
@kitamuraDev kitamuraDev changed the title eslint-disable @typescript-eslint/naming-convention を緩くする @typescript-eslint/naming-convention を緩くする Aug 17, 2022
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

1 participant