包详细信息

eslint-config-typescript-basic

jakxz7MIT2.0.0

shareable eslint config for basic typescript linting

自述文件

eslint-config-typescript-basic

npm npm

ESLint shareable config for TypeScript

This module is meant as a simple start for projects with JS and TS files that live side by side, with an existing config for the JS files that does not apply to the TS files.

Install

npm install --save-dev eslint-config-typescript-basic
# OR
yarn add -D eslint-config-typescript-basic

Usage

.eslintrc

{
  "extends": ["typescript-basic"]
}

package.json

{
  "eslintConfig": {
    "extends": ["typescript-basic"]
  }
}