@tkpd/eslint-config-ts
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

@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.

Package Sidebar

Install

npm i @tkpd/eslint-config-ts

Weekly Downloads

0

Version

0.0.14

License

MIT

Unpacked Size

51.2 kB

Total Files

14

Last publish

Collaborators

  • tokopedia
  • skipper.team
  • miqdadfwz