eslint-config-sort-tsconfig
v0.2.0
Published
Sort your tsconfig.json based on the TSConfig Reference
Downloads
373
Maintainers
Readme
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
License
MIT