Help us understand the problem. What is going on with this article?

eslint と flow で import と import type で no-duplicate-imports の警告が出るのを消す

More than 3 years have passed since last update.


/* @flow */
import foo from 'foo'
impot type {Foo} from 'foo'

no-duplicate-imports を Off にして eslint-plugin-import の import/no-duplicates を使う

  - import
  no-duplicate-imports: 0
  import/no-duplicates: 2

CXプラットフォーム「KARTE」の開発・運営、EC特化型メディア「Shopping Tribe」の企画・運営、CX特化型メディア「XD(クロスディー)」の企画・運営
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away