This package provides ESLint configurators as shared configs.
Use the package manager pnpm to install @tabula/typescript-config
.
pnpm add @tabula/typescript-config --save-dev
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.
This project is ISC licensed.