0.2.0 • Published 2 years ago
eslint-config-sort-package-json v0.2.0
eslint-config-sort-package-json
Sort your
package.json
based on the package.json specifics
Install
npm i eslint-config-sort-package-json -D
or
yarn add eslint-config-sort-package-json -D
or
pnpm add eslint-config-sort-package-json -D
Usage
Add config to your .eslintrc*
file.
module.exports = {
extends: ['sort-package-json'],
}
VSCode integration
Add "json"
to eslint.validate
in .vscode/settings.json
.
{
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "json"]
}
Author
License
MIT