{"name":"eslint-plugin-sort-keys-fix","version":"1.1.1","description":"Fork of eslint rule that sorts keys in objects (https://eslint.org/docs/rules/sort-keys) with autofix enabled","repository":{"url":"https://github.com/leo-buneev/eslint-plugin-sort-keys-fix","type":"git"},"keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"Leonid Buneev","email":"buneev.leonid@gmail.com"},"main":"lib/index.js","scripts":{"lint":"eslint ./lib","lint-fix":"eslint ./lib --fix","test":"jest","test-debug":"node --inspect node_modules/.bin/jest --watch --runInBand"},"dependencies":{"requireindex":"~1.2.0"},"devDependencies":{"babel-eslint":"^10.1.0","eslint":"~6.6.0","eslint-config-prettier":"^6.5.0","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^10.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","eslint-plugin-tyrecheck":"https://tycgitlab.tyrecheck.com/leonid.buneev/eslint-plugin-tyrecheck.git","jest":"^25.4.0","prettier":"^1.19.1"},"engines":{"node":">=0.10.0"},"license":"ISC","_id":"eslint-plugin-sort-keys-fix@1.1.1","dist":{"shasum":"2ed201b53fd4a89552c6e2abd38933f330a4b62e","integrity":"sha512-x02SLBg+8OEaoT9vvMbsgeInw17wjHLsa9cOieIVQY+xMNRiXBbyMWw+NiBoxYyJIR4QKDOPDofCjQdoSvltQg==","tarball":"http://registry-npm.ywwl.com/eslint-plugin-sort-keys-fix/download/eslint-plugin-sort-keys-fix-1.1.1.tgz","fileCount":17,"unpackedSize":86293,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoGwmCRA9TVsSAnZWagAAxPAQAJDta9SmbpEY9btCib6p\nTkBkj5XvnIUWiF+ggaIb3TLZoh59XCsWE8CZUWAfpRMLHal3gdG2FDhue96h\nkuLWatA2Gs9Hm4tSJ8AlQa6SblGstUQy1BaakkHYVsOuH6STTujn42IIV/qw\nuGNTRUgKH+SjobX3hv7BCfJj3wZtdGRXsjtxGxG3omYwfZp8BSWYDliHrVD7\nRMOxJzXK5ItLkl8zrhlIWB8tVJV1jmRoS9rLedWv2j+NwnMfeFk5GjKQ0Dvr\n6NTd7cSac5HBpye8DwuToCHImZHUXbF1hXdVh5zh3Ebr7nmTGMYobApdgaWk\n0aTY0s0so9NxBfESDGhqpAQXuTcrftzVb2t2yD/Z/ke3GFgpNS2W4/h/LmDP\nON1AgclAmcmuosFbVkJGFk3fl5Yo+9NX48/LIshv2HIMptHlAdNMmKCPoCHo\nq2JLc9siR9OhBdFeQ24/kEyzlaandFeci8bEO1YDFocNrtOqAIOJTIir8Zs1\nCNDeHWdlR2RjvoVOuXTg071lbACPRPw0K5wO3AFpr5iT6a3E8HGTNIxqW6xL\nTwCKu+j7Jenb+EawixVZNE/Mh+Z9igEC3EWRjf5ZyXdiU3oOmSfAuCandXqG\ne2+yhx1XrxCoAkCeDtwGfsifs+l1kecDFYR4eVVWFo2G7MwCfDaZG8UF0ZJr\nMBfT\r\n=YzUa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGpdiHEnb7n5CDUe9VZUbdl3E11vYiopdzhM6XyvGa3AAiEA9cl1zS3AGQgggym7XXqO+VUDjJY0nbfFB0tAOt0V4+w="}],"size":14842,"noattachment":false,"key":"/eslint-plugin-sort-keys-fix/-/eslint-plugin-sort-keys-fix-1.1.1.tgz"},"maintainers":[{"name":"leo-buneev","email":"buneev.leonid@gmail.com"}],"_npmUser":{"name":"leo-buneev","email":"buneev.leonid@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-sort-keys-fix_1.1.1_1587571749701_0.4793048403757283"},"_hasShrinkwrap":false,"readme":"# eslint-plugin-sort-keys-fix\n\nFork of eslint rule that sorts keys in objects (https://eslint.org/docs/rules/sort-keys) with autofix enabled\n\n## Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```\n$ npm i eslint --save-dev\n```\n\nNext, install `eslint-plugin-sort-keys-fix`:\n\n```\n$ npm install eslint-plugin-sort-keys-fix --save-dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-sort-keys-fix` globally.\n\n## Usage\n\nAdd `sort-keys-fix` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n  \"plugins\": [\n    \"sort-keys-fix\"\n  ]\n}\n```\n\n\nThen add sort-keys-fix rule under the rules section.\n\n```json\n{\n    \"rules\": {\n        \"sort-keys-fix/sort-keys-fix\": \"warn\"\n    }\n}\n```\n\nOften it makes sense to enable `sort-keys-fix` only for certain files/directories. For cases like that, use override key of eslint config:\n\n```jsonc\n{\n  \"rules\": {\n    // ...\n  },\n  \"overrides\": [\n    {\n      \"files\": [\"src/alphabetical.js\", \"bin/*.js\", \"lib/*.js\"],\n      \"rules\": {\n        \"sort-keys-fix/sort-keys-fix\": \"warn\"\n      }\n    }\n  ]\n}\n```\n\n## Rule configuration\n\nFor available config options, see [official sort-keys reference](https://eslint.org/docs/rules/sort-keys#require-object-keys-to-be-sorted-sort-keys). All options supported by `sort-keys`, besides `minKeys`, are supported by `sort-keys-fix`.\n\n\n\n\n\n","publish_time":1587571749830,"_cnpm_publish_time":1587571749830,"dist-tags":{"latest":"1.1.2"}}