{"name":"eslint-plugin-sort-keys-fix","version":"1.1.0","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":{"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":"^24.9.0","prettier":"^1.19.1"},"engines":{"node":">=0.10.0"},"license":"ISC","_id":"eslint-plugin-sort-keys-fix@1.1.0","dist":{"shasum":"b0855cd7bfb244eb558895514d4e0b5adc15478a","integrity":"sha512-6q5lM4eLjEui/GUUvrb7yTWWxslY0j7W4Ra6/F1t460fXLXtn18s0fDPqSYLsnXa6gXg+PYgh4eqdQbkgrqTpg==","tarball":"http://registry-npm.ywwl.com/eslint-plugin-sort-keys-fix/download/eslint-plugin-sort-keys-fix-1.1.0.tgz","fileCount":17,"unpackedSize":84835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzCAFCRA9TVsSAnZWagAAWq0P/1sx96+LlrVVX+ZmAxTa\n1FOWqdXYOYdYvS2JOodJaXFrPNcUc9TgSUEVIOasm49SYsPt/qn+QsKM40FE\nU4Afyjpth8y9iqbQSrBjjlRtPDYQtlCe91WeotjHSSEcFzt6FaqjFoF7ejOW\n+vYTBZhZSb1W510IHliLlSsTtaoWmWm2wbm1GqOFd55WyUL782dPfNZy6vMt\nxK1HfWnMnvgE+H0mioCqK6tgywvAiba5B/pluq4xZPUs3KUOzEgNxj3UJfOe\n+homq93wYWC4K69k+l5F3XDWIILgMSkufzbsX1fgfArh0GyWP+DSYx91gMpz\nDQHso9+rjIzVz5e6GWHujHt0Rf+8kslvNThN6tyUZgBecVXlaqd8NBEpGNdN\nTYNT/8tKXrZCu4c8PD2UxQ8aUjIX7FXnWyvi4fRxP7snVYk7jzXYl/hZIaK3\nQevBAOliCjCI0L2ZZvMbwEzj3MUQ8ajoOjVS0EYYDhJZInbTMF8XipHoco26\n3xM4YvMARpwxFWPFW/dk1dn7kg2bxv2ezHMVrwC6gwkHKhqSHz0YLLYUUhY6\nm8ZQPoaLxSo0lb9zMPRfeEFilJw7ccTKjUVI20t1GPhIVKDcIZO/cm63b+hw\nXQNwqrUNK5P36d5oxleRwUqr96kDPPBKIx6pbCXvr/nywRJxEdOiOHI3CE2T\npckb\r\n=pt0U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4lZtYySNXnlSLnoD3YQU2goSQPxbZgx25cJOp8ooYRQIhAMKNKDCiINJyaVy7fte/fXrIxermfpaoNGfQD5SBQcwG"}],"size":14537,"noattachment":false,"key":"/eslint-plugin-sort-keys-fix/-/eslint-plugin-sort-keys-fix-1.1.0.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.0_1573658628816_0.6039052918179852"},"_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":1573658629043,"_cnpm_publish_time":1573658629043,"dist-tags":{"latest":"1.1.2"}}