Skip to content

TypeScript Support

Compare
Choose a tag to compare
@THMKAE THMKAE released this 07 Jan 16:17
15738ab

v1.0.0 Support for TypeScript

Breaking change.

This release removes FlowType in favor of TypeScript from the main config.
It's also less strict compared to the previous release.
We also added the Prettier config to the package.

Migrating from 0.x.x

Since the main config will preload all needed plugins and configs for TypeScript & Prettier, you will need to use a more controlled configuration if you're using this config with FlowType and / or Lodash. See below for an example.

"eslintConfig": {
    "extends": [
      "unbrace/core",
      "unbrace/flowtype",
      "unbrace/lodash",
      "unbrace/react"
    ]
  }