dfinity / eslint-config-oisy-wallet

Shared ESLint configurations from the Oisy Wallet team
Apache License 2.0
2 stars 0 forks source link

feat: add rule consistent-type-imports #35

Open AntonioVentilii opened 1 week ago

AntonioVentilii commented 1 week ago

Motivation

We include rule consistent-type-imports, that, among other things, will change:

import { type CustomType } from 'types.ts'
import { type CustomType1, type CustomType2 } from 'types.ts'

to

import type { CustomType } from 'types.ts'
import type { CustomType1, CustomType2 } from 'types.ts'