Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 769 Bytes

File metadata and controls

29 lines (19 loc) · 769 Bytes

Eslint Config Typescript

eslint shareable config to help you identify and report on patterns found in your code in TypeScript applications.

Plugins

This configuration uses the following plugins:

  • @linters/eslint-config
  • @typescript-eslint/eslint-plugin
  • eslint-import-resolver-typescript

Install

$ yarn add eslint eslint-plugin-import @linters/eslint-config-typescript -D

Usage

The shareable config can be configured in the eslint configuration file:

Create a .eslintrc.js file with the following contents:

module.exports = {
  extends: ['@linters/eslint-config-typescript'],
}