{"name":"eslint-plugin-sort-keys-fix","version":"1.1.2","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":{"espree":"^6.1.2","esutils":"^2.0.2","natural-compare":"^1.4.0","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.2","dist":{"shasum":"00c8b5791612ec32162b8d7a0563e9c6eb27ec59","integrity":"sha512-DNPHFGCA0/hZIsfODbeLZqaGY/+q3vgtshF85r+YWDNCQ2apd9PNs/zL6ttKm0nD1IFwvxyg3YOTI7FHl4unrw==","tarball":"http://registry-npm.ywwl.com/eslint-plugin-sort-keys-fix/download/eslint-plugin-sort-keys-fix-1.1.2.tgz","fileCount":17,"unpackedSize":86376,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhB6PACRA9TVsSAnZWagAAtYYP+gJhgyPXqMM7k6sBpgd3\n8H8dTeSjSA0RASx0xRIcYVJ7w1EfrUAySlGYE7rha3/zQ+pDW9bbnd1R1Tu3\nokDOE9NaE9A0ABcMlTuxevlqbJ0HuYnGPtpwNiFVYWdCjd1XmSRl3PUtQiwW\nCp4u/7zEmcQTK8wxvXiGIHKq5BQFHgUVEVZWG5q7rT8r0egHWYHBf4H4u++r\ncIXWx0kVGoY8rlty8/NSi8yZaov9Ppey1DbnOlBGeKhXV4GzVFINH2fWKN0w\nWmrJGYJfpYHAwER4WAG79ptFLuSrq06MkyTDjGv9Aj9FXj1M49P4Bl6g34Jh\nB+39jr4xDcm8R3yvGQaGHdNyohN9ftVPgnxnOIKFC8u7G5pFOS+LoQAEfQSr\nBY7Z7L24Q3yK8MO/xilEcvKPWvaEDvau01262q9M9q56EzW553XS79/IiiLy\nqEdfFg3kkEBVYdWKoCx3DIyuamxtyCgHhmP9Jzu/7Fevtjxe2jzyWWvIxVYa\njk96/lV4+LbHbRk+v0Zlux8ALIRMswTtv1dq972/mkychjsFqp/8tqo5i7Bs\nYP/MP7v0Aa0BxXQJknaNo3+fQfl49b+nCmEA0JFEFyM81JumPfLqDzC6b72/\nwn72V58sDclxrCZnRlQXzz2fCACYXtjxmN9wqUbFza8RO+qNlFniFa5WDTLs\nYjaH\r\n=MLK+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHHTTJiOFdD+zQRkMMdstxRZ3NCLXjkJEOpxKfxRtSFAIhAPb/318w0FwCNjbnfYsJ6aIzh1FpIhPFXL48z65db9Qo"}],"size":14877,"noattachment":false,"key":"/eslint-plugin-sort-keys-fix/-/eslint-plugin-sort-keys-fix-1.1.2.tgz"},"_npmUser":{"name":"leo-buneev","email":"buneev.leonid@gmail.com"},"directories":{},"maintainers":[{"name":"leo-buneev","email":"buneev.leonid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-sort-keys-fix_1.1.2_1627890624768_0.7098113818821654"},"_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":1627890624918,"_cnpm_publish_time":1627890624918,"dist-tags":{"latest":"1.1.2"}}