{"name":"eslint-plugin-typescript-sort-keys","version":"1.1.0-rc1","description":"Sort interface and string enum keys","keywords":["eslint","eslintplugin","eslint-plugin","typescript"],"author":{"name":"infctr","email":"infctr@gmail.com"},"main":"lib/index.cjs.js","module":"lib/index.esm.js","repository":{"type":"git","url":"git+ssh://git@github.com/infctr/eslint-plugin-typescript-sort-keys.git"},"url":"https://github.com/infctr/eslint-plugin-typescript-sort-keys","exports":{"import":"lib/index.esm.js","require":"lib/index.cjs.js","default":"lib/index.cjs.js"},"scripts":{"build":"yarn rimraf lib && yarn compile","compile":"yarn rollup -c","docs":"eslint-docs","docs:check":"eslint-docs check","lint":"eslint --ext .js,.ts src/ tests/","format":"prettier --write src/**/*.{js,ts} tests/**/*.{js,ts}","test":"yarn jest --watch","coverage":"yarn test --coverage --watchAll=false","coverage-preview":"http-server -o -p 5000 coverage/lcov-report","type-check":"tsc --noEmit --skipLibCheck","verify":"yarn type-check && yarn lint && yarn build && yarn coverage"},"dependencies":{"@typescript-eslint/experimental-utils":"~2.32.0","json-schema":"~0.2.5","natural-compare-lite":"~1.4.0"},"devDependencies":{"@babel/cli":"~7.8.4","@babel/core":"~7.9.6","@babel/preset-env":"~7.9.6","@babel/preset-typescript":"~7.9.0","@infctr/eslint-docs":"~0.4.0","@rollup/plugin-commonjs":"~12.0.0","@rollup/plugin-json":"~4.0.3","@rollup/plugin-node-resolve":"~8.0.0","@rollup/plugin-typescript":"~4.1.2","@types/babel__core":"~7.1.7","@types/babel__preset-env":"~7.9.0","@types/eslint":"~6.8.1","@types/eslint-plugin-prettier":"~3.1.0","@types/http-server":"~0.10.0","@types/jest":"~25.2.3","@types/natural-compare-lite":"~1.4.0","@types/prettier":"~2.0.0","@types/rimraf":"~3.0.0","@types/tmp":"~0.2.0","@typescript-eslint/eslint-plugin":"~2.32.0","@typescript-eslint/parser":"~2.32.0","babel-jest":"~26.0.1","babel-plugin-module-resolver":"~4.0.0","eslint":"~7.0.0","eslint-config-prettier":"~6.11.0","eslint-plugin-eslint-plugin":"~2.2.1","eslint-plugin-import":"~2.20.2","eslint-plugin-jest":"~23.13.1","eslint-plugin-prettier":"~3.1.3","http-server":"~0.12.3","husky":"~4.2.5","jest":"~26.0.1","lint-staged":"~10.2.4","prettier":"~2.0.5","rimraf":"~3.0.2","rollup":"~2.10.5","tmp":"~0.2.1","tsconfig":"~7.0.0","typescript":"~3.9.3"},"peerDependencies":{"@typescript-eslint/parser":"^1 || ^2","eslint":"^5 || ^6 || ^7","typescript":"^3"},"engines":{"node":">=8.3.0"},"license":"ISC","_resolved":"","_integrity":"","_from":"file:eslint-plugin-typescript-sort-keys-1.1.0-rc1.tgz","readme":"![Tests](https://github.com/infctr/eslint-plugin-typescript-sort-keys/workflows/Tests/badge.svg?branch=master)\n\n# eslint-plugin-typescript-sort-keys\n\nSort interface and string enum keys\n\nInspired by and sourced from [eslint/sort-keys](https://github.com/eslint/eslint/blob/master/docs/rules/sort-keys.md)\n\n## Installation\n\nYou'll first need to install\n\n- [eslint](http://eslint.org)\n- [typescript](http://www.typescriptlang.org/)\n- [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser)\n\n```sh\nyarn add -D eslint typescript @typescript-eslint/parser\n```\n\nNext, install `eslint-plugin-typescript-sort-keys`:\n\n```sh\nyarn add -D eslint-plugin-typescript-sort-keys\n```\n\n**Note:** If you installed ESLint globally then you must also install `eslint-plugin-typescript-sort-keys` globally.\n\n## Usage\n\nSpecify the parser for typescript files in your `.eslintrc` configuration file:\n\n```json\n{\n  \"parser\": \"@typescript-eslint/parser\"\n}\n```\n\nAdd `typescript-sort-keys` to the plugins section. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n  \"plugins\": [\"typescript-sort-keys\"]\n}\n```\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n  \"rules\": {\n    \"typescript-sort-keys/interface\": \"error\",\n    \"typescript-sort-keys/string-enum\": \"error\"\n  }\n}\n```\n\nOr enable all rules with defaults\n\n```json\n{\n  \"extends\": [\"plugin:typescript-sort-keys/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- begin rule list -->\n\n**Key**: :heavy_check_mark: = recommended, :wrench: = fixable\n\n<!-- prettier-ignore -->\n| Name | Description | :heavy_check_mark: | :wrench: |\n| ---- | ----------- | ------------------ | -------- |\n| [`typescript-sort-keys/interface`](./docs/rules/interface.md) | require interface keys to be sorted | :heavy_check_mark: | :wrench: |\n| [`typescript-sort-keys/string-enum`](./docs/rules/string-enum.md) | require string enum members to be sorted | :heavy_check_mark: | :wrench: |\n\n<!-- end rule list -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/infctr/eslint-plugin-typescript-sort-keys/issues"},"homepage":"https://github.com/infctr/eslint-plugin-typescript-sort-keys#readme","_id":"eslint-plugin-typescript-sort-keys@1.1.0-rc1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-2slNwoD3eolawEvYa9D1mvZxLjdIDPXh8OKvpd47oHNq2wNpHN0deLWkhQZEk2SF14KwlOwSREU2NNiOuAvzSg==","shasum":"7d71937fab541db61745c32d5d4b80f4d9c17ca4","tarball":"http://registry-npm.ywwl.com/eslint-plugin-typescript-sort-keys/download/eslint-plugin-typescript-sort-keys-1.1.0-rc1.tgz","fileCount":6,"unpackedSize":40637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyltzCRA9TVsSAnZWagAAboUP/0CnrFZMwYDNMkpxft0N\nEB1pmgnixyKgYdJiKbpYe59KpwOt4qkxRam6KwboZ7ocuyuPUbXhD73BY8eG\nLgM/HM8svPSx3TU7qBYEXPhgiGVDO4SgQ/eK2oBosPZwT7cUwmk2JS27/bW8\nCo8uI/PNUIBueOLgWuqaGYkYak/QA3TYqGqrk4anVBqAG5qp1yFVoLXqSpOm\nlVJjuhESRZtm9c+nnIFHHZibMIZzqr6p/dPPr66T97SqouavfykbrgqnkAFp\nJvlQrKMyR4dg56cX2X0j8DbadTBhAnGCMFPKMpfFQVNK3PHw4SiwiOXVJDqM\nf2dApW5m8CVkHc45VvrCIRtvYITVGSIJI7CNfp1oZ94Q7O2r0IvI8ibpPQqL\nV/zvETjKUVqYkjaH801cwlFoVLXWEyhpk8DcHyzq9NhoJWNrDk6Ob/4TIwaC\nw8e8ATy/a/1xm1PfIyRLiGe0CX3n773/ubEz7TaANGfhIucgxo9hiBHiHy1j\n92UXAUXI6LjSK8kiRoHQ3gKACdZoMuukJrDiMvZawrl3EvKb8dsqQPvInOxt\n+GQQPnHPCatPqI6kyDE2rUoJ4uIkL6cpbUsHH2dgPuSiquts1zRdYQ3VP/P8\n4zWcnLEQ7O9QhIXTZPTwiXv7065wLVVhjLunRFn1vdhNy/TGmFCgu93us9tS\nqiJ9\r\n=9U8Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHcM1OyjYEHrnyJG31PBs6FCYL/nGlSfVqszFxSghWrPAiB9bbIYnVHo9MluEBXuiUsD5cc2Rpux5XQBQGTZga4vDg=="}],"size":7372,"noattachment":false,"key":"/eslint-plugin-typescript-sort-keys/-/eslint-plugin-typescript-sort-keys-1.1.0-rc1.tgz"},"maintainers":[{"name":"infctr","email":"infctr@gmail.com"}],"_npmUser":{"name":"infctr","email":"infctr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-typescript-sort-keys_1.1.0-rc1_1590319987049_0.7025424184499647"},"_hasShrinkwrap":false,"publish_time":1590319987154,"_cnpm_publish_time":1590319987154,"dist-tags":{"latest":"3.3.0","next":"1.1.0-rc1"}}