{"name":"eslint-plugin-sort-keys-fix","version":"1.0.1","description":"Fork of eslint rule that sorts keys in objects (https://eslint.org/docs/rules/sort-keys) with autofix enabled","repository":{"url":"git+https://github.com/leo-buneev/eslint-plugin-sort-keys-fix.git","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"},"dependencies":{"requireindex":"~1.1.0"},"devDependencies":{"eslint":"~5.8.0","eslint-config-prettier":"^3.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-prettier":"^3.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","eslint-plugin-tyrecheck":"https://tycgitlab.tyrecheck.com/leonid.buneev/eslint-plugin-tyrecheck.git","jest":"^23.6.0","prettier":"^1.14.3"},"engines":{"node":">=0.10.0"},"license":"ISC","gitHead":"8a6092401334976d2d0e9feed80d4b3ca38f7ca3","bugs":{"url":"https://github.com/leo-buneev/eslint-plugin-sort-keys-fix/issues"},"homepage":"https://github.com/leo-buneev/eslint-plugin-sort-keys-fix#readme","_id":"eslint-plugin-sort-keys-fix@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"leo-buneev","email":"buneev.leonid@gmail.com"},"dist":{"integrity":"sha512-Y9a6Qb7wsa4uF7/5Qq18MEKB4zbIfo1YJjuvEmVwOOhZ4mMkXzJxkoEpEtsIdTC2rXCMXQOCi/1XAJwYFf/YMA==","shasum":"b80422c643df16e8a662b3e22e1cbc1138fa64fa","tarball":"http://registry-npm.ywwl.com/eslint-plugin-sort-keys-fix/download/eslint-plugin-sort-keys-fix-1.0.1.tgz","fileCount":9,"unpackedSize":204406,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb41OSCRA9TVsSAnZWagAAYjEQAJeuXiBm7Qxt5LESz6Jw\nLEGU3imXBge3OIls0Hrvt5eZkavZ2WAGx6pUhqGThY0qYYKya+Ee6xLyimg8\nKCk+qsqyDUwjKV+xg6TZREspVLhOaS1lO2t1PwbmLg+DNzXpLL1I3eg9U7Wr\n6UHPBozQntcn7xv6i4NUNiLPZHWW6rAAhhFeqDl1sLIMmVw5QWTOynmtQejd\nqOl84LPFYmIXqPbqxMRvYA3/vxJPB7MtpnK0Oi3zFf+KuG8pGiC4gL8bti24\n5KTO2gnubB2p48oazUEduZBOUbjgnQpn7KTFQPDZaRfocJ16i5+l1wOTq1XP\nZoo2bxvTBE7N48kjN0JRBQbUkSzVloLK6SLgtx/mIRDHhmOeWTFgy8HdtfV+\nx/jcrmzF+zU02kr4Phrt41Aa7rOIUXqoAB1UiNrzQzcehiabndGZG/GezWeV\niFIpubWbkMAJKziMEeq66T3O75ucuLf3k1IkHlOo/Dnvih4OFY1UKM3w5bpI\nA/QZtPP+euChxWYoD0Wlum1djJgBp2++XRu0TxQFT+RsZzFFJYY51szcZ1bO\nOKQPLiDn9RO6Uc7BiKzIbFW++Ki79v5pUdtGe+aQssf6eLlUcfiIDTw6lZNY\nU6+k6a11/jnYetXCNfqCEIKkPRfj75EWCpj614p2iGnGCTBKv0L5f0LQKYaM\nNCd5\r\n=A/ql\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIohNKPUGUipNgTJcafOEn5MzxC9sFK1M8jqak2MwEfgIgFztce7XBRUuPXsdMaYNKM/m79ys65YPhYXKKSGc3ZTU="}],"size":48501,"noattachment":false,"key":"/eslint-plugin-sort-keys-fix/-/eslint-plugin-sort-keys-fix-1.0.1.tgz"},"maintainers":[{"name":"leo-buneev","email":"buneev.leonid@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-sort-keys-fix_1.0.1_1541624722103_0.4020627916124575"},"_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":1541624722254,"_cnpm_publish_time":1541624722254,"dist-tags":{"latest":"1.1.2"}}