{"_id":"@aak.lear/eslint-setup","_rev":"2-8114869fadda6c24fd29063c6cd4a451","name":"@aak.lear/eslint-setup","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@aak.lear/eslint-setup","version":"1.0.0","description":"This package simplifies the initial setup of eslint. It installs and apply eslint-config-airbnb to your project, also resolves peerDependencies that are required for eslint-config-airbnb package.","main":"index.js","bin":{"test-eslint":"index.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/aak-lear/eslint-setup.git"},"author":{"name":"https://github.com/aak-lear"},"license":"MIT","dependencies":{"chalk":"^4.1.2","commander":"^4.1.1","cross-spawn":"^7.0.3","fs-extra":"^10.0.0"},"devDependencies":{},"keywords":["eslint","eslint-config","eslint-config-airbnb","eslint-config-airbnb-typescript","eslint-config-setup"],"gitHead":"9d563d3013e635c064c73d921cd24f0a3cf46376","bugs":{"url":"https://github.com/aak-lear/eslint-setup/issues"},"homepage":"https://github.com/aak-lear/eslint-setup#readme","_id":"@aak.lear/eslint-setup@1.0.0","_nodeVersion":"14.19.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-5LHKubDk+uVScZG/ZVTqsacT2jaKNKej35yiuzh2Fuk9iqWn06x8+0hZpcNjD3hovrxzAwSmk2qEWgZ27PMi6A==","shasum":"84b9eb86c0c6114e7bcdf0c65bf9e9aa196d7b07","tarball":"https://registry.npmjs.org/@aak.lear/eslint-setup/-/eslint-setup-1.0.0.tgz","fileCount":7,"unpackedSize":77171,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDngJ8JnaHX9xQQqkAX5AZ4zo1oA3GZrouBznRLXmULlQIgf/6kgG25CFAq+H7vUJe5wHMRnwSXl2vv37x2tHNzIPs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioLBlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOjQ/8Ddk2Gbf2r184R4D6GSK6MKOTFuG7V7VmxNpJllfFBGIT+aqv\r\n2AmGjwoAcVlHjnYh7g7BwQxpPiE64OrntiL/vfr1KDKhvcPJZdH/A4Q+0ss1\r\nRMxj8vGqa0wBMymjSIsUkaXpMnDpquSaQ3M6M2opGGiHlZz4NJrNHxvgy7Lh\r\nkpgpmdy/h2AivzlqJ+AIRlhm1rYS1MfgeAbtZmbmUoKAwBmhcxEmsRZOKu9Q\r\n4oaK4GGFJkkEaJsYZZp10jiLwKye4woWDOGtfqk03+YPJiK6Ck2Uajn8QYZK\r\nAq22pCH7gNXd+kCeRfFhKbmvudh2sV9wb6Kk8J7L2F2KWu3ArMdd8pEeAS73\r\n3xS/u8Gvz3+oHpd01UtR+HHuIeZKFfnePk93gKzCrdmcQ+53pUHNFu+F2IoV\r\nKjigWtwbOr+MZSGBfQckO0scRBNIbusKd0l6Yv6Q/bb/mgsxJUGiZbBxqE5M\r\nJhX1bUDE/3Yh84UEx/mjnCoFMbnq2wTKtu5cAMHzC6aK0VR/KR1Z0PRqiBeT\r\nk80fLMWoHj/lmWvOsm/3pe269eh5JQZ1St3caIXh7E1lYIrZ9QLWsf2piIrp\r\n79CX3x+g3DWBwIlM7q4SNmgoubCH94gfB9JPE8Pr910z3+Te2cioQM4uGLEg\r\nrUR2t7L6ruSes5tXl3CCnPt3VprUynATAsk=\r\n=Zm75\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aak.lear","email":"mgk.lear@gmail.com"},"directories":{},"maintainers":[{"name":"aak.lear","email":"mgk.lear@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-setup_1.0.0_1654698085433_0.5266033634850977"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aak.lear/eslint-setup","version":"1.0.1","description":"This package simplifies the initial setup of eslint. It installs and apply eslint-config-airbnb to your project, also resolves peerDependencies that are required for eslint-config-airbnb package.","main":"index.js","bin":{"test-eslint":"index.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/aak-lear/eslint-setup.git"},"author":{"name":"https://github.com/aak-lear"},"license":"MIT","dependencies":{"chalk":"^4.1.2","commander":"^4.1.1","cross-spawn":"^7.0.3","fs-extra":"^10.0.0"},"devDependencies":{},"keywords":["eslint","eslint-config","eslint-config-airbnb","eslint-config-airbnb-typescript","eslint-config-setup"],"gitHead":"f4e88b98fce469181c6df241ce8a953fdc3dc923","bugs":{"url":"https://github.com/aak-lear/eslint-setup/issues"},"homepage":"https://github.com/aak-lear/eslint-setup#readme","_id":"@aak.lear/eslint-setup@1.0.1","_nodeVersion":"14.19.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-517sProUxcFJJQMAcAqgZY+JkxRX5abDSZZpJxt5tmtCnpXe9sXIJD3mcyolhf4aHaoJ6UJD2lLMe1o+Rlnn9g==","shasum":"3df894d596f01286214fcd512eda3f236ff0309a","tarball":"https://registry.npmjs.org/@aak.lear/eslint-setup/-/eslint-setup-1.0.1.tgz","fileCount":7,"unpackedSize":77152,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDY7BhoYXBlRxr93rl3hS/mc5lfzblUS1sH5yPsffgO6gIhALTV0/ThmW7zHox2Y5YeMS8CgCuIa4OIoNZ65E4MO/CG"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioLJgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpgfg//YV6Di9EKwPKFHG5x2ndob2Cl1VqyOLCXJe7nxkPUR2Bid8IY\r\nkPprVnAUQU2qrdM5zSGJQZGajoHAFfkBt8tdKJ35G9dQupSFDKyKVg3SyECA\r\nyFSbh8Mlrchit1EA9Y5cxXQ7rSejl7YNH9r/+PjWuBTV6/Tf4lQHEUGd1YD+\r\nPNBRvSjR8EF/SCY226NQbFCB7GOJqKOm01rrM1E0kdgA11ERLTFij4gOc5j/\r\nvyy7EoRMASqYzvFSbheNcOrDyL5aAcDShvhXojN9B6+Ivh03ejH5uxteBU/v\r\nrLljlKOPEQwHG0w4q+Cj9/sbUqMTD18OScznXRZGygayg1TG3oPbY0ByvJNV\r\noZsCzFQB3erq4Z/jvJUM5jcWqc2Nh2SZ5nTSkWeZhglrXL9a8VApJ4XpL2qu\r\nQvqRuJspTUEskj3A8DDZ0HJFaSF1ADiiDsCbUvtp0qyeUeSJ891HG41zAfA0\r\nZGd+TwNqHAMmE3TlxI/uNpdCoJpAQ2GrL76RropohkcIPEm/eHejbi8w+T/t\r\nkxQBEBhyGry23/+Gvho6RCFkIUdYz6/VjAs2CZZ7GN64g+EvT4r445RNi84a\r\nr1QbXDBS6ovhZSXYUv1Cyo+YwLAGWe9w5YqC6CEWSHBFdrSHS9doPfybO4By\r\nu+USODn5gvYmXiC26Qa0ViHxclHnKZOx/jI=\r\n=5z8k\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aak.lear","email":"mgk.lear@gmail.com"},"directories":{},"maintainers":[{"name":"aak.lear","email":"mgk.lear@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-setup_1.0.1_1654698592594_0.7264998779246679"},"_hasShrinkwrap":false},"1.0.2":{"name":"@aak.lear/eslint-setup","version":"1.0.2","description":"This package simplifies the initial setup of eslint. It installs and apply eslint-config-airbnb to your project, also resolves peerDependencies that are required for eslint-config-airbnb package.","main":"index.js","bin":{"test-eslint":"index.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/aak-lear/eslint-setup.git"},"author":{"name":"https://github.com/aak-lear"},"license":"MIT","dependencies":{"chalk":"^4.1.2","commander":"^4.1.1","cross-spawn":"^7.0.3","fs-extra":"^10.0.0"},"devDependencies":{},"keywords":["eslint","eslint-config","eslint-config-airbnb","eslint-config-airbnb-typescript","eslint-config-setup"],"gitHead":"78515bfdb74276b600de37b12835ac6738e0b8d1","bugs":{"url":"https://github.com/aak-lear/eslint-setup/issues"},"homepage":"https://github.com/aak-lear/eslint-setup#readme","_id":"@aak.lear/eslint-setup@1.0.2","_nodeVersion":"14.19.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-z0IeCIgWbTpuui1OXf0rOfokLCnDKXDvQXz0keRHtys0+yz5D0gLm8n3g6iZ8R6u7c9Iqg0r+RfLu5CsoNv5cQ==","shasum":"c89b080e561c96784867dd18f139a55b7410f04e","tarball":"https://registry.npmjs.org/@aak.lear/eslint-setup/-/eslint-setup-1.0.2.tgz","fileCount":7,"unpackedSize":77341,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/o5v/Q1ugr75AMIr25VXjA612jThxe9Uedi8lahMpuAiEAtMSFJGZo7gCZU4kuOc7ZmCOXoYzO/UYMzpEU01rz+cQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV7JhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoiig/9EvxPQSiQ59CjjmU6gwLR6ccB6IkZQkwb+y0iJMHUMnnb1I2B\r\naZW5m3n+rT+laniJ0hyyrZgJDih3kQopjM477FvhFePrChy3HnWTmQqZF2Wp\r\naUcoi+EKyCMmjkodGBW/inY9yeVKM8AmWoJ/zstGsvCLPBeQ1d0J0XSkFyo6\r\nPsz/HOrn5R2r8F19A4vTo+jKuKiQk8mqgzT7QDGCOfjOWPIEj3RlwzSs3nX1\r\nx9htrOgCWZPp/QsJrc7LIDTReB74n4W5BXPrQ+pxo+Zp0yNDhPpJXRlW5nm7\r\nKYmzs+jYnGQkBz+KCU2W9AKX4dGDuaKSrTBm1+FsSlRXV5+6orDpjiovjaHJ\r\n+aNa7g0h/GmxBMIoyGARiWiGwmR9/UJmTUe6LtMplxsJMY6/y+FFgRHuM85r\r\nKxDNFG0XOBlLqSPHFpxqPGo2V0DO3/q+h7RJR3PFPtuBb4ktbpqyFf72wbs/\r\n+fiGsA+GF3uKyTEqjl8437ALLKxcYjWo8ZhaWGTJRMSD7L7/ys3EK0Lw4IUJ\r\nLyjabdUZz6pmTY31DRqN58cL/RR1js/AIYe22aILw6NsphdabKGUZI55FkNR\r\n2PhQ/GykBaTOCnB1qp7OCtwPDJfYUvplrDX36mWLKpWrFKwEoURdvAJfBbGx\r\nfnuChUbDxHSs4G3qUpoC/rhiRKMiR4l4lZ4=\r\n=xJ2z\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aak.lear","email":"mgk.lear@gmail.com"},"directories":{},"maintainers":[{"name":"aak.lear","email":"mgk.lear@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-setup_1.0.2_1666691680871_0.17191793142912926"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-08T14:21:25.374Z","1.0.0":"2022-06-08T14:21:25.662Z","modified":"2022-10-25T09:54:41.110Z","1.0.1":"2022-06-08T14:29:52.794Z","1.0.2":"2022-10-25T09:54:41.045Z"},"maintainers":[{"name":"aak.lear","email":"mgk.lear@gmail.com"}],"description":"This package simplifies the initial setup of eslint. It installs and apply eslint-config-airbnb to your project, also resolves peerDependencies that are required for eslint-config-airbnb package.","homepage":"https://github.com/aak-lear/eslint-setup#readme","keywords":["eslint","eslint-config","eslint-config-airbnb","eslint-config-airbnb-typescript","eslint-config-setup"],"repository":{"type":"git","url":"git+https://github.com/aak-lear/eslint-setup.git"},"author":{"name":"https://github.com/aak-lear"},"bugs":{"url":"https://github.com/aak-lear/eslint-setup/issues"},"license":"MIT","readme":"# @aak.lear/eslint-setup\n\nThis package simplifies the initial setup of [eslint](https://eslint.org). It installs and apply\n[eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb) to your project,\nalso resolves peerDependencies that are required for config.\n\n## Requirements\n\nThis package doesn't install `eslint`, so if it is not already installed in your project,\nyou have to install it manually with npm:\n\n```shell\nnpm install eslint --save-dev\n```\n\nor with yarn:\n\n```shell\nyarn add eslint -D\n```\n\n## Usage\n\nYou don't have to install this package to `node_modules`, because it is only used when setting up a project.\nCall this command in your project root instead:\n\n```shell\nnpx @aak.lear/eslint-setup\n```\n\nThen npx will install this package to internal cache and execute setup scripts.\n\nAfter installing the necessary dependencies, in your project will be created `.eslintrc.js`,\nwhich extends by `airbnb` config.\n\n## Options\n\n### 1) npm / yarn\n\nBy default, scripts will use `npm` to install config packages and peerDeps.\nIf you prefer `yarn`, you can add `--yarn` flag.\n\n```shell\nnpx @aak.lear/eslint-setup --yarn\n```\n\n### 2) TypeScript\n\nIf you want to use TypeScript, you can add `--ts` flag. Then scripts will additionally install\n[eslint-config-airbnb-typescript](https://www.npmjs.com/package/eslint-config-airbnb-typescript)\npackage and extend eslint configuration by airbnb typescript rules. In addition, scripts will create\nfile `tsconfig.eslint.json`, based on your `tsconfig.json`, and use it in eslint configuration.\nEnter this command:\n\n```shell\nnpx @aak.lear/eslint-setup --ts\n```\n\n### 3) Setup base config\n\nIf you don't use React, you can add `--base` flag. This command tells scripts to use `airbnb-base`\nand `airbnb-typescript/base` (if `--ts` flag provided) configs, which doesn't contain react and jsx rules:\n\n```shell\nnpx @aak.lear/eslint-setup --base\n```\n\n### 4) Overwrites\n\nI don't agree with some airbnb rules and overwrite this rules in my `.eslintrc.js` when setup new projects.\nBy default, this setting is disabled, but you can use my overwrites with `--overwrites` flag:\n\n```shell\nnpx @aak.lear/eslint-setup --overwrites\n```\n","readmeFilename":"README.md"}