@warhol/tsconfig

This module includes Warhol’s global typescript configuration and linting rules

Usage no npm install needed!

<script type="module">
  import warholTsconfig from 'https://cdn.skypack.dev/@warhol/tsconfig';
</script>

README

Warhol - TypeScript configuration

This module includes our global typescript configuration.

You can install it via

yarn add --dev @warhol/tsconfig

Make it work

To make it work your need to do the following:

In tsconfig.json add the following:

{
  "extends": "./node_modules/@warhol/tsconfig/tsconfig.json"
}

In .eslintrc.js add the following:

module.exports = {
  extends: ["./node_modules/@warhol/tsconfig/eslint-react"],
};

You can also add a nodemon.json file for development, like here.

License

This project is licensed under MIT.