This module includes our global typescript configuration.
You can install it via
yarn add --dev @warhol/tsconfig
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.
This project is licensed under MIT.