0.0.2-alpha.0 • Published 1 year ago
@tkpd/eslint-config-typescript v0.0.2-alpha.0
@tkpd/eslint-config-ts
Shareable ESLint configuration for tokopedia web services.
@tkpd/eslint-config-ts is a shareable configuration package for eslint designed to meet Tokopedia standard.
Installation
# npm
$ npm install -D eslint@8 @tokopedia/eslint-config
# yarn
$ yarn add -D eslint@8 @tokopedia/eslint-config
# pnpm
$ pnpm add -D eslint@8 @tokopedia/eslint-config
Also, this config requires you to install basic peer dependencies
# npm
$ npm install -D @typescript-eslint/eslint-plugin@6 @typescript-eslint/parser@6 eslint-import-resolver-typescript eslint-plugin-import
# yarn
$ yarn add -D @typescript-eslint/eslint-plugin@6 @typescript-eslint/parser@6 eslint-import-resolver-typescript eslint-plugin-import
# pnpm
$ npm add -D @typescript-eslint/eslint-plugin@6 @typescript-eslint/parser@6 eslint-import-resolver-typescript eslint-plugin-import
Add this into your eslint configuration file
.eslintrc
{
"extends": "@tkpd/ts"
}
NOTE: You must use a
.eslintrc
file to specify multiple configurations. Set the extends property to an array containing the Target Environment and one or more addon configurations.
0.0.8-alpha.0
1 year ago
0.0.7-alpha.0
1 year ago
0.0.6-alpha.0
1 year ago
0.0.5-alpha.0
1 year ago
0.0.4-alpha.0
1 year ago
0.0.3-alpha.0
1 year ago
0.0.2-alpha.0
1 year ago