{"_id":"@chaitanyathakur/eslint-plugin-p5js","_rev":"4-5da0769148324f491e84e9ac5f06bc66","name":"@chaitanyathakur/eslint-plugin-p5js","description":"ESLint plugin that defines p5.js globals","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@chaitanyathakur/eslint-plugin-p5js","version":"1.0.0","keywords":["globals","global","identifiers","variables","vars","p5js","eslint"],"author":{"name":"Chaitanya","email":"thakur.chaitanya25@gmail.com"},"license":"ISC","_id":"@chaitanyathakur/eslint-plugin-p5js@1.0.0","maintainers":[{"name":"chaitanyathakur","email":"thakur.chaitanya25@gmail.com"}],"dist":{"shasum":"20a391189e8713188d4aeb7b7431986a952c68b8","tarball":"https://registry.npmjs.org/@chaitanyathakur/eslint-plugin-p5js/-/eslint-plugin-p5js-1.0.0.tgz","fileCount":6,"integrity":"sha512-syoNjqxPq70j8+dzgPN9zhRZrFvu1vq5K7WhGeuTMIrLqKgVppxUtaLe6k9ltWMc2IMA4k3eb6urHdTkrPcUzQ==","signatures":[{"sig":"MEUCIHW6wXeL3QcDlYYrut1NFUzly2O8Q40h/GQedJ6fUQt0AiEAqxwlsivO8IYxmaajDGszBxnBAjaKkvlbDi8vC2VXSuw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9757},"main":"index.js","engines":{"node":">=18"},"gitHead":"e28e12d30d5e3f483ec609ab981b7f91a4f1e4b8","scripts":{},"_npmUser":{"name":"chaitanyathakur","email":"thakur.chaitanya25@gmail.com"},"_npmVersion":"10.8.1","description":"ESLint plugin that defines p5.js globals","directories":{},"sideEffects":false,"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"peerDependencies":{"eslint":"^9.4.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-p5js_1.0.0_1717609412875_0.3541904408537704","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@chaitanyathakur/eslint-plugin-p5js","version":"1.0.1","keywords":["globals","global","identifiers","variables","vars","p5js","eslint"],"author":{"name":"Chaitanya","email":"thakur.chaitanya25@gmail.com"},"license":"ISC","_id":"@chaitanyathakur/eslint-plugin-p5js@1.0.1","maintainers":[{"name":"chaitanyathakur","email":"thakur.chaitanya25@gmail.com"}],"dist":{"shasum":"52ec90c9ef33f5032f0af55c908955fd2816a32b","tarball":"https://registry.npmjs.org/@chaitanyathakur/eslint-plugin-p5js/-/eslint-plugin-p5js-1.0.1.tgz","fileCount":7,"integrity":"sha512-DoP5DET4NcImORwtmuyLkDUDcoMSosPCaEOQEisHZnSwzFqNFfaLWRm5qP1dcCIdZmMnko4n5q69n1oRooKokQ==","signatures":[{"sig":"MEUCIQCaV5QPwDj0VLKOnX6oFRB1wiAupoVNwDyenIQtj5oOBAIgKSa4A7VaOfeW0jPwc/DGj/PlYdufVna7b2l4FtKm8JA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10244},"main":"index.js","engines":{"node":">=18"},"gitHead":"e28e12d30d5e3f483ec609ab981b7f91a4f1e4b8","scripts":{},"_npmUser":{"name":"chaitanyathakur","email":"thakur.chaitanya25@gmail.com"},"_npmVersion":"10.8.1","description":"ESLint plugin that defines p5.js globals","directories":{},"sideEffects":false,"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"peerDependencies":{"eslint":"^9.4.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-p5js_1.0.1_1717611018104_0.5259142567163722","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@chaitanyathakur/eslint-plugin-p5js","version":"1.0.2","keywords":["globals","global","identifiers","variables","vars","p5js","eslint"],"author":{"name":"Chaitanya","email":"thakur.chaitanya25@gmail.com"},"license":"ISC","_id":"@chaitanyathakur/eslint-plugin-p5js@1.0.2","maintainers":[{"name":"chaitanyathakur","email":"thakur.chaitanya25@gmail.com"}],"homepage":"https://github.com/Chaitanya1512/eslint-plugin-p5js#readme","bugs":{"url":"https://github.com/Chaitanya1512/eslint-plugin-p5js/issues"},"dist":{"shasum":"9858d8a09af1ddbedd8c85d5a02aaa04f95100e8","tarball":"https://registry.npmjs.org/@chaitanyathakur/eslint-plugin-p5js/-/eslint-plugin-p5js-1.0.2.tgz","fileCount":7,"integrity":"sha512-Hv5oEw1g280nIhuPPPxNcs1/kRv384AMbPfUa5uyNlNWUBI0zMA/mJCO64+aAoEqgfbSOynMWZDOY0g2qNsweQ==","signatures":[{"sig":"MEQCIDTyeMRB6GGKQs/ptZPqqqbr1Q4ru1GFuYpe9YnwpLcZAiA/IsiVvzRcM6Y9SeSkMQmnKWV8+8ZWdzu55F2i0KsMfg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10355},"main":"index.js","engines":{"node":">=18"},"gitHead":"6ae6a0d222073da446d49403ace30a5260f9df8a","scripts":{},"_npmUser":{"name":"chaitanyathakur","email":"thakur.chaitanya25@gmail.com"},"repository":{"url":"git+https://github.com/Chaitanya1512/eslint-plugin-p5js.git","type":"git"},"_npmVersion":"10.8.1","description":"ESLint plugin that defines p5.js globals","directories":{},"sideEffects":false,"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"peerDependencies":{"eslint":"^9.4.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-p5js_1.0.2_1717666658359_0.10509361018382823","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@chaitanyathakur/eslint-plugin-p5js","version":"1.0.3","keywords":["globals","global","identifiers","variables","vars","p5js","eslint"],"author":{"name":"Chaitanya","email":"thakur.chaitanya25@gmail.com"},"license":"ISC","_id":"@chaitanyathakur/eslint-plugin-p5js@1.0.3","maintainers":[{"name":"chaitanyathakur","email":"thakur.chaitanya25@gmail.com"}],"homepage":"https://github.com/Chaitanya1512/eslint-plugin-p5js#readme","bugs":{"url":"https://github.com/Chaitanya1512/eslint-plugin-p5js/issues"},"dist":{"shasum":"aef6be9168a4de1ad75fdcad910c70da97faf974","tarball":"https://registry.npmjs.org/@chaitanyathakur/eslint-plugin-p5js/-/eslint-plugin-p5js-1.0.3.tgz","fileCount":8,"integrity":"sha512-yDAN82+2j5IsT1H+kbw9XHgjVij+PaDWjeCWtQmWUQBNshUjcjm4pzx5sncHjn6fvoF9EHL7gTrE4mpGN51F7w==","signatures":[{"sig":"MEYCIQC13+vAJmL2YFOLL5yTzV4vFGN4HBe6pE/1jZLXN0N3FAIhAJym6TEtK3BfSAwkCUmtkOnmNPLGaBvU7JZXgnZv4a1N","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16794},"main":"index.js","engines":{"node":">=18"},"gitHead":"293f501519dc3d5f529869ace68bf267b3c067a8","scripts":{},"_npmUser":{"name":"chaitanyathakur","email":"thakur.chaitanya25@gmail.com"},"repository":{"url":"git+https://github.com/Chaitanya1512/eslint-plugin-p5js.git","type":"git"},"_npmVersion":"10.8.1","description":"ESLint plugin that defines p5.js globals","directories":{},"sideEffects":false,"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"peerDependencies":{"eslint":"^9.4.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-p5js_1.0.3_1718277347980_0.44514891314749505","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@chaitanyathakur/eslint-plugin-p5js","version":"1.0.4","description":"ESLint plugin that defines p5.js globals","license":"ISC","main":"index.js","author":{"name":"Chaitanya","email":"thakur.chaitanya25@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/Chaitanya1512/eslint-plugin-p5js.git"},"sideEffects":false,"engines":{"node":">=18"},"peerDependencies":{"eslint":"^9.4.0"},"scripts":{},"keywords":["globals","global","identifiers","variables","vars","p5js","eslint"],"_id":"@chaitanyathakur/eslint-plugin-p5js@1.0.4","gitHead":"f38a6a99e241cbcab01694f3e5f71a0a429281d4","bugs":{"url":"https://github.com/Chaitanya1512/eslint-plugin-p5js/issues"},"homepage":"https://github.com/Chaitanya1512/eslint-plugin-p5js#readme","_nodeVersion":"22.2.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-boZqhDFX3/+a5rX7Fk1k9DuOpacy1FSaNukhPoc2mzktE8FFdos4zzavoAFe+GIxNcfQTc/eavOC+CRCKdoFlA==","shasum":"51efd6a3a24ae1190b0403a048dedb3119e26095","tarball":"https://registry.npmjs.org/@chaitanyathakur/eslint-plugin-p5js/-/eslint-plugin-p5js-1.0.4.tgz","fileCount":8,"unpackedSize":16921,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuKH1lM+zAOv/je95Bq275Xgy9Ax7hlo6CgrAn7/ohEwIhAIqqju1johB3LEmpsqV15JNx1zUbgAwF/c556s0c4plB"}]},"_npmUser":{"name":"chaitanyathakur","email":"thakur.chaitanya25@gmail.com"},"directories":{},"maintainers":[{"name":"chaitanyathakur","email":"thakur.chaitanya25@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-p5js_1.0.4_1718278726228_0.9123713203764698"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-05T17:43:32.791Z","modified":"2024-06-13T11:38:46.525Z","1.0.0":"2024-06-05T17:43:33.083Z","1.0.1":"2024-06-05T18:10:18.352Z","1.0.2":"2024-06-06T09:37:38.533Z","1.0.3":"2024-06-13T11:15:48.166Z","1.0.4":"2024-06-13T11:38:46.373Z"},"maintainers":[{"name":"chaitanyathakur","email":"thakur.chaitanya25@gmail.com"}],"author":{"name":"Chaitanya","email":"thakur.chaitanya25@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/Chaitanya1512/eslint-plugin-p5js.git"},"keywords":["globals","global","identifiers","variables","vars","p5js","eslint"],"license":"ISC","homepage":"https://github.com/Chaitanya1512/eslint-plugin-p5js#readme","bugs":{"url":"https://github.com/Chaitanya1512/eslint-plugin-p5js/issues"},"readme":"# eslint-plugin-p5js\n\nESLint plugin that defines p5.js globals.\n\n## Installation\n\nFirst, you need to install ESLint:\n\n```bash\nnpm install eslint --save-dev\n```\n\nNext, install `@chaitanyathakur/eslint-plugin-p5js`:\n\n```bash\nnpm install @chaitanyathakur/eslint-plugin-p5js --save-dev`\n```\n\n## Usage\n\nCreate an `eslint.config.js` file in your project root. Add the following:\n\n```JavaScript\nimport globals from \"globals\";\nimport pluginJs from \"@eslint/js\";\nimport { p5globals, implicit } from \"@chaitanyathakur/eslint-plugin-p5js\";\n\nexport default [\n  {\n    files: [\"**/*.js\"],\n    languageOptions: {\n      globals: {\n        ...globals.browser,\n        ...globals.node,\n        ...p5globals,\n      },\n      sourceType: \"script\",\n    },\n    rules: {\n      \"no-unused-vars\": [\"warn\", { varsIgnorePattern: implicit }],\n    },\n  },\n  pluginJs.configs.recommended,\n];\n```\n\nTo lint your p5.js files, run the following command:\n\n```bash\nnpx eslint your-file.js\n```\n\nOr lint your entire project:\n\n```bash\nnpx eslint .\n```\n","readmeFilename":"README.md"}