{"_id":"@benasher44/eslint-plugin-implicit-dependencies","_rev":"1-13bb1b5dcb75fcf72183864d016bfd19","name":"@benasher44/eslint-plugin-implicit-dependencies","dist-tags":{"latest":"1.1.3"},"versions":{"1.1.2":{"name":"@benasher44/eslint-plugin-implicit-dependencies","version":"1.1.2","description":"eslint plugin to detect implicit dependencies","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/lennym/eslint-plugin-implicit-dependencies.git"},"keywords":["eslint","eslint-plugin"],"author":{"name":"Leonard Martin","email":"hello@lennym.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lennym/eslint-plugin-implicit-dependencies/issues"},"homepage":"https://github.com/lennym/eslint-plugin-implicit-dependencies#readme","dependencies":{"builtin-modules":"^3.3.0"},"devDependencies":{},"gitHead":"10a6f5f443261256cf06c330d61a71d9eea361fc","_id":"@benasher44/eslint-plugin-implicit-dependencies@1.1.2","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Gij1nBdpUYBVp8jAdfOwrs0lI13FsH8dww7ValsozlTBY8rmpfqmUaLkDE0NQ/t6YnIKojdI+nlkBbQ89Xvkqg==","shasum":"71a862c6c604145449610bdac125acc09780058f","tarball":"https://registry.npmjs.org/@benasher44/eslint-plugin-implicit-dependencies/-/eslint-plugin-implicit-dependencies-1.1.2.tgz","fileCount":5,"unpackedSize":6005,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG07XIB5jVKv4PswuTgHK8BtghkuJ3DXVwB8p0bdRLBeAiEAttCRxWF4for42xBMVJMWb0UXRoGEKHZLRpoe/JAe3OI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFytRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvYg/7BToTAdNH2p1FhmwOHxfzGOORxNYXO5Cft+oVmZReRi/KQJ+i\r\n3D2DbehheIi+OkMSoRXK5ks5MZbKQY/J79BXaQwa/Uhxael2wASnj1MIqX0d\r\nF9s+GbAAcH7oQPvF52uY8XHXPFWqFMljw7r5uIVsN3hgcL6SLZq/13otvqcc\r\nyjj9WP4fXRlUWs1kaAIorBjsF+6+3AjgkeHkquRMlvo9sSpiIoj9WyGk5nPW\r\njEhFxG4LHop+AmnTq5VMqlcBReT9RRtEe0E4+IjnDO1tNkfx67Tk22v0aMav\r\nTbIdCUZ/juIZcMHEjZQ+lQRpKqX5BrJ84BRWdKHeokuSWMfSJxLycn2svelp\r\nbcKc3ZQB8IW+1ygd34GE0vZQz+pQw5suH5RWdjCVOH6w4YonnhvV0KZPZqXc\r\nUtAFuyzS5ykxPwu/lomM8LLni6yLQT/rlcydOxVnOpbJ3rV6pwAfMueSAbaS\r\nsVftWnibJoZfFD2QmYtNfX9oTvhj16/eVPXHT/aV6ud5/lWp/xzhCnPKsR60\r\nFIH2gid672DKgezdld4hMhq3uPPodCCk7PFbbzvWpyOdxLfHQBQ7FvJaoNOE\r\ns3qqYKx946cyTwjfxTcpD2Psso2Hrjr5MAv0mFHQM1ONwcBqNiXk4IRz5tMo\r\nz30VO3lRGste1zW7WaqDByjMpwklCRYxWUI=\r\n=mX+n\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benasher44","email":"hello@benasher.co"},"directories":{},"maintainers":[{"name":"benasher44","email":"hello@benasher.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-implicit-dependencies_1.1.2_1679240017056_0.6089006282521003"},"_hasShrinkwrap":false},"1.1.3":{"name":"@benasher44/eslint-plugin-implicit-dependencies","version":"1.1.3","description":"eslint plugin to detect implicit dependencies","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/lennym/eslint-plugin-implicit-dependencies.git"},"keywords":["eslint","eslint-plugin"],"author":{"name":"Leonard Martin","email":"hello@lennym.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lennym/eslint-plugin-implicit-dependencies/issues"},"homepage":"https://github.com/lennym/eslint-plugin-implicit-dependencies#readme","dependencies":{"is-builtin-module":"^3.2.1"},"devDependencies":{},"gitHead":"1290bb78fa920accbf536293abbf6fd28e478cd8","_id":"@benasher44/eslint-plugin-implicit-dependencies@1.1.3","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-ZlWpLuvr71HTN9GgyBYcE9UPvJAmh2WBKUd+6ebrNxGpWKTzjDAYd0A8oeXrRsC36oMahUvc5vlovK7Wwa4cFQ==","shasum":"4f9fa1a967faeabcc76a3893949436ddfd3cac64","tarball":"https://registry.npmjs.org/@benasher44/eslint-plugin-implicit-dependencies/-/eslint-plugin-implicit-dependencies-1.1.3.tgz","fileCount":5,"unpackedSize":6007,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSCx1tvilY8WBaQHz01TXoSNpKDJTnj9ZegY8SILcghgIgRKkAI5Gnetc2TB/y2sPCOF36OnokwLG/Sk9xAdcBWX4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHxvKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxCg//TXHfSEGJhvFgv2t9mZ9TMncdk80tFLNGJB34P3rjYdRmp1AO\r\nRgB9gIayZzz3UuLI/6enfZ27IW1ZrarjMj/bSB0/uaNWM2Mm77+x4uKvm592\r\nlENXaAjqaBTLkmFR80zJH8jA6oj4y/uGxxS7NFUONOIyFPtHQFuO4bMBv21U\r\nBB+bEUTinIiucVGEo88b/02F0sM16tafsmOlvVpntSya8Ty//iV9kbO1Wgiq\r\nM7/glAH1e4pr8t2hCIYyb4iAPDrwd4uF3L0nBmvRDjxgv7TEJ72MvNEZ7K+A\r\nNaPtziiYid4JiDKYXh9gTAHwy0Zid1qwd4afkEjOX3dxyry6eecETLI7AEbf\r\nVQ0dlmJ8XgQqByyW3jHaygC/Ny9dycpAn2Icv8tdrFW7YzF+FcuTdm8lLbOZ\r\nyXjnG/Kc3iipjy7Ozbhg+460JpSasKrKOYLugYfD/DGmyEIZIMBfpRzEsgnt\r\nGUxDODbZ2gUif037uKaQZFY50KbwvS3v5LyhJTaDULk/Co1CwHoSJJomRvTi\r\nbHkbW/OmhyccRVI5ubZ/8K8eXRwkvwjXj8WxWQx7T7V4P4XGK5//meMExgm3\r\nZEGAnMV1YCa+RRe9wmpLFHuF1eywJRZfUODqHqZgojIyhO57eLpOQEyAqAoX\r\n+BB0D1rWeCq7VcT2ZT/h13ygxsqWrAFzfyM=\r\n=SqO0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benasher44","email":"hello@benasher.co"},"directories":{},"maintainers":[{"name":"benasher44","email":"hello@benasher.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-implicit-dependencies_1.1.3_1679760330644_0.8536042877298695"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-19T15:33:36.967Z","1.1.2":"2023-03-19T15:33:37.212Z","modified":"2023-03-25T16:05:30.961Z","1.1.3":"2023-03-25T16:05:30.840Z"},"maintainers":[{"name":"benasher44","email":"hello@benasher.co"}],"description":"eslint plugin to detect implicit dependencies","homepage":"https://github.com/lennym/eslint-plugin-implicit-dependencies#readme","keywords":["eslint","eslint-plugin"],"repository":{"type":"git","url":"git+https://github.com/lennym/eslint-plugin-implicit-dependencies.git"},"author":{"name":"Leonard Martin","email":"hello@lennym.co.uk"},"bugs":{"url":"https://github.com/lennym/eslint-plugin-implicit-dependencies/issues"},"license":"MIT","readme":"# eslint-plugin-implicit-dependencies\n\neslint plugin to detect implicit dependencies\n\nDetects when a module has been 'require'd or 'import'ed that is not listed as a dependency in the project's package.json.\n\nThis helps prevent accidentally depending on a module that is present in node_modules as a result of being installed further down your dependency tree, but is not listed as an explicit dependency of your project.\n\n## Usage\n\nAdd `implicit-dependencies` to the plugins section of your [ESLint configuration file](http://eslint.org/docs/user-guide/configuring#configuration-file-formats). You can omit the `eslint-plugin-` prefix:\n\n```yaml\nplugins:\n  - implicit-dependencies\n```\n\nThen configure the plugin under the rules section.\n\n```yaml\nrules:\n  - implicit-dependencies/no-implicit: error\n```\n\n## Options\n\nBy default `implicit-dependencies` will only look for dependencies in the `dependencies` section of your package.json. You can include dev, peer and optional dependencies by configuring the rule to include those sections as follows:\n\n\n```yaml\nrules:\n  - implicit-dependencies/no-implicit:\n    - error\n    - dev: true\n      peer: true\n      optional: true\n```\n\nOr if configuring with javascript:\n\n```javascript\nrules: {\n  'implicit-dependencies/no-implicit': [\n    'error',\n    { peer: true, dev: true, optional: true }\n  ]\n}\n```\n","readmeFilename":"README.md"}