@tabula/typescript-config

0.3.2 • Public • Published

@tabula/typescript-config

This package provides ESLint configurators as shared configs.

Installation

Use the package manager pnpm to install @tabula/typescript-config.

pnpm add @tabula/typescript-config --save-dev

You can use npm or yarn too.

Usage

The package provides tsconfig.browser.json and tsconfig.node.json presets.

Add an tsconfig.json configuration file to the root of your project for browser:

{
  "extends": "@tabula/typescript-config/tsconfig.browser.json",

  "include": ["src/**/*"]
}

or for Node.js:

{
  "extends": "@tabula/typescript-config/tsconfig.node.json",

  "include": ["src/**/*"]
}

The configuration for browser also includes typings for CSS and CSS Modules, static files and SVG files with SVGR support.

License

This project is ISC licensed.

Package Sidebar

Install

npm i @tabula/typescript-config

Weekly Downloads

1

Version

0.3.2

License

ISC

Unpacked Size

5.65 kB

Total Files

11

Last publish

Collaborators

  • tabula