{"name":"eslint-plugin-sort-keys-fix","version":"1.0.0","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":"f3dc1eb130b818a1799401e0c74266762d6e93ab","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.0","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"leo-buneev","email":"buneev.leonid@gmail.com"},"dist":{"integrity":"sha512-+v9ASU/hFKtAE3CcUkTdGjYTng+ygFOjlM91JkkZD5Srcz5GPRUo18dEPnn//Pw4EINVq806BMrQxN3ZEGNLWA==","shasum":"98448e2a2d962b8705a42a3d32d7199f03b5cb96","tarball":"http://registry-npm.ywwl.com/eslint-plugin-sort-keys-fix/download/eslint-plugin-sort-keys-fix-1.0.0.tgz","fileCount":9,"unpackedSize":204401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb41KBCRA9TVsSAnZWagAAfAEP/j4ioB8xcdJtfkpILpdY\nA+kzAyP0srqtXoQ/v2FamA6NUcwbad4fRKR2BFxoAHtcrs3GlsjIYE6seIaa\n/H8TCJB+zAD7RwWMIMGv1g5cP7obbmRh3VrywC/IxHm4F5zv36qC+Ja6w2pY\nzt54UlLAYkA94XHbke+aOKcF4bOfaRLRs2Bm0/UvtA/NLmepOmexUUuGi5F1\nN+CP8Fj7XmT36e1NhW7vIgf/OA6i2uWElY+ESZojnOqN6jwGZUvNUQgaRi8z\n5fVQRvXCknPugMB/1obV9wBmL+lGmJulR1Q9xIqBd8o6uZ0tcZbF768hdVVE\nfZvFAIK6s/3gQIil5v4W0LstywwNTJKXrETtq44Ehiwn/Y5jkzKCOuyIs+LV\nlyOG08hSfxrgwJ4cscF/UVr2T7EVMnvog/p8NKNGse+8XjcO0Ea1yV7bFXA6\nqN/ZhmFL5B4txP9vsR96rcW9W4WPUumaXmbSqiuYDTyUEX3T4R8kvQyf6kTu\nugYGEwNXAQB+CG/k80ie7nBmqcnTUvfUS65E+ZbIdd6cX/Z42qmfr9OOaxjI\nwrAhlRjSn3zGOB8foBlt+itNwWuQ5vjBsUMOwfhGijISYsAVKDCHeO+Wxlel\ngd4X0/UMtOyaBLsDGh9yuGl4tecW02U0IVSNgW0vgmsKerJD+zYc1ewZJGZf\n1wBx\r\n=n6qE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF60QaWWWSsX4DYrX6wNT68j3wP0Das8GEWaxJD64SXzAiEA60/EP1C/opxLl0bAdBBcisTwclte8BKbCpMfuBfS6zE="}],"size":48501,"noattachment":false,"key":"/eslint-plugin-sort-keys-fix/-/eslint-plugin-sort-keys-fix-1.0.0.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.0_1541624448933_0.22623524153741226"},"_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":1541624449055,"_cnpm_publish_time":1541624449055,"dist-tags":{"latest":"1.1.2"}}