{"bugs":{"url":"https://github.com/facebook/create-react-app/issues"},"dist":{"shasum":"6f6142b9f824ef23983082ce895d6b08de947cf7","tarball":"https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-2.0.0-next.300.tgz","fileCount":4,"integrity":"sha512-yoLFP/228JaUG2KkQPS/1TYkohiD1BK31bjeeXAh44sWzQv9HR/UhWGAM1mt/EcfcRLQ6yim3CpxYuLaMck/Hg==","signatures":[{"sig":"MEQCICUyhA/yVhJXBtRCTC9ajobXfYL0ys/DOU5HdGosef/cAiBXbMvcJuEqxnnSTKMAchshRdiycBni4u+gJEr9IRDy7Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfklrZCRA9TVsSAnZWagAAh20P/0Qwhv8kbHTmv2RFS8Bt\nwlf+EOuHUaABE8785WASARdLxfuoe+EK4csOWPZ2ZzevlZfXzPzmqDbQbAOO\n3C/7n5uHbHkIs2LbKvVslBXIaUkr4bWjCoYjDVOYexsLnUuphMO+RocdszPj\n8iclO1P+la1Hs+ZTAUfEk44cv7rdJSWMZnsztq+oNtK/pzk1I2EzMU/BC/k+\nKxPj7znrO395JHdp/povJzEj+2zguQlSMem7oGahUxRMSRvC+bN2kAgeMXw5\nBnMVDZCDxM3W6vlRx4ogyk9WE8bXf9tg8hZBXAkc3y38QZS+vCwlpSqokM84\n0CdsySAn0P+KWMalJpIswbZric/W4gszNQRY2T8Yv04Vqe82gbYUv8HLQh+J\nnzpAQDPwN/zpYTXtJwQSZbOrJZJnHYTy3VVMODSKYbPy56qAAc19wSvD8Gtx\nVsG21pYNNbRWJ9dKf7F+CHjXyGMitqN3oiNjY1ZjaxkP/cYVfEa8e14tqck0\noy3lRyTC2RsbuIsfnV5AAs5IOD00KwdEQucoar1MoiTCKyGIajjZvmA1ZNGw\nWZVItChjxWqKaQ+hqMpmJosti+wXY1q39B+d9aRFM73lT60OFm8ZveQLquMW\nUee33AIsdYpgD8qSXWaNdl0zeYsiHxEdMERtVtOhvb4T6lkzyBAyGplwhjFJ\nqwj+\r\n=Hp95\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","name":"confusing-browser-globals","readme":"# confusing-browser-globals\n\nA curated list of browser globals that commonly cause confusion and are not recommended to use without an explicit `window.` qualifier.\n\n## Motivation\n\nSome global variables in browser are likely to be used by people without the intent of using them as globals, such as `status`, `name`, `event`, etc.\n\nFor example:\n\n```js\nhandleClick() { // missing `event` argument\n  this.setState({\n  \ttext: event.target.value // uses the `event` global: oops!\n  });\n}\n```\n\nThis package exports a list of globals that are often used by mistake. You can feed this list to a static analysis tool like ESLint to prevent their usage without an explicit `window.` qualifier.\n\n## Installation\n\n```sh\nnpm install --save confusing-browser-globals\n```\n\n## Usage\n\nIf you use Create React App, you don't need to configure anything, as this rule is already included in the default `eslint-config-react-app` preset.\n\nIf you maintain your own ESLint configuration, you can do this:\n\n```js\nvar restrictedGlobals = require('confusing-browser-globals');\n\nmodule.exports = {\n  rules: {\n    'no-restricted-globals': ['error'].concat(restrictedGlobals),\n  },\n};\n```\n\n## License\n\nMIT\n","gitHead":"2b1161b34641bb4d2f269661cd636bbcd4888406","license":"MIT","scripts":{"test":"jest"},"_npmUser":{"name":"iansu","email":"ian@iansutherland.ca"},"homepage":"https://github.com/facebook/create-react-app#readme","keywords":["eslint","globals"],"repository":{"url":"git+https://github.com/facebook/create-react-app.git","type":"git","directory":"packages/confusing-browser-globals"},"_npmVersion":"lerna/3.18.4/node@v12.19.0+x64 (darwin)","description":"A list of browser globals that are often used by mistake instead of local variables","directories":{},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"timer","email":"timer150@gmail.com"},{"name":"iansu","email":"ian@iansutherland.ca"},{"name":"ianschmitz","email":"ianschmitz@gmail.com"}],"_nodeVersion":"12.19.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"26.6.0"},"_npmOperationalInternal":{"tmp":"tmp/confusing-browser-globals_2.0.0-next.300_1603427032907_0.02209559433149666","host":"s3://npm-registry-packages"},"_id":"confusing-browser-globals@2.0.0-next.300","version":"2.0.0-next.300"}