@type-config/cli

The cli for type-cli

Usage no npm install needed!

<script type="module">
  import typeConfigCli from 'https://cdn.skypack.dev/@type-config/cli';
</script>

README

@type-config/cli

cli for type-config.

Quick Start

npm install @type-config/cli -g

type-config init

Introduction

TypeConfig provide following receipes (Addition is welcome):

  • standard: Can be used in most projects. Use most type check rules, but nothing more(like no used something).
  • strict: Fit for packages. Use the most strict rules.
  • react: Fit for app using react.
  • easy: Fit for new starter or old javascript projects. Use the most loose rules, allow using javascript.

CLI usage:

# you can decide the name of the config file
type-config init [config-name.json]