@instabuy/package-config v0.15.1
Instabuy Package Config
This package provides a simple way to configure your Typescript application or library. This package comes with Eslint and Prettier configurations and denpendencies so you don't have to worry about it.
Installation
The installation is straightforward and already comes with Eslint and Prettier dependencies, ramaning to you only to install Typescript depedency. Just run the following command to install Prettier and Eslint configurations and dependencies.
npm install @instabuy/package-config --save-dev
Usage
Use the default Typescript configuration by adding the following line to your
tsconfig.json
file.{ "extends": "@instabuy/package-config/tsconfig.json" }
Configure Eslint configuration file.
a) If you just want the basic Typescript configuration, add the following line to your
.eslintrc.json
file.{ "extends": "@instabuy/eslint-config" }
b) If you want to use the React configuration, add the following line to your
.eslintrc.json
file.{ "extends": "@instabuy/eslint-config/react" }
Configure Prettier configuration file by making the following line your
prettierrc.json
file content."@instabuy/prettier-config"
Configure your
package.json
scripts to use the configurations. Like:{ "scripts": { "lint": "eslint src --ext .ts,.js,.tsx", "lint:fix": "yarn lint --fix" } }
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
8 months ago
10 months ago
8 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
9 months ago
9 months ago
10 months ago
8 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago