{"_id":"eslint-plugin-json-format","_rev":"5-484bab636a767f0d1dcd9b85006eacec","name":"eslint-plugin-json-format","dist-tags":{"latest":"2.0.1"},"versions":{"1.1.0":{"name":"eslint-plugin-json-format","version":"1.1.0","description":"lint and auto-fix json","main":"lib/index.js","scripts":{"lint":"eslint --ext .ts,.js,.json,.eslintrc .","lint-fix":"yarn lint --fix","semantic-release":"semantic-release","test":"jest","test-watch":"DEBUG='json*' DEBUG_DEPTH=10 yarn jest --watch"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"dependencies":{"common-tags":"^1.8.0","debug":"^4.1.1","diff":"^4.0.1","json5":"^2.1.0","line-column":"^1.0.2","lodash":"^4.17.15","minimatch":"^3.0.4","sort-package-json":"^1.22.1"},"devDependencies":{"@cypress/eslint-plugin-dev":"^3.2.0","@cypress/eslint-plugin-json":"^3.2.3","@types/fs-extra":"^7.0.0","@types/jest":"^24.0.15","@typescript-eslint/eslint-plugin":"^1.11.0","@typescript-eslint/parser":"^1.11.0","eslint":"6.1.0","eslint-plugin-mocha":"^5.3.0","eslint-plugin-sort-requires":"^2.1.0","fs-extra":"^8.0.1","husky":"^3.0.0","jest":"^24.8.0","jest-cli":"^24.8.0","lint-staged":"^9.2.1","semantic-release":"^15.13.16","typescript":"^3.5.2"},"peerDependencies":{"eslint":">= 3.2.1"},"engines":{"node":">=0.10.0"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bkucera/eslint-plugin-json-format.git"},"author":{"name":"bkucera"},"keywords":["eslint","eslint-plugin","eslint-plugin-json","eslintplugin","json","json-format"],"lint-staged":{"*.{js,jsx,ts,tsx,json,eslintrc}":["eslint --fix","git add"]},"gitHead":"6bda52db205b85ba8077b847f52346b8f5b2b142","bugs":{"url":"https://github.com/bkucera/eslint-plugin-json-format/issues"},"homepage":"https://github.com/bkucera/eslint-plugin-json-format#readme","_id":"eslint-plugin-json-format@1.1.0","_nodeVersion":"10.13.0","_npmVersion":"6.9.2","dist":{"integrity":"sha512-ot8HNXNUMEuex5/TlaG1jrDvgwEc0wC0pPp+pBhjnZij3r28CWNQ+0KgiNzpAK9XMKt4SHRw29qJCkOT89QD7g==","shasum":"37f00c0a5d81fe8fff9c0bf808d9c0479121b691","tarball":"https://registry.npmjs.org/eslint-plugin-json-format/-/eslint-plugin-json-format-1.1.0.tgz","fileCount":6,"unpackedSize":19814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdRHNaCRA9TVsSAnZWagAAwTwQAJabc1QyDYgzGREitjaT\ncyZ6+MocHTOsr3vAAy7WykaDXJ9UjFfJPTLtDQnbg8xkyjPxtaL+EU8cMRFQ\nRzCy04mTR03dIaWrokTCi9m+yaDqvCPxYubXiGZzjRa4ZGPH5/D+MwcVFJ4b\nymstd2lDjB0YnwJv4DxkbcegkKNMBXPQC929QFqphQYvtPwig407Ox0KCByl\nnUFjytyqDECmvptoJGz6x+wtanu/bYU3Stdz6w4cWY6aITEW6m+E63RIiDxC\nShq9OhXDB6E0it4YmPUZ62rwnZm9GjKrEtuclj67WsRPrvnws6lJv3hZFY/S\napCnJ90y7vSMh6ZRejWC1FBxSuZqQBBkgML2mSqoFgUPBD2/u7OaXrLVUE3d\n7t3v22fghGjfqeu460fwTXz0Jq67BWQaHOXdkiNqc8a1wsWjlZCJBhI2ASJY\n28QGDuGFhdcnDdIP0yGEjFsj3/NFHWiWewR0Pfsa2gstzVX7I/JAkRO02EA0\n/ej2jmm3bpBRDGROpmVAm915RcEKrTDoC4Me2Cdg9k48CcIZxV6Ho65Di7Pw\nzxalQxfWJGIIz3Cf4YckadjOlAKZ7MIjR3Nf07y0gJlxjk9nwsYDzztA6KDa\n0QkeV0bj0i653kW23a7P53mvYKIsNExQobysmASpiJE443Ynpii8q2UMYjXq\na+4l\r\n=6SXV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfG3zGqHMPB8o7zuVIfLGWBLiU60GN3ylfFYz1gOBKGAIgC536e73/x8hWqDZUrcEMdbih5ERzQtcECy7BH5+B+Cg="}]},"maintainers":[{"name":"bkucera","email":"benkucera+npm@gmail.com"}],"_npmUser":{"name":"bkucera","email":"benkucera+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-json-format_1.1.0_1564767066229_0.7203497727261166"},"_hasShrinkwrap":false},"1.2.0":{"name":"eslint-plugin-json-format","version":"1.2.0","description":"lint and auto-fix json","main":"lib/index.js","scripts":{"lint":"eslint --ext .ts,.js,.json,.eslintrc .","lint-fix":"yarn lint --fix","semantic-release":"semantic-release","test":"jest","test-watch":"DEBUG='json*' DEBUG_DEPTH=10 yarn jest --watch"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"dependencies":{"common-tags":"^1.8.0","debug":"^4.1.1","diff-match-patch":"^1.0.4","json-fixer":"^1.3.1","line-column":"^1.0.2","lodash":"^4.17.15","minimatch":"^3.0.4","sort-package-json":"^1.22.1"},"devDependencies":{"@cypress/eslint-plugin-dev":"^3.2.0","@cypress/eslint-plugin-json":"^3.2.3","@types/fs-extra":"^7.0.0","@types/jest":"^24.0.15","@typescript-eslint/eslint-plugin":"^1.11.0","@typescript-eslint/parser":"^1.11.0","eslint":"6.1.0","eslint-plugin-mocha":"^5.3.0","eslint-plugin-sort-requires":"^2.1.0","fs-extra":"^8.0.1","husky":"^3.0.0","jest":"^24.8.0","jest-cli":"^24.8.0","lint-staged":"^9.2.1","semantic-release":"^15.13.16","typescript":"^3.5.2"},"peerDependencies":{"eslint":">= 3.2.1"},"engines":{"node":">=0.10.0"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bkucera/eslint-plugin-json-format.git"},"author":{"name":"bkucera"},"keywords":["eslint","eslint-plugin","eslint-plugin-json","eslintplugin","json","json-format"],"lint-staged":{"*.{js,jsx,ts,tsx,json,eslintrc}":["eslint --fix","git add"]},"gitHead":"badb09b2b82a99aa4a982cc1e3d552e39052c69a","bugs":{"url":"https://github.com/bkucera/eslint-plugin-json-format/issues"},"homepage":"https://github.com/bkucera/eslint-plugin-json-format#readme","_id":"eslint-plugin-json-format@1.2.0","_nodeVersion":"10.13.0","_npmVersion":"6.9.2","dist":{"integrity":"sha512-ezKazF6JLg02zSpJbG9EliF+VLazyXjVT7l7KeAYdmmZvQFPzLrB+Mu3454eM2/BPiFXt4brhno3UHDXZUeYgw==","shasum":"c2c797b03171df0b7578f35499896b8427edf7f2","tarball":"https://registry.npmjs.org/eslint-plugin-json-format/-/eslint-plugin-json-format-1.2.0.tgz","fileCount":6,"unpackedSize":22421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdRnAfCRA9TVsSAnZWagAA4lQP/1jOGXf7GjbUEHWUuOGj\nu/fSSDJnRFShgkHsKr4A/N49r5CPISlFigOXgvQtwcJj1g9BMHLphjYNwbVQ\nx6iOVw8E/9R7dSFagVOfZbzVc4228xwyfznqg5J8Aw1uOW66Cze5Qo0Nck9d\n4hr5ckLn85sQLoE/Kgov3s0a5M1ZIdnW27/lqCBmTcGyo/F1wKdAqywzfNL8\n2mgbn6ro/fr76gfAJDqt+WJ3VILLg3oVS+QG83ziU2s0zuajmxeYbx7b/wqm\nvfUxYP9rmffYZ+OIoPQFmIJC8xpYEtKzpQbY0ZCoFf+SYcX64sHYThN9A5CC\naG1sotx3pJQ5n6w11hqSAX/UrnAJE9bt+AQmU1r0+z7S31FlGNWbCkgfvhcL\n3X3xG9pl/iK8bF1eH/VHJRqfeV064PtzQZD8Grse1lr1ldl0Ch5cuWD208Zx\npxjfJXeBu+e5k6YZeDDHJy2qbo6OWQiG7AZ0DuvPLFEc1czXmXaqAsIWuDkP\nLbGLE29eyIk22P76bfGukhoYJaNuedmo9bFbrWZ2wW7pnEnzij7qjylr3Gnj\nfRkrjAFOAKWVq0v4Lx8zjrT08CGqrq28E2Z7pY5oKufda18S/vGMQtLKQmCr\nJRnWqQ4O9SUw8fnWt+T2nTJo3HdNSRz16BYkQbebbQyYs8AFv8eiJfA+Dn9t\n1knV\r\n=QLgc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBg09W9R+rG2AQXTOskxoRVTZiXr6sbivzR7U0QG7ZsvAiB1Uayui73/d8GuqwYPHoAU/YQ4kBBeHyufSBvLNy6Cvw=="}]},"maintainers":[{"name":"bkucera","email":"benkucera+npm@gmail.com"}],"_npmUser":{"name":"bkucera","email":"benkucera+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-json-format_1.2.0_1564897310980_0.25355299811871124"},"_hasShrinkwrap":false},"2.0.0":{"name":"eslint-plugin-json-format","version":"2.0.0","description":"lint and auto-fix json","main":"lib/index.js","scripts":{"lint":"eslint --ext .ts,.js,.json,.eslintrc .","lint-fix":"yarn lint --fix","semantic-release":"semantic-release","test":"jest","test-watch":"DEBUG='json*' DEBUG_DEPTH=10 yarn jest --watch"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"dependencies":{"common-tags":"^1.8.0","debug":"^4.1.1","diff-match-patch":"^1.0.4","json-fixer":"^1.3.1","line-column":"^1.0.2","lodash":"^4.17.15","minimatch":"^3.0.4","sort-package-json":"^1.22.1"},"devDependencies":{"@cypress/eslint-plugin-dev":"^3.2.0","@cypress/eslint-plugin-json":"^3.2.3","@types/fs-extra":"^7.0.0","@types/jest":"^24.0.15","@typescript-eslint/eslint-plugin":"^1.11.0","@typescript-eslint/parser":"^1.11.0","eslint":"6.1.0","eslint-plugin-mocha":"^5.3.0","eslint-plugin-sort-requires":"^2.1.0","fs-extra":"^8.0.1","husky":"^3.0.0","jest":"^24.8.0","jest-cli":"^24.8.0","lint-staged":"^9.2.1","semantic-release":"^15.13.16","typescript":"^3.5.2"},"peerDependencies":{"eslint":">= 3.2.1"},"engines":{"node":">=0.10.0"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bkucera/eslint-plugin-json-format.git"},"author":{"name":"bkucera"},"keywords":["eslint","eslint-plugin","eslint-plugin-json","eslintplugin","json","json-format"],"lint-staged":{"*.{js,jsx,ts,tsx,json,eslintrc}":["eslint --fix","git add"]},"gitHead":"7d70c62870f7a4b209908a49e5ce156ad6a53783","bugs":{"url":"https://github.com/bkucera/eslint-plugin-json-format/issues"},"homepage":"https://github.com/bkucera/eslint-plugin-json-format#readme","_id":"eslint-plugin-json-format@2.0.0","_nodeVersion":"10.13.0","_npmVersion":"6.9.2","dist":{"integrity":"sha512-RIabYEYE/zPFoLxGooeEVdTb/geZY9PdNk0prED0i4Cs+XxpmCWdl9Y8JKDBjiZoGo786a6AOFA00KHfL+2LoQ==","shasum":"fa018db27a730140169bc1797cc0f26758c82c21","tarball":"https://registry.npmjs.org/eslint-plugin-json-format/-/eslint-plugin-json-format-2.0.0.tgz","fileCount":6,"unpackedSize":22439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdR4/jCRA9TVsSAnZWagAAYdYQAJy0daKUGU/DthvdJPvE\npdF/1TJJNnkRXVa2XiWsczucYM4YLkuixz4CelI7cp0TUTI9L+AzS4kdHI4O\nxQTtbYU0V4cOJSC1X0oMs3+IgGZ/B5W/Re/YYSRUp05YOu/k+Mdm4YiYyQTu\nnN07271md3/6BfNcDZpJHKWR9D+OqsXPjcK28qSH5WzKmJA+dp+IbIJlWAva\n8VrSxmRjdISS6sxFXpG68RYujnxumZxcbud1ZmCrbGyLfa7BiUjdHE69QxGZ\n4zhrhZLeALn0DX++KTBZryNAE0x8XfWF+zxXSl62YEA57Er3yUSS6yl5RGcS\nU6xcZf5h0IK21mWbwa88joeq0XIKnm5PAocoW5MeEU37avfoFy9A9nPtUy4r\nAy21V8/NGhil7tB7GKmk1Vh4AgrH18gMc0QmNbl4RM7seYhU0ZAUf4IRt2cx\nY2g7khbOwJVvGrH+7x+amwaV5jQCKfqvLbPPFT6CobXWrFXMaR8vRHar6q4F\nUIRArBXgc+lodFyTJQJUqKvSe9xFxBCIJLGz/aQHHWrEVrmYvLHwl8CFVCxz\n0E8Vblv0Zaj67k2VGmJ/OBXUMong3vyok0kkTgdRybtMUaLzc/bQRM5+cidG\nBaAujWHl5/l26EZ5VFyFDGPwKk2llsFsZT8JVxLC8nJX5Oe/yx6qszZ49/FG\nHsvN\r\n=pxmZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGsSo5w7ILk1fr3Q3Vu4FO7zO9yfDqTPXBGgSPfp9XcvAiEA0UdsUf2gRO7/Y0/Ib2rmoTIkVdOXheTStwnFVrRm08w="}]},"maintainers":[{"name":"bkucera","email":"benkucera+npm@gmail.com"}],"_npmUser":{"name":"bkucera","email":"benkucera+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-json-format_2.0.0_1564970978680_0.2894261232780968"},"_hasShrinkwrap":false},"2.0.1":{"name":"eslint-plugin-json-format","version":"2.0.1","description":"lint and auto-fix json","main":"lib/index.js","scripts":{"lint":"eslint --ext .ts,.js,.json,.eslintrc .","lint-fix":"yarn lint --fix","semantic-release":"semantic-release","test":"jest","test-watch":"DEBUG='json*' DEBUG_DEPTH=10 yarn jest --watch"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"dependencies":{"common-tags":"^1.8.0","debug":"^4.1.1","diff-match-patch":"^1.0.4","json-fixer":"^1.3.2","line-column":"^1.0.2","lodash":"^4.17.15","minimatch":"^3.0.4","sort-package-json":"^1.22.1"},"devDependencies":{"@cypress/eslint-plugin-dev":"^3.2.0","@cypress/eslint-plugin-json":"^3.2.3","@types/fs-extra":"^7.0.0","@types/jest":"^24.0.15","@typescript-eslint/eslint-plugin":"^1.11.0","@typescript-eslint/parser":"^1.11.0","eslint":"6.1.0","eslint-plugin-mocha":"^5.3.0","eslint-plugin-sort-requires":"^2.1.0","fs-extra":"^8.0.1","husky":"^3.0.0","jest":"^24.8.0","jest-cli":"^24.8.0","lint-staged":"^9.2.1","semantic-release":"^15.13.16","typescript":"^3.5.2"},"peerDependencies":{"eslint":">= 3.2.1"},"engines":{"node":">=0.10.0"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bkucera/eslint-plugin-json-format.git"},"author":{"name":"bkucera"},"keywords":["eslint","eslint-plugin","eslint-plugin-json","eslintplugin","json","json-format"],"lint-staged":{"*.{js,jsx,ts,tsx,json,eslintrc}":["eslint --fix","git add"]},"gitHead":"2e82fb3fdabbbf99bb244fa6c67eef7092c4f645","bugs":{"url":"https://github.com/bkucera/eslint-plugin-json-format/issues"},"homepage":"https://github.com/bkucera/eslint-plugin-json-format#readme","_id":"eslint-plugin-json-format@2.0.1","_nodeVersion":"10.13.0","_npmVersion":"6.9.2","dist":{"integrity":"sha512-eWT0sNqIEYzKqbej2dvz+/oQ4JQxthE3i+izjInIdfbsPfVgBtiWbmagkgKStje0LJqo9FATx1LWl6xcuxqsBQ==","shasum":"31c6ef89e8210ba2e262381eb5d26d24cb74bc67","tarball":"https://registry.npmjs.org/eslint-plugin-json-format/-/eslint-plugin-json-format-2.0.1.tgz","fileCount":6,"unpackedSize":22544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbr6gCRA9TVsSAnZWagAAN8UP/RqqJdot6tiq7yRPI/qL\n4iO3PFVwlwSeNbk+398AqAhCE2FNovzl4tjxa+Fj9mPQsSjTDCI6IAFeBotu\nTf+7R4W1Sx9q7qL/bzGc8nGO7oghRRvP6t+Qv5V9WUadJA/dIUs3ySvIDSsI\nkMFztFN716pWiNDTpSmVDczqoGmVB8lRU8mD5hEuGwpbh8ajzDIHlKjEFehN\n2w8+0jKYdMw+YvCCGpBavUEiy0oJ4etAkqZHDCyGskrte4qxdmax2uFhpzbq\nnwiEEV7eXoi2RmnVkz/fL4YVxo3PQkaZrW1/vwshB/YUAnIVtZ6mLBiGAZw5\nsXf8u1cqL8gdoJXvA1MBHuNFsdRPGsYgnEQzCfpeI60pYC3EMKM9MP8s+OrX\nSGE7uFVOGQ/hFtiE7YFlwrW7NOgAffrT53+pnxwV/yrEcfkeC4PrYlTVZAHJ\n3YIUh1qpXaxclsvYOYSjVp5QDrkNcxEZib8M+T2w6QE5hpl3Izn39d1Aox8W\n8sPI3wpVssw6s9ZMs4fwoLx78p3xIo0N8ckoeWlef9n1FtoQ1CMcUdw2BN4t\naV7Wh5zGPtIOeDQFNwrhzlW9TOb4Rh4OaS9prek1wmBcLh2XscFt8da/lpii\nFmKcl1XT/4IW2jKW3I4KdiudQ+f5x3eI1usr2xTwOc2ej/3DIZK4eBN3T3hp\nqVZv\r\n=IyGl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICd0X0jiR39bDgwMjz8hhJ6ZfTovDDzyhUXiQQMF3Tb6AiEA46HYEAApQUQ13A3g4RYlJm/Hilj6xnJAy2pI6d09mFY="}]},"maintainers":[{"name":"bkucera","email":"benkucera+npm@gmail.com"}],"_npmUser":{"name":"bkucera","email":"benkucera+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-json-format_2.0.1_1567538847851_0.11109961357820208"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-02T17:31:06.228Z","1.1.0":"2019-08-02T17:31:06.351Z","modified":"2023-04-04T20:14:19.799Z","1.2.0":"2019-08-04T05:41:51.127Z","2.0.0":"2019-08-05T02:09:38.829Z","2.0.1":"2019-09-03T19:27:28.003Z"},"maintainers":[{"name":"bkucera","email":"benkucera+npm@gmail.com"}],"description":"lint and auto-fix json","homepage":"https://github.com/bkucera/eslint-plugin-json-format#readme","keywords":["eslint","eslint-plugin","eslint-plugin-json","eslintplugin","json","json-format"],"repository":{"type":"git","url":"git+https://github.com/bkucera/eslint-plugin-json-format.git"},"author":{"name":"bkucera"},"bugs":{"url":"https://github.com/bkucera/eslint-plugin-json-format/issues"},"license":"MIT","readme":"<div align=\"center\">\n    <img width=\"150\" height=\"150\" src=\"docs/logo.svg\">\n    <h1>eslint-plugin-json-format</h1>\n    <a href=\"https://circleci.com/gh/Bkucera/eslint-plugin-json-format\"><img alt=\"CircleCI\" src=\"https://img.shields.io/circleci/build/gh/Bkucera/eslint-plugin-json-format\"></a>\n    <a href=\"https://www.npmjs.com/package/eslint-plugin-json-format\"><img src=\"https://img.shields.io/npm/v/eslint-plugin-json-format.svg?style=flat\"></a>\n    <a href=\"https://www.npmjs.com/package/eslint-plugin-json-format\"><img src=\"https://img.shields.io/npm/dm/eslint-plugin-json-format.svg\"></a>\n    <a href=\"https://github.com/bkucera/eslint-plugin-json-format/blob/master/LICENSE\"><img src=\"https://img.shields.io/github/license/bkucera/eslint-plugin-json-format.svg\"></a>\n    <p>An <a href=\"http://eslint.org\">ESLint</a> plugin to lint, format, auto-fix, and sort your <code>json</code> files.</p>\n\n</div>\n\n## Features\n\n- lint, format, and auto-fix `json` files (files ending with `.json` or `rc`)\n- auto-sort `package.json` files (default `true`, can be disabled and sorting configured)\n- ignores `json-with-comments` files (default `[\"**/.tsconfig.json\", \".vscode/**\"]`)\n- ignores certain files by default (default `[\"**/package-lock.json\"]`)\n\n## Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```sh\nnpm install eslint --save-dev\n```\n\nNext, install `eslint-plugin-json-format`:\n\n```sh\nnpm install eslint-plugin-json-format --save-dev\n```\n\n## Usage\n\nAdd `json-format` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n  \"plugins\": [\n    \"json-format\"\n  ]\n}\n```\n\n**cli example**:\n```sh\n# lint entire poject for js and various json files\neslint --ext .js,.json,.eslintrc,.babelrc --fix .\n```\n\n> Note: **In order to lint hidden files** (e.g. `.eslintrc.json`), you'll need to modify/create a `.eslintignore` in your project root with these contents:\n`.eslintignore`:\n```gitignore\n# eslint ignores hidden files by default\n!.*\n**/node_modules\n```\n\n## Settings\n\n### default settings (`.eslintrc`):\n```json\n\"settings\": {\n  \"json/sort-package-json\": \"standard\",\n  \"json/ignore-files\": [\"**/package-lock.json\"],\n  \"json/json-with-comments-files\": [\"**/tsconfig.json\", \".vscode/**\"],\n}\n```\n> Note: glob patterns use [`minimatch`](https://github.com/isaacs/minimatch/) against path names relative to the project root (cwd)\n\n### `sort-package-json` order\nYou can configure the exact sort order of your `package.json` files (or turn it off entirely with `false`)\n\n#### Available sorting options\n\n**false**: disable `package.json` sorting.\n\n**\"standard\"**: default from [`sort-package-json`](https://github.com/keithamus/sort-package-json). This is a sane, standard order.\n\n**\"pro\"**: places scripts and dependencies at the top, reducing need to scroll down to view them. Pros only.\n\n**[\"your\", \"custom\", \"order\", \"here\"]**: provide an array to manually set the sort order.\n\n### Settings examples\n\nto turn off sorting `package.json` files for example, in your `.eslintrc`:\n```json\n{\n  \"plugins\": [\n    \"json-format\"\n  ],\n  \"settings\": {\n    \"json/sort-package-json\": false,\n  }\n}\n```\n\nto format `tsconfig.json` (this will strip comments!), in your `.eslintrc`:\n```json\n{\n  \"plugins\": [\n    \"json-format\"\n  ],\n  \"settings\": {\n    \"json/json-with-comments-files\": [],\n  }\n}\n```\n\nchange the sort order of `package.json`:\n```json\n{\n  \"plugins\": [\n    \"json-format\"\n  ],\n  \"settings\": {\n    \"json/package-json-sort-order\": [\"license\", \"dependencies\"],\n  }\n}\n```\n\n## Editor Configuration\n\n**VSCode**:\n\nIn order for editor integration via the [`vscode-eslint`](https://github.com/microsoft/vscode-eslint) extension, you'll need to enable linting `json` files.\n\n`settings.json`:\n```json\n// enable eslint fix-on-save\n  \"eslint.autoFixOnSave\": true,\n  \"eslint.validate\": [\n    {\n      \"language\": \"json\",\n      \"autoFix\": true\n    },\n```\n\n> to auto-format* `json-with-comments-files`, also add `\"language\": \"jsonc\"` (* will strip comments)\n\n## License\n[MIT](/LICENSE.md)\n\n## Credits\n\nlarge amount of code borrowed from [`eslint-plugin-html`](https://github.com/BenoitZugmeyer/eslint-plugin-html)\n","readmeFilename":"README.md","users":{"flumpus-dev":true}}