0.4.2 • Published 5 months ago

eslint-plugin-tsconfig-sort v0.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Eslint Plugin Tsconfig Sort

This plugin sorts the tsconfig.json file in a way that makes it easier to read and maintain.

Installation

npm install eslint-plugin-tsconfig-sort --save-dev

Usage

Add tsconfig-sort to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": [
    "tsconfig-sort"
  ]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "tsconfig-sort/tsconfig-sort": "error" // 启用规则
  }
}
0.4.2

5 months ago

0.4.1

5 months ago

0.4.0

6 months ago