{"_id":"@cgnal/eslint-config","_rev":"5-3b3d50129a840262f7ea28ad2fbaf324","name":"@cgnal/eslint-config","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"author":{"name":"CGnal s.r.l.","email":"info@cgnal.com","url":"https://cgnal.com/"},"bugs":{"url":"https://github.com/CGnal/cgnaljs-eslint-config/issues"},"contributors":[{"name":"Andrea Scartabelli","email":"andrea.scartabelli@gmail.com"}],"description":"Linting rules for CGnal's JavaScript projects.","engines":{"node":">=12.0.0"},"homepage":"https://github.com/CGnal/cgnaljs-eslint-config","keywords":["eslint","eslintconfig"],"license":"MIT","name":"@cgnal/eslint-config","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/CGnal/cgnaljs-eslint-config.git"},"scripts":{"bump":"bump package.json package-lock.json","check":"npm run check-rules && npm run lint","check-js":"eslint-find-rules -d js/index.js","check-react":"eslint-find-rules -d react/index.js","check-rules":"npm run check-js && npm run check-react","lint":"eslint ."},"version":"0.1.0","devDependencies":{"@jsdevtools/version-bump-prompt":"^6.1.0","eslint":"^8.2.0","eslint-find-rules":"^4.0.0","eslint-plugin-import":"^2.25.3","eslint-plugin-react":"^7.27.0"},"optionalDependencies":{"eslint-plugin-import":">=2.0.0","eslint-plugin-react":">=7.0.0"},"peerDependencies":{"eslint":">=7.0.0"},"gitHead":"6500c39d66d4d8c3aa81b6ddb66ec71b798f7412","dependencies":{"eslint-plugin-import":">=2.0.0","eslint-plugin-react":">=7.0.0"},"_id":"@cgnal/eslint-config@0.1.0","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-EoChZmYUBInfrTJyjEUcdWNLJzepvEn6edmvsV7y83Bl7Mjs1wNH5+EeX5Mw/nGOrIiF0e5CLj6imXqc3K3LUA==","shasum":"ca79827d57edba9028c64469b238f5e832b8e9f5","tarball":"https://registry.npmjs.org/@cgnal/eslint-config/-/eslint-config-0.1.0.tgz","fileCount":10,"unpackedSize":19099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlmSNCRA9TVsSAnZWagAA004P/idHQgOz8tgCdlzGP//w\niwmJRQokcvk8/AJ8df5+binItIJDw5Uj5QxbqJPV//oxe+VrBn2cAJyXN0A1\nvkmP2jOkU/D380x77QlHMK9I/EFm6TEWVhy+cQ4FI5CdjvkT6TXmGYm01ghR\nXQH/OvqH6bPbVxooVw3sKSaEiFWQooGlZies+hGFvB4s6ouLaAPrVxBIM2aj\nRSvigDP74QR16Om1S4VOQryphGi0zLkF2g2fIxX5i6M+/qHZT0KE74v/eaDI\n33fVQF6x+P05hzj4aVq5KQ9/C+2W8dgUdksf2y19LOWl9JU09GS9W/0L8jH4\nLhvkZi8YhjT5q6UJmmbbl6S/rgDh6iYjR+rPg28h/FboGZKILIP3RKPifqaQ\nG8GkvKAf2tCIriga43VPdYXulWmr/DTx6iBajKgYxcrxhNWVeeXSoAhkHFpo\nb+uMuRA5bnZfM/2cI2kMWo/u11bMdD3ycjmrCwhIiw4H15+vz6BDGBzIS2at\nB/Ml0t26lqKBhR0UAEvdgALF0wxHNdBgaFWNOaAIiJrBoQfWPuohjy6gEovN\nOCosa08BSLANxsLYbsvAihRHmMXZQ15CNkW1KqSh6WIAGv4nfDaMcFVbalOb\ndlGy3q6jn2p2jUFoguk1R6NTU3HdrBnVisZzXhccvl6sJ49lpOCCHnavnorN\nsXus\r\n=KMuu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI1CBZcNQ0nH0wUARVn32ZGA46a/g/VKr/jiQL+NjtSAIgRWWgV/4zfAUljCR2xygisSrwwkzUb1KlFIccZNGSxGA="}]},"_npmUser":{"name":"andrea.scartabelli","email":"andrea.scartabelli@gmail.com"},"directories":{},"maintainers":[{"name":"andrea.scartabelli","email":"andrea.scartabelli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.1.0_1637246093219_0.9020013055683058"},"_hasShrinkwrap":false},"0.1.1":{"author":{"name":"CGnal s.r.l.","email":"info@cgnal.com","url":"https://cgnal.com/"},"bugs":{"url":"https://github.com/CGnal/cgnaljs-eslint-config/issues"},"contributors":[{"name":"Andrea Scartabelli","email":"andrea.scartabelli@gmail.com"}],"description":"Linting rules for CGnal's JavaScript projects.","engines":{"node":">=12.0.0"},"homepage":"https://github.com/CGnal/cgnaljs-eslint-config","keywords":["eslint","eslintconfig"],"license":"MIT","name":"@cgnal/eslint-config","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/CGnal/cgnaljs-eslint-config.git"},"scripts":{"bump":"bump package.json package-lock.json","check":"npm run check-rules && npm run lint","check-js":"eslint-find-rules -d js/index.js","check-react":"eslint-find-rules -d react/index.js","check-rules":"npm run check-js && npm run check-react","lint":"eslint ."},"version":"0.1.1","devDependencies":{"@jsdevtools/version-bump-prompt":"^6.1.0","eslint":"^8.2.0","eslint-find-rules":"^4.0.0","eslint-plugin-import":"^2.25.3","eslint-plugin-react":"^7.27.0"},"optionalDependencies":{"eslint-plugin-import":">=2.0.0","eslint-plugin-react":">=7.0.0"},"peerDependencies":{"eslint":">=7.0.0"},"gitHead":"0afdfdad3d17a395bc4e549c7da8471f7c09f847","dependencies":{"eslint-plugin-import":">=2.0.0","eslint-plugin-react":">=7.0.0"},"_id":"@cgnal/eslint-config@0.1.1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-bURJzy8OeAluiNuW4EODxRYGWCofAfv4pPE5c3mqz4y1k986wfTVfixwr7K5kshusvb/P056W7YorEo1TgnbAQ==","shasum":"65fc1f9f925f5fa9aa2ca8aa635851fdecf750e3","tarball":"https://registry.npmjs.org/@cgnal/eslint-config/-/eslint-config-0.1.1.tgz","fileCount":9,"unpackedSize":13341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhl4KOCRA9TVsSAnZWagAALOAP/2eKfQQ9bN+3Lv2Jd1fv\n9Tq1tnVg0c3SyXTCaD5bfc1beOV322pAPHMZg2ZlGOwArNk+LvwZb8jSwxVG\nspOXOxS5OCavK9Aj2Nht9JLQYfXOwtLhN3Z3u3noIrsipwExkQowkj0XuQPe\ncMcVI7C18dl3oXywiLVycGq8Qz5YEsMfhdFMD3sTSJ1gG8Qopk1qrmnQVkGC\n5p1B4SMdem4IvIh8dywVGhd57kueEv3uI5Gg4AZEr8aUwVc5RfWqbY8F4ODY\nivznn8X3ufguwsaYhzuColKcYRBauY9LkpnyQNGsQ7BtMqPHot/s/to+FGoI\nynJ34tvL8AuEv6e6aVdQWUiMr4EMuO1a6F4mVIlTarsGLMyv+GZh6XfLzFU2\niR31XNzIC1+vTllOqS+EGH7Bi1iQtk2qJhsc+LIeithHdv03kOAl+O2Sh0T0\ndLizLs9Qkvw57kgjBu08Lu8rlpaeZ/HraLnaLdWePGKsS4zjPra1u4sKdEVr\nMfDT5gQgTGcvZj44BuUvGPElIdh6WSUzsZylo6o5va5eyrqTzuGLOp1+kfJ2\nzM7tcgABOAkkG04NSIHE4PHVnpC0DU1KimwrzdbxGgVSYPhoxcSOLZmgnLYr\npMuHBiRwhBV2Zcpr9uL5d9cBBbw/Ob8NxSCBFxFziZGAWmCig+zE67x37FCR\n2VbF\r\n=6EQk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiy8giYNf2C7aFZ6gO73D6fJhkCHC/XfOESh8+DCqVnAIhAPSLW5l3WfBN03xp2TMwO+ctpfAugVVLI3AKB6B/qy4J"}]},"_npmUser":{"name":"andrea.scartabelli","email":"andrea.scartabelli@gmail.com"},"directories":{},"maintainers":[{"name":"andrea.scartabelli","email":"andrea.scartabelli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.1.1_1637319310409_0.6740611285946385"},"_hasShrinkwrap":false},"0.2.0":{"author":{"name":"CGnal s.r.l.","email":"info@cgnal.com","url":"https://cgnal.com/"},"bugs":{"url":"https://github.com/CGnal/cgnaljs-eslint-config/issues"},"contributors":[{"name":"Andrea Scartabelli","email":"andrea.scartabelli@gmail.com"}],"description":"Linting rules for CGnal's JavaScript projects.","engines":{"node":">=12.0.0"},"homepage":"https://github.com/CGnal/cgnaljs-eslint-config","keywords":["eslint","eslintconfig"],"license":"MIT","name":"@cgnal/eslint-config","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/CGnal/cgnaljs-eslint-config.git"},"scripts":{"bump":"bump package.json package-lock.json","check":"npm run check-rules && npm run lint","check-js":"eslint-find-rules -d js/index.js","check-react":"eslint-find-rules -d react/index.js","check-rules":"npm run check-js && npm run check-react","lint":"eslint ."},"version":"0.2.0","devDependencies":{"@jsdevtools/version-bump-prompt":"^6.1.0","eslint":"^8.14.0","eslint-find-rules":"^4.1.0","eslint-plugin-import":"^2.25.3","eslint-plugin-react":"^7.27.0"},"optionalDependencies":{"eslint-plugin-import":">=2.0.0","eslint-plugin-react":">=7.0.0"},"peerDependencies":{"eslint":">=7.0.0"},"gitHead":"08b4bc586f9bdfab401385ff300c4867b1834120","dependencies":{"eslint-plugin-import":">=2.0.0","eslint-plugin-react":">=7.0.0"},"_id":"@cgnal/eslint-config@0.2.0","_nodeVersion":"14.18.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-HNqrHq3/zxIvBAwyTgLsUSmP+tjnGyscxRhgsb5C1aD7XztKbx35FfxWYB3ha0dr5IOQ7+eifxs/cj5Hl6J3cQ==","shasum":"b836126047f04176f5b9737696e0291f51d14e2a","tarball":"https://registry.npmjs.org/@cgnal/eslint-config/-/eslint-config-0.2.0.tgz","fileCount":9,"unpackedSize":13352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDeukV/Z0na19xKNKWZ87GKu6rcuMp3PxCGYTR2oihe+AiBx7vxwjiEoYq7Mh/NRmCPJTq5mU5ndOXP9YGFwY1aHWg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJic8L0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOYA/9Ex3UqWhREcrIe/KdAu9y1FvL63lac+0fRmAz9Hgk/390npPm\r\nwzSQo03BTZdJQNDk6ICpuQ/caycV8kgcMxs/SbSHkC9++GgH5w9nu6M2vfPC\r\nhCBML5Qjd4B9/Ya56a22QEpM3qBznqGhYjtej7FXI14YOCw+DZFBrCKVZAMW\r\n+UpqVQQJ0Wq+Z2RVr82eove4f1OdjTAUwhopxVURdMyUlwSPKbemQsF0p0LS\r\nKwy8yBygIF2rGBfdXIISdk2YPvAXb0Z2+uC91PU+I2aI0x3ylc/nsU+P0aQo\r\nl7SF06ViwUBCuWzKPpTTaElnIbBBPI39webIbJ10WRE7aFraZZnD+HgrBabl\r\nk8GhCzCq/ZtwUkroohbhHMsO25Hm8XhgbJ9KvONYbJImQ8i7ee9cxUmweewq\r\nbPEPMHHhdoAfaRnzeR3cMOPZEBHhGhnoW8TG8nhKfo2nomrOhs3O4jijckFq\r\n0G1yToHd9eYtz5WPajaq6KBh5jaFzkTH+ahOxDYzgX6LULdPCp0WDCv+PEKr\r\n9b3cxa8Dwz+UHaS5w9Nox1S5v18CO26+a4b2Sem5D4KP66bWt2LINR00xbhQ\r\n/IWO8/WSDR7MjelvmCC0UtkkK/p/nb4k3U9a7cXcsztQKGdawExGkpEBb4JD\r\nXAEXW2Tghx3dwsUAzfItLjkQ2y49U+jhCAg=\r\n=T02u\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andrea.scartabelli","email":"andrea.scartabelli@gmail.com"},"directories":{},"maintainers":[{"name":"andrea.scartabelli","email":"andrea.scartabelli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.2.0_1651753716390_0.9030701344160565"},"_hasShrinkwrap":false},"0.2.1":{"author":{"name":"CGnal s.r.l.","email":"info@cgnal.com","url":"https://cgnal.com/"},"bugs":{"url":"https://github.com/CGnal/cgnaljs-eslint-config/issues"},"contributors":[{"name":"Andrea Scartabelli","email":"andrea.scartabelli@gmail.com"}],"description":"Linting rules for CGnal's JavaScript projects.","engines":{"node":">=14.0.0"},"homepage":"https://github.com/CGnal/cgnaljs-eslint-config","keywords":["eslint","eslintconfig"],"license":"MIT","name":"@cgnal/eslint-config","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/CGnal/cgnaljs-eslint-config.git"},"scripts":{"bump":"bump package.json package-lock.json","check":"npm run check-rules && npm run lint","check-js":"eslint-find-rules -d js/index.js","check-react":"eslint-find-rules -d react/index.js","check-rules":"npm run check-js && npm run check-react","lint":"eslint ."},"version":"0.2.1","devDependencies":{"@jsdevtools/version-bump-prompt":"^6.1.0","eslint":"^8.36.0","eslint-find-rules":"^4.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-react":"^7.32.2"},"optionalDependencies":{"eslint-plugin-import":">=2.0.0","eslint-plugin-react":">=7.0.0"},"peerDependencies":{"eslint":">=7.0.0"},"gitHead":"343aed19d3fea604526e1fb98616c18dc504f107","dependencies":{"eslint-plugin-import":">=2.0.0","eslint-plugin-react":">=7.0.0"},"_id":"@cgnal/eslint-config@0.2.1","_nodeVersion":"18.14.0","_npmVersion":"9.6.2","dist":{"integrity":"sha512-QGDBBhmzBDmmZOOqq9WHxzEPQfx3p5Cg6uk91STQh63Ezj4H447HO2ntF8xhS9Q5NG+jh8CNCnXS+F+F8D7EIw==","shasum":"2ef354f6811321d13969555948d88624c6d9cf9a","tarball":"https://registry.npmjs.org/@cgnal/eslint-config/-/eslint-config-0.2.1.tgz","fileCount":9,"unpackedSize":13352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0jYMMZtVj7cRQelfwO1rYqxRqROmtnlyzVg9k904/EgIhANFdtr+6Pjp1Rn6ycJTTYUYGWuQIWetmIXL2L69Yj6cx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHXu/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoaHA//QlQ9fRPQmXn46HHJm4idjKe8FB1C137jqucAeOwDZmfHeiFr\r\nojK+ZsP1ayBHDMiarWXJ+dGlFTsJbPGJxIny78+bXDcyH5cE+uDUW726US1x\r\nMH75lcqvfg3XZOxGGfHPGjCvK8bWFERBEX9/4KMyutClh4dIy2RS87/Iol4N\r\nrDX9kKkwx+5TI3Wsio2ovMccjOidevOAP0DOhs5lamVcjocQariA2u4iWQdC\r\n4+2+48Hlfa5FXkFDa1qV+6IjPbLBkf3EHnsR1v4G9MAFryzIQTe+8OGRU1Ve\r\nKwIoKfXMlFlxZDmt/PzcSRxeLMifYF2skwgPeKuZoL+uIMSO0UmCZpmZRLsR\r\nIJKrNr9BuX9H8mABeWWtOlf5Ek0DDZC/cXsMh2wrNT6KkCo0/gIF7WLFxNuL\r\nSfizif8SMeb5S7mQxDrQOddUzUhIHnHWjWCVxdR+M9inRVXBjjAkxsg1V0tC\r\n665wBwBpVShw81aNUHwjVq7G2p86L6LnaN9i3bF4at8u33Nh9GWrTADpcWu5\r\nSPIfE41SsIAz/f48J3doturtZJxEDZ12y9WN1y/wnM3goOOygVmU8JaQjlYA\r\nvQ6fQMPhGYYxKbnGUrCCoMzZQeTOlOxxvF1qQTP22SebmIYn30j5b8ZvYqeO\r\nnevUmlakKIhG1yJnnLG76O1Dyemxs7AFOz0=\r\n=69+R\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andrea.scartabelli","email":"andrea.scartabelli@gmail.com"},"directories":{},"maintainers":[{"name":"andrea.scartabelli","email":"andrea.scartabelli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.2.1_1679653823635_0.29943551264178536"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-18T14:34:53.166Z","0.1.0":"2021-11-18T14:34:53.572Z","modified":"2023-04-27T07:56:17.859Z","0.1.1":"2021-11-19T10:55:10.566Z","0.2.0":"2022-05-05T12:28:36.545Z","0.2.1":"2023-03-24T10:30:23.887Z"},"maintainers":[{"email":"arici.gabriele@gmail.com","name":"gabrielearici"},{"email":"andrea.scartabelli@gmail.com","name":"andrea.scartabelli"}],"description":"Linting rules for CGnal's JavaScript projects.","homepage":"https://github.com/CGnal/cgnaljs-eslint-config","keywords":["eslint","eslintconfig"],"repository":{"type":"git","url":"git+https://github.com/CGnal/cgnaljs-eslint-config.git"},"contributors":[{"name":"Andrea Scartabelli","email":"andrea.scartabelli@gmail.com"}],"author":{"name":"CGnal s.r.l.","email":"info@cgnal.com","url":"https://cgnal.com/"},"bugs":{"url":"https://github.com/CGnal/cgnaljs-eslint-config/issues"},"license":"MIT","readme":"# CGnal ESLint rules\n\n[![NPM version](https://img.shields.io/npm/v/@cgnal/eslint-config.svg)](https://www.npmjs.com/package/@cgnal/eslint-config) [![Build Status](https://github.com/CGnal/cgnaljs-eslint-config/actions/workflows/check.yml/badge.svg)](https://github.com/CGnal/cgnaljs-eslint-config/actions/workflows/check.yml)\n\nLinting rules for [CGnal](https://cgnal.com)'s JavaScript projects.\n\n# Installation\n\n```bash\nnpm install @cgnal/eslint-config --save-dev\n```\n\nThe package requires the following peer dependencies:\n- [`eslint`](https://github.com/eslint/eslint) `>=7`\n- [`eslint-plugin-import`](https://github.com/import-js/eslint-plugin-import) `>=2` if you're using JS rules\n- [`eslint-plugin-react`](https://github.com/yannickcr/eslint-plugin-react) `>=7` if you're using React rules\n\n# Usage\n\nAdd the rulesets you want in the `extends` section of your ESLint configuration file.\n\ne.g. to use both JS and React's rules:\n\n```javascript\n// ...\n\nextends: [\n    \"@cgnal/eslint-config/js\",\n    \"@cgnal/eslint-config/react\"\n]\n\n// ...\n```\n\n# npm scripts\n\n- `npm run bump` updates version number using an interactive shell\n- `npm run check` validates all rules and performs the linting check\n- `npm run check-js` validates JS rules\n- `npm run check-react` validates React rules\n- `npm run check-rules` validates all rules\n- `npm run lint` performs the linting check\n","readmeFilename":"README.md"}