{"_id":"@bradfordlemley/confusing-browser-globals","_rev":"17-88da37591ef07fc0108d5c6a230c774b","name":"@bradfordlemley/confusing-browser-globals","description":"A list of browser globals that are often used by mistake instead of local variables","dist-tags":{"canary":"1.1.0-next.be84d03e","latest":"1.0.501","plus-next":"1.0.1-plus-next.3"},"versions":{"1.1.0-next.5fc9098c":{"name":"@bradfordlemley/confusing-browser-globals","version":"1.1.0-next.5fc9098c","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"files":["index.js"],"devDependencies":{"jest":"22.1.2"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/bradfordlemley/create-react-app/issues"},"homepage":"https://github.com/bradfordlemley/create-react-app#readme","_id":"@bradfordlemley/confusing-browser-globals@1.1.0-next.5fc9098c","_npmVersion":"5.6.0","_nodeVersion":"6.9.5","_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"dist":{"integrity":"sha512-yJiZ68W0PVnC5IrrG6bWjtDMNMbLtIvCJrYjdb/bwbRUCqovA51lnUDjAADIVThOq8MaqWFdhmBKAV3S7e6l2g==","shasum":"6378136a453521be53716a8f569c3ecd3b053262","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-1.1.0-next.5fc9098c.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeIhNaOyFF7VTsShfYD1qK+63rAJY4FFoVOgHLG3nCJwIhAO8kSlgaRZgeUG2Uzn78nEn0wv3YCo2v/ZNHcMRiq1e0"}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals-1.1.0-next.5fc9098c.tgz_1517579441302_0.5474592386744916"},"directories":{}},"1.1.0-next.555a6953":{"name":"@bradfordlemley/confusing-browser-globals","version":"1.1.0-next.555a6953","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"files":["index.js"],"devDependencies":{"jest":"22.1.2"},"bugs":{"url":"https://github.com/bradfordlemley/create-react-app/issues"},"homepage":"https://github.com/bradfordlemley/create-react-app#readme","_id":"@bradfordlemley/confusing-browser-globals@1.1.0-next.555a6953","_npmVersion":"5.6.0","_nodeVersion":"6.9.5","_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"dist":{"integrity":"sha512-FBBu6VdHVsG+fLyXb+ftqBDib+UW74eylVDW3k7l2xBqPfRfwh8uG1+IEdCy3LgCj/q318p/pE1SYHFVsad1nw==","shasum":"b36be55a41392c6a5e7d03e97114e6d27ffa8a50","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-1.1.0-next.555a6953.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBiLk4KhwsHAefakfAGXKoVscxTZvnxyTwfh9iNO+0aMAiAg/a3P677/rCnynSRJottAKgtu0aUTsDVQM4Nu+sVt3g=="}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals-1.1.0-next.555a6953.tgz_1517580659638_0.7791488233488053"},"directories":{}},"1.1.0-next.ded5caf6":{"name":"@bradfordlemley/confusing-browser-globals","version":"1.1.0-next.ded5caf6","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"files":["index.js"],"devDependencies":{"jest":"22.1.2"},"bugs":{"url":"https://github.com/bradfordlemley/create-react-app/issues"},"homepage":"https://github.com/bradfordlemley/create-react-app#readme","_id":"@bradfordlemley/confusing-browser-globals@1.1.0-next.ded5caf6","_npmVersion":"5.6.0","_nodeVersion":"6.9.5","_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"dist":{"integrity":"sha512-cq1l8sfpEGN2xYVf8/ngvwEJEK8281DYpMmTH2IzYItRJ/ZT0unVBnjvpSuob3tVK2MrNqRxi/kDNLYgXHqI7g==","shasum":"cceed9758a8b78ed6162af7a77b2cd17e4260768","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-1.1.0-next.ded5caf6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFUg/oYr6QoR+VI2qsUnKaXLny7LX/MCQ0aAAvWEtqOzAiEA0b7cRvHHJYGhhbZzs8s4wq9Gs+qCmzkRMMqDKb2QMEs="}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals-1.1.0-next.ded5caf6.tgz_1517582063934_0.23706540069542825"},"directories":{}},"1.1.0-next.be84d03e":{"name":"@bradfordlemley/confusing-browser-globals","version":"1.1.0-next.be84d03e","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"files":["index.js"],"devDependencies":{"jest":"22.1.2"},"bugs":{"url":"https://github.com/bradfordlemley/create-react-app/issues"},"homepage":"https://github.com/bradfordlemley/create-react-app#readme","_id":"@bradfordlemley/confusing-browser-globals@1.1.0-next.be84d03e","_npmVersion":"5.6.0","_nodeVersion":"6.9.5","_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"dist":{"integrity":"sha512-UvMriMu4fPe41Ta6woHMnsmrWeKvM+9bngvpWGO9XuAJhAsyyDP0GeYtsXqcljUsRLnIg8GedPh66lQJwv1qag==","shasum":"b74d0337f8af96ee27edcda26296f201191021f5","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-1.1.0-next.be84d03e.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNUqNLIjVG+JbxooXuoViOfZRl8CXZt3eb2oHLAYDWxgIgId0HpznthOyiIicvo+UGpT9sL/J5OkviHULIdkw0AQI="}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals-1.1.0-next.be84d03e.tgz_1517583984877_0.5708127431571484"},"directories":{}},"2.0.0-plus.1":{"name":"@bradfordlemley/confusing-browser-globals","version":"2.0.0-plus.1","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"files":["index.js"],"devDependencies":{"jest":"22.1.2"},"bugs":{"url":"https://github.com/bradfordlemley/create-react-app/issues"},"homepage":"https://github.com/bradfordlemley/create-react-app#readme","_id":"@bradfordlemley/confusing-browser-globals@2.0.0-plus.1","_npmVersion":"5.6.0","_nodeVersion":"6.9.5","_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"dist":{"integrity":"sha512-mmTy4CQtom1mYfZlaL+cuKN+8l/OWJ+4WeWoFs1krHis655ccZHCUmfqBWIb+W2wHc0b7W6AqFehHG0+CgNSgw==","shasum":"2248e305bac7b7e68f2c25d90bb43b0f5113d9f6","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-2.0.0-plus.1.tgz","fileCount":3,"unpackedSize":2652,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDoLF3193tXMnHZlGHyIZz9oTiAGS33M90HlMmkBqlpSAiEAkv/ZgBDcTMCUGf9VTQt+fBJ3iV7axbKqFLzeL9Ag1Sw="}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals_2.0.0-plus.1_1518551953354_0.745442508005421"},"_hasShrinkwrap":false},"2.0.0-plus.6":{"name":"@bradfordlemley/confusing-browser-globals","version":"2.0.0-plus.6","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"files":["index.js"],"devDependencies":{"jest":"22.1.2"},"bugs":{"url":"https://github.com/bradfordlemley/create-react-app/issues"},"homepage":"https://github.com/bradfordlemley/create-react-app#readme","_id":"@bradfordlemley/confusing-browser-globals@2.0.0-plus.6","_npmVersion":"5.6.0","_nodeVersion":"6.9.5","_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"dist":{"integrity":"sha512-lCiAEOYaGaPvoYdNEAs1xkJ7p8jaEHJS7cyA32Oj1qc07KJixyzqyuc+lPASkUuP9LV9+W/kOwhLrPT3F976+g==","shasum":"8b814274c4f2fbddd0a64876827f482b31c917b9","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-2.0.0-plus.6.tgz","fileCount":3,"unpackedSize":2652,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqf8Caobhe/1yaNO203AZPVVjrBr5gGcK83BBmIcNpVAiBxHq/4ow7hQeTgZCA5vj/VJ4PuIMzO8gDfndGisOQuhQ=="}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals_2.0.0-plus.6_1518613865063_0.7609710301976325"},"_hasShrinkwrap":false},"2.0.0-plus.7":{"name":"@bradfordlemley/confusing-browser-globals","version":"2.0.0-plus.7","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"files":["index.js"],"devDependencies":{"jest":"22.1.2"},"bugs":{"url":"https://github.com/bradfordlemley/create-react-app/issues"},"homepage":"https://github.com/bradfordlemley/create-react-app#readme","_id":"@bradfordlemley/confusing-browser-globals@2.0.0-plus.7","_npmVersion":"5.6.0","_nodeVersion":"6.9.5","_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"dist":{"integrity":"sha512-ciUQVmSxWl83AwAkQ3vahzKTjZK9t0taPWnqxaXYun7KqlLrtRZdr5U7mjS383H2ltxiU8JzRrw8ar6TYCLHEw==","shasum":"52344aff95a7d1a802d0278b30c44f8876b37dda","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-2.0.0-plus.7.tgz","fileCount":3,"unpackedSize":2652,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7ApBIoBpb0Dy9uAS/UdKT1kHwU3sLNZb0mEweeXQUHAiAXuWpZGfktxPDm4yE3B/ReIczBRHhhmK7YCfv14LFUNA=="}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals_2.0.0-plus.7_1518614044048_0.9377572099432616"},"_hasShrinkwrap":false},"1.0.1-plus-next.0":{"name":"@bradfordlemley/confusing-browser-globals","version":"1.0.1-plus-next.0","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"files":["index.js"],"devDependencies":{"jest":"22.4.3"},"readmeFilename":"README.md","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\n## Installation\n\n```\nnpm install --save confusing-browser-globals\n```\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\n## License\n\nMIT\n","_id":"@bradfordlemley/confusing-browser-globals@1.0.1-plus-next.0","dist":{"shasum":"0e4c90f8df4689070808e82f3e7b68136980eb20","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-1.0.1-plus-next.0.tgz","fileCount":4,"unpackedSize":2657,"integrity":"sha512-yK22+3y/wNDn7OjJ6Utc2fjAJyPc+EGTH6DQHJmuqLrZQrbgUwlOyJ6XDsoz6MHtNqWZ+SLLUmdf3o0P0QY9Qw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv10SEsy8R8wjcAl1tZ33GjDH20wIKuk/hLVGKyw5A0AIhANFVWfKRhc0fxGd+TEbSosMOcwYpK/5l8J1Wucu2lLUY"}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals_1.0.1-plus-next.0_1530292923401_0.15363054989770153"},"_hasShrinkwrap":false},"1.0.1-plus-next.1":{"name":"@bradfordlemley/confusing-browser-globals","version":"1.0.1-plus-next.1","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"files":["index.js"],"devDependencies":{"jest":"22.4.3"},"readmeFilename":"README.md","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\n## Installation\n\n```\nnpm install --save confusing-browser-globals\n```\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\n## License\n\nMIT\n","_id":"@bradfordlemley/confusing-browser-globals@1.0.1-plus-next.1","dist":{"shasum":"8317750e6e39c8ddf135dd40959d02942d7e0881","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-1.0.1-plus-next.1.tgz","fileCount":4,"unpackedSize":2657,"integrity":"sha512-h83rKr7JbMs9DtdPU12lXrhFxFz4lL4iRPOyBwhA7kR/mClQfZUs2ucSW3bNX2FX2UXoxWdwiZz+dromfyqh4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXsxlb7lN1+71rgvPR13mzfm8svMET0BwK3FbLziLeSAIhAMBeTbZQjkOWsv1pU4SEYGhIoQ1Z4a4fxUEuNrHWL0qf"}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals_1.0.1-plus-next.1_1530293491510_0.24810889539804282"},"_hasShrinkwrap":false},"1.0.1-plus-next.2":{"name":"@bradfordlemley/confusing-browser-globals","version":"1.0.1-plus-next.2","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"files":["index.js"],"devDependencies":{"jest":"22.4.3"},"readmeFilename":"README.md","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\n## Installation\n\n```\nnpm install --save confusing-browser-globals\n```\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\n## License\n\nMIT\n","_id":"@bradfordlemley/confusing-browser-globals@1.0.1-plus-next.2","dist":{"shasum":"2ef2fab44555ff8785b7f2a9ad8ee29ab8871422","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-1.0.1-plus-next.2.tgz","fileCount":4,"unpackedSize":2657,"integrity":"sha512-bKR2vA7f58ihijR33lmY+kc505jVUzMnDbLQeEfeoXzLot5Muj2E0oTzu0bnom9ysEuFjEiHxp158db9dZqaSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEy8XLBASs4vNknqUeEVTMN1A4kgiYEYGh7heO5f4RlxAiEA4XjdHQTeJtdO7aemqsTTNTSqrbTzoR9GuSMTO63LaXg="}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals_1.0.1-plus-next.2_1530293962167_0.21060584819351402"},"_hasShrinkwrap":false},"1.0.1-plus-next.3":{"name":"@bradfordlemley/confusing-browser-globals","version":"1.0.1-plus-next.3","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"files":["index.js"],"devDependencies":{"jest":"22.4.3"},"readmeFilename":"README.md","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\n## Installation\n\n```\nnpm install --save confusing-browser-globals\n```\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\n## License\n\nMIT\n","_id":"@bradfordlemley/confusing-browser-globals@1.0.1-plus-next.3","dist":{"shasum":"1517eefed65b19fa2b5b88505120405cb2b9719e","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-1.0.1-plus-next.3.tgz","fileCount":4,"unpackedSize":2657,"integrity":"sha512-Xs7hm4BolCKoa8DZPcN6/BL/KCyWnJWiFblhHpknqDYO8XSzaFth7YxTv0Fy+2c5GesVmg8lQDoACjmfrAGzcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBiaHDZbExCIxI5H4c7OVsNrtN6pLiTbJ69UdH6Ta0IEAiAnWgGZXl4n8vIHdaY7jY4YsAPxcVmnz3kqHXZ3e76Jgw=="}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals_1.0.1-plus-next.3_1530294354838_0.9710496394862371"},"_hasShrinkwrap":false},"1.0.3":{"name":"@bradfordlemley/confusing-browser-globals","version":"1.0.3","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"devDependencies":{"jest":"23.6.0"},"bugs":{"url":"https://github.com/bradfordlemley/create-react-app/issues"},"homepage":"https://github.com/bradfordlemley/create-react-app#readme","_id":"@bradfordlemley/confusing-browser-globals@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"dist":{"integrity":"sha512-LCoueI5p1hwgwIMu5Pcv2kMx1TQWw1aQbfOoNiA5ltmKlaeXFKIHitQhmSpKSypSuxynfmZh+ZpS4BmF4VBhFA==","shasum":"cb97b3c89c3126ef5cbfba41cad11db3c827ad83","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-1.0.3.tgz","fileCount":4,"unpackedSize":3723,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvmAPCRA9TVsSAnZWagAAdS4P/Ajd/dbmV4kD9j/JjqN3\nuN6c+aZayL17V9HHMQQKAyi+GqXC5y+vT9YP53nSrcY82Frrr9WIemKmnc7a\nv+EY0a2p+tOrtuBK1ZeIE50AUNxXuyiSNIQmdVQy+NA76YzG7le6dl0PkfgY\nGVYlDejnVn1pz9LyOEGvCzjAtyabMida56UQvkRByAzAHXBMSUwFzdJgcT1P\nj7N7K+Yn6Yqq93QnNAReyGSswy7jhYKFRgnwYLHl656mOyGjSLZQUBKyVAXU\nbK8mx4gxK61gElTiWseUzAGGhky5kGDFVLgtcqjnpkuuJa4mL3+lsw+BZZ0l\nQfBDQzQMQ9s/W33ZnZjqLk+NZRmq8rpce8MINStUwEXMG3wn5D0fwy99lAyR\nyGtrmLozSavgI0xXsZl5sx9i6E2HW5J3BmF+nTSoK3gzxJEeVRKi6uBjE1rC\ndpKFfUfSZd5z8Kr2STgBECpgI/FC4cumdJCmDwV6HuZtKpG2MfqCHtyIThdX\nEe4F/DvdAJQNDIgWwdVjZ8IJKAkOrYSwITkNh6JtMZUQx5XDQaoBpDHzE91Q\n3993f3RXFaT27qRz5Hh1AHzS9h0Dp5Xf4Z1piaruU2NYoykowTipgr7yFbFh\ndy9FMlgSAc2Fd5t0+e0hcqN4p3W04p7RV01cSj53DaEfDk1oYY1r0sUN7ozi\nprk1\r\n=A6fc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHM4cB8xVvT36RJF4mAQdWJJnjmaPY/bcUT7ZuaJj8KKAiEA3p2DoQMX1e5t7cOJXI0fdD+HdJqkoWZjnlgzrOZJ92k="}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals_1.0.3_1539203086930_0.8283779996685832"},"_hasShrinkwrap":false},"1.0.301":{"name":"@bradfordlemley/confusing-browser-globals","version":"1.0.301","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"devDependencies":{"jest":"23.6.0"},"bugs":{"url":"https://github.com/bradfordlemley/create-react-app/issues"},"homepage":"https://github.com/bradfordlemley/create-react-app#readme","_id":"@bradfordlemley/confusing-browser-globals@1.0.301","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"dist":{"integrity":"sha512-BNrP+8+2YmMAqu11r7gCxSNBlul261qeoK8SRq4Quf98o1YMFYL6776/8XNH+vM4NnuYhcKOrdTSYr1IG9XR/w==","shasum":"a24e9845bac06e2c6dba9c7daa864c6b08925fad","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-1.0.301.tgz","fileCount":4,"unpackedSize":3727,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwLrcCRA9TVsSAnZWagAArWAP/A7Rn7YIUwR4zvthmFBb\ndXz35NSjjeznmUxTq9QCZZroi/QTNsR5/FarhCia/61N+TQ9ZkByb7Pld7/M\n5YXVG4lrdOuXHa4o9BjfhtiHByVU7ELl+uf2NDd+7ykJT+m7OFS7XeGDLawB\nYpvZpp9OWo24Pgrj2UJeB5PvamxsO2VocOBjEAygC+p/3TLIi2WY+ISSFvaP\nRvCQe6LSKCDdlVMVqTP3pFn6cLL07v1GjRkZ+XK8NZBTufFkvKH7E3UJAuI0\npxDiRNr5K9L6v+e0ezrdDnzX+9qVvCx3AXqHpJHODQQF7rVGjJ3hCAMIewq3\nd6udzWcB43ZAjd9dgcF2pZInev2VvbpLZyUhm16msD5GcaQZq+6IR8aT/6y/\nRmKKuc3tOyQ/2nvkb5rZ666GPZf/HpZyyoMl5GSVsNSbrusV+XMGeHajDSxG\nMIYqhxCdjCQ6cPXTTY5ms+M52Kitxgsq/M9eXWD75JH1E0SQERoM+UPqGV6k\nI5SlrLzN249jlwdwYVEuhnfnTQ1cq5zbOYdSovaxGgygQ4RuTXW6nwts8KF0\nwF08v1Aee0HrEA10JY/QksipIndappBkpSXZnSxcx5MC78UVUF/sqWzvtvNN\nUug6ALtOtgvzKUhf6l9XLQJxixNoRIHmB0USdz9dUWiqFr8u+15MMx0t/31F\nrFjc\r\n=/jv6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTk1t7+ERTktLJKIjO6xfEesticCdrbLaWb7gy09kcZwIgLxppKJcS0JsCr5rQAKMeDiUa/WX5aNbHdLNOPBx59uU="}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals_1.0.301_1539357404099_0.4057386970450505"},"_hasShrinkwrap":false},"1.0.501":{"name":"@bradfordlemley/confusing-browser-globals","version":"1.0.501","description":"A list of browser globals that are often used by mistake instead of local variables","license":"MIT","main":"index.js","scripts":{"test":"jest"},"repository":{"type":"git","url":"git+https://github.com/bradfordlemley/create-react-app.git"},"keywords":["eslint","globals"],"devDependencies":{"jest":"23.6.0"},"bugs":{"url":"https://github.com/bradfordlemley/create-react-app/issues"},"homepage":"https://github.com/bradfordlemley/create-react-app#readme","_id":"@bradfordlemley/confusing-browser-globals@1.0.501","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"},"dist":{"integrity":"sha512-/jJCMnSbfmQVufLbCszYoihPJc/glYeQ8uIyw4KMxQltoz0M3UpJ8Sbhl8H0Dx/5ZhAcb+MQBkCzVpR5YFlUIA==","shasum":"1a70be6fe8c867637be52043bb0d3fddaafc490c","tarball":"https://registry.npmjs.org/@bradfordlemley/confusing-browser-globals/-/confusing-browser-globals-1.0.501.tgz","fileCount":4,"unpackedSize":3725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3FGnCRA9TVsSAnZWagAA/UUP/3tlXc4tyjeejhXriSDA\nSUPIEiv0mW+JLPUJgrp7kbz5oOXGzBFgpf9SFAm6mbNR6FBRfAFbUenku+So\n7sp4tvq2zElCHL3rJXfJxGdZAv1kQxAmRq/OaWBYlr51JjoUIlUxI42EAW1g\nQYxdWlkfm6LkLymKvCSxEQRR+Mm3iAdDez0AXx+rILuSUUzu5BHPelMO9LIG\nNlouPqxkja/wdI4wgZg6mFmj6pdDWPLn6G/aG6bVXWfFWBuPYYlOCL08pMPk\nb8xEmzW35snzYTtH2rbytHV/kjlAuoT+CX1JB797uJAId0rBndmlO85MxoN3\nNp50RCssCUPJK54pszeR9vuxtBEfD4uDeRGJjSA9h4j/IkhKfEpiCi1cLUeR\nZFWlD2+vPsffuu8YJ1H4K3LrGo1dAM2R9uTUm/5hw0nhEP60AV++SHkB8Jqw\nvLr9eBTGTfdAzkbPqMUffbRAwI/n7Cnbl0dJfwZefGpUMGIs5w+Mj0Dcuxi/\n5scD/nMtG+IXfCZWGH4U+9hJG2fwT+AV4nKKJPWMCwvEKLtcWYeJ4RQHaiZr\nXvlFqz5AS+Q5ga4EQeSbykULfk5Hs/fEFC2Fh5htD4eRa4My7RDiQri8pnOI\n+XUr2IbgWil0qx3hffIh8XAR9HF8P44w9HjNwZEvupPW5yKhcSFbJQe7txoB\naR70\r\n=wB37\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ49WUlZAJnA8wNjen/47pAK2mTMINkHJZioXKQuhO1QIgFVeWNnMYHTOI8sU6uWXYao4MUwE6hyNRX7Na4wBuGeg="}]},"maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confusing-browser-globals_1.0.501_1541165478699_0.2595880761121665"},"_hasShrinkwrap":false}},"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```\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","maintainers":[{"name":"bradfordlemley","email":"bradfordlemley@gmail.com"}],"time":{"modified":"2022-06-12T15:27:26.830Z","created":"2018-02-02T13:50:41.453Z","1.1.0-next.5fc9098c":"2018-02-02T13:50:41.453Z","1.1.0-next.555a6953":"2018-02-02T14:10:59.717Z","1.1.0-next.ded5caf6":"2018-02-02T14:34:24.830Z","1.1.0-next.be84d03e":"2018-02-02T15:06:24.948Z","2.0.0-plus.1":"2018-02-13T19:59:14.035Z","2.0.0-plus.6":"2018-02-14T13:11:05.932Z","2.0.0-plus.7":"2018-02-14T13:14:04.714Z","1.0.1-plus-next.0":"2018-06-29T17:22:03.964Z","1.0.1-plus-next.1":"2018-06-29T17:31:31.613Z","1.0.1-plus-next.2":"2018-06-29T17:39:22.238Z","1.0.1-plus-next.3":"2018-06-29T17:45:54.889Z","1.0.3":"2018-10-10T20:24:47.012Z","1.0.301":"2018-10-12T15:16:44.341Z","1.0.501":"2018-11-02T13:31:18.843Z"},"homepage":"https://github.com/bradfordlemley/create-react-app#readme","keywords":["eslint","globals"],"repository":{"type":"git","url":"git+https://github.com/bradfordlemley/create-react-app.git"},"bugs":{"url":"https://github.com/bradfordlemley/create-react-app/issues"},"license":"MIT","readmeFilename":"README.md"}