0.2.0 • Published 2 years ago

eslint-config-sort-tsconfig v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eslint-config-sort-tsconfig

Sort your tsconfig.json based on the TSConfig Referenece

Install

npm i eslint-config-sort-tsconfig -D

or

yarn add eslint-config-sort-tsconfig -D

or

pnpm add eslint-config-sort-tsconfig -D

Usage

Add config to your .eslintrc* file.

module.exports = {
  extends: ['sort-tsconfig'],
}

VSCode integration

Add "jsonc" to eslint.validate in .vscode/settings.json.

{
  "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "jsonc"]
}

Author

@p-chan

License

MIT

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago