{"_id":"eslint-filtered-fix","_rev":"6-bf82d3aa0bf733c1e3633b5626be6bb7","name":"eslint-filtered-fix","description":"Gain more control over how ESLint fixes are applied.","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.1":{"name":"eslint-filtered-fix","version":"0.1.1","description":"Gain more control over how ESLint fixes are applied.","main":"index.js","bin":{"eslint-filtered-fix":"./bin/eslint-filtered-fix.js"},"files":["README.md","LICENSE.md","src","bin"],"scripts":{"test":"jest","lint":"eslint src index.js --cache"},"keywords":["eslint","fix","autofix"],"author":{"name":"Ian VanSchooten","email":"ian.vanschooten+npm@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/ianvs/eslint-filtered-fix.git"},"bugs":{"url":"https://github.com/ianvs/eslint-filtered-fix/issues/"},"license":"MIT","peerDependencies":{"eslint":">=4.2.0"},"dependencies":{"optionator":"^0.8.2"},"devDependencies":{"eslint":"git+https://github.com/eslint/eslint.git#88ed0417761a963cb6abd762f2a53ce532308b72","eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.7.0","eslint-plugin-node":"^5.1.0","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1","jest":"^20.0.4","shelljs":"^0.7.8"},"gitHead":"8501cf8c3db4c18f7be0b0a9877ddbba7fd56a59","homepage":"https://github.com/ianvs/eslint-filtered-fix#readme","_id":"eslint-filtered-fix@0.1.1","_shasum":"07e08a8c7cde059c6db00c3b2b001fa4756cb74e","_from":".","_npmVersion":"3.10.9","_nodeVersion":"4.4.5","_npmUser":{"name":"ianvs","email":"ian@badgelabsllc.com"},"dist":{"shasum":"07e08a8c7cde059c6db00c3b2b001fa4756cb74e","tarball":"https://registry.npmjs.org/eslint-filtered-fix/-/eslint-filtered-fix-0.1.1.tgz","integrity":"sha512-HTJ1v1NgZYzCCReix6OhgoRXLTB5ZB3Sk/8UcIRtyKroE1DZYJ+13BLTRLluOobWwVhl55Sge8BOZLh0y8r/mQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoQsjRNnbLWVBDDbVFtydH+pw6ABiiHixEzxRsHXOcFgIhAL7mNlT/L+0jCSAiGxls7W3A4rIGMm5oYRMwAzdoeha4"}]},"maintainers":[{"name":"ianvs","email":"ian@badgelabsllc.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-filtered-fix-0.1.1.tgz_1499451223160_0.13840148504823446"},"directories":{}},"0.1.2":{"name":"eslint-filtered-fix","version":"0.1.2","description":"Gain more control over how ESLint fixes are applied.","main":"index.js","bin":{"eslint-filtered-fix":"bin/eslint-filtered-fix.js"},"scripts":{"test":"jest","lint":"eslint src index.js --cache"},"keywords":["eslint","fix","autofix"],"author":{"name":"Ian VanSchooten","email":"ian.vanschooten+npm@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/ianvs/eslint-filtered-fix.git"},"bugs":{"url":"https://github.com/ianvs/eslint-filtered-fix/issues/"},"license":"MIT","peerDependencies":{"eslint":">=4.2.0"},"dependencies":{"optionator":"^0.9.1"},"devDependencies":{"eslint":"^7.0.0","eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.7.0","eslint-plugin-node":"^5.1.0","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1","jest":"^26.6.3","shelljs":"^0.8.4"},"gitHead":"6b620821c70c19b7d0999c362b141f56fde433fc","homepage":"https://github.com/ianvs/eslint-filtered-fix#readme","_id":"eslint-filtered-fix@0.1.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-WjubxjjPpqT+kQWKH59ZK17b0sdAwnDNVHXVcscCGNfKS36Big+AnlR3o9/0v3WRbeU6HSkrfE4vaFFRoywpUw==","shasum":"8c2d85d033de7d16de9eb9c3cb367423c8c27b10","tarball":"https://registry.npmjs.org/eslint-filtered-fix/-/eslint-filtered-fix-0.1.2.tgz","fileCount":9,"unpackedSize":14614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9m5/CRA9TVsSAnZWagAASZMP/1Fu4fYq2/1IgbuY52P3\nSF19dKPsrSMxJzaX3bL0JdjjlF/N6WMga+Ign6gsWvdHi7wakg1SCQ3CZSGB\ncF5Fkm0xJj9RZoKrNWu0Tk1gvTYVY5ZBICEW3gRgPaax3dnLG2OHKNFW+dhB\n2VykfQg3ZVwpoLW6uJmaw9QZxwPemnJ7zx5FobWjTnid0/Pp586qyy3zwHw6\nYCdc6xBJ9ehfSKozfTMTIgtaqZU4c3OprebF5F5JzHelz6lr6L6WCepE+4rP\nBw5aBdqzpidaet5xX0QV+Dw7Ppbixzaa11xI2S88FNOqYqURDheziGF+Yfcx\nONtmX3btjxsa4GszZw/ibzgiD7fBHU+M962URmhYkH230l3ua5Uiw4FuAelw\nxqjFfF1aAGAg5eMIDU7O+Y7sKlhicbuZiwzeOUUtdgvYzDX6UbFz7fgbnWdD\nOBG4kEIlkYYkM89PbJ08FTuM9oFzftWn4ozxOyri42FG+31hgOCUnQatRVXA\nqYu/buZxfRdFzjS2EoUyF45KQOlmVDeVzaPe+D/+kHkit+F5JiZvqTwE7iW6\nb92HOu2VEi74dLfUabhD6CqSDugPwJ8GwDUr/nrC/HR3P8zy/A6fle/sPfiV\nykPoD0URHvGoAFFV4OJZrrnOxzzRGO1mxgMbQmQQzjgveQtDvxSjz7EORXjx\nrZUj\r\n=Maki\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5ZDlVHA6nWCcQOv1h8CYtnI/YNW5ISHf1gMaC7d9BZAiEAoHYO7mDLN1wg7ZxIat7WyB3cHWbJxAhFfT1DoTVSGv8="}]},"_npmUser":{"name":"ianvs","email":"ian.vanschooten@gmail.com"},"directories":{},"maintainers":[{"name":"ianvs","email":"ian.vanschooten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-filtered-fix_0.1.2_1609985662929_0.810751698889727"},"_hasShrinkwrap":false},"0.2.0":{"name":"eslint-filtered-fix","version":"0.2.0","description":"Gain more control over how ESLint fixes are applied.","main":"index.js","bin":{"eslint-filtered-fix":"bin/eslint-filtered-fix.js"},"scripts":{"test":"jest","lint":"eslint src index.js --cache"},"keywords":["eslint","fix","autofix"],"author":{"name":"Ian VanSchooten","email":"ian.vanschooten+npm@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/ianvs/eslint-filtered-fix.git"},"bugs":{"url":"https://github.com/ianvs/eslint-filtered-fix/issues/"},"license":"MIT","peerDependencies":{"eslint":">=7.0.0"},"dependencies":{"optionator":"^0.9.1"},"devDependencies":{"eslint":"^8.3.0","eslint-config-standard":"^16.0.3","eslint-plugin-import":"^2.25.3","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.1","eslint-plugin-standard":"^5.0.0","jest":"^27.0.0","shelljs":"^0.8.4"},"gitHead":"a1ce8e904cbc658f6afba49e0c350b3d85f263c7","homepage":"https://github.com/ianvs/eslint-filtered-fix#readme","_id":"eslint-filtered-fix@0.2.0","_nodeVersion":"16.4.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-XdaG7foK2Xu4EORAwtgBRv25eLv50XGbeiCDVeUui8Mp51HBd1h+HR/Od40U2rhQmFqnCK0hIPknltoCKq8xew==","shasum":"f3d9e10c028ef74b878296948f9c20e836816203","tarball":"https://registry.npmjs.org/eslint-filtered-fix/-/eslint-filtered-fix-0.2.0.tgz","fileCount":9,"unpackedSize":16285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnEyyCRA9TVsSAnZWagAA0pYP/2UNBCiUXPGSVG6wap+7\nyAUBb6y5Pg24f0Fjs+TtQlKCjLIvo3VAyhihfqEZkoruQMMWzXdSUQBQJ9aX\n9iwH7gT4SsI/6cpJL0pQex3ZNaray/AcdSaoiBoLcCM6xj339Ti0SOXCWfLm\nXxphFvCLvtIhmDMdR3ZR+Byi1knwqd0BujVB9u3cQQjRpByEFLKrrGDivbr0\nl0V9et/91TZ6pvkFXLhhXEcAdWdFUAOjk4A/tzcMMvHRA65VlWpXtVMdyXrc\nu88CmjixZe23Mu0vo0jdfWrFPl8jGgQveEF28+v4Us5ahCwW1m5D8GqPdWRB\nxTaEOoItpCtKZ8zGI3BWWbqzb6xnYTngbUBgyG8e/8ug6qyI+DC7v99tjQs2\n15MLeqLBmimWsmqyataC7dwmud3XCFpyaDLDmEZMWeD2b3XDDZYzlRBWERKV\ny9TEQUir7a76zg4NaJFhTKQdcQp1NocolMVUe4c7tdtJPaHO8qComkGg5rrC\nsuK+ak7wYsb7x4O3nc0JvYFKFp3CTKuvPsqOjn3MDvc4MkZggURPCer0Xh0D\n1s2/2ND/vKpEizqEpszYFMtuM/TaaEsTE1zjrwoTLMuBrrBvKw5BXpXNFmYu\nSvRTjFFcpfC3OxXW9L1W/S0VP/BwhnrvMKwYFVjMSsV6OLCPpltFJED7zS64\nz7Pl\r\n=/Ucn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVWaTv0QtoBv1rAYzJK3JPWqt93VvWbvgqzP1/fhdpMQIgbISH2Yh9RIdHx2ghx95ac16a2C4X7XCpqj7BJ14B1F4="}]},"_npmUser":{"name":"ianvs","email":"ian.vanschooten@gmail.com"},"directories":{},"maintainers":[{"name":"ianvs","email":"ian.vanschooten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-filtered-fix_0.2.0_1637633202677_0.08040174133803868"},"_hasShrinkwrap":false},"0.3.0":{"name":"eslint-filtered-fix","version":"0.3.0","description":"Gain more control over how ESLint fixes are applied.","main":"index.js","bin":{"eslint-filtered-fix":"bin/eslint-filtered-fix.js"},"scripts":{"test":"jest","lint":"eslint src index.js --cache"},"keywords":["eslint","fix","autofix"],"author":{"name":"Ian VanSchooten","email":"ian.vanschooten+npm@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/ianvs/eslint-filtered-fix.git"},"bugs":{"url":"https://github.com/ianvs/eslint-filtered-fix/issues/"},"license":"MIT","peerDependencies":{"eslint":">=7.0.0"},"dependencies":{"optionator":"^0.9.1"},"devDependencies":{"eslint":"^8.3.0","eslint-config-standard":"^16.0.3","eslint-plugin-import":"^2.25.3","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.1","eslint-plugin-standard":"^5.0.0","jest":"^27.0.0","shelljs":"^0.8.4"},"gitHead":"935cb7f588dbf60101c1efa67e108b1fbc47f9ca","homepage":"https://github.com/ianvs/eslint-filtered-fix#readme","_id":"eslint-filtered-fix@0.3.0","_nodeVersion":"16.4.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-UMHOza9epEn9T+yVT8RiCFf0JdALpVzmoH62Ez/zvxM540IyUNAkr7aH2Frkv6zlm9a/gbmq/sc7C4SvzZQXcA==","shasum":"c03de8b0d8e9b67d49f401f4e039febb3b0f5858","tarball":"https://registry.npmjs.org/eslint-filtered-fix/-/eslint-filtered-fix-0.3.0.tgz","fileCount":9,"unpackedSize":16349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5sVGCRA9TVsSAnZWagAApHIP/imncp/hrbRpLgCeI8a5\nO6wgkewrwCxaK3qYffyhjWxLPOur51NQ+t6Q59oPP1CLe8Acas8EktyD+6TV\nDEESwWi1SY72s0lJpj1YYYdpHMfiEY41EZYuWf5pHVKQVdje9X641oxReiWC\n0fxVdpPP6IMskyWAKFrCdH9yMay5Rf6xF5rVyjVwnOR5YrHzAekexpp/FzjW\n/M7/cfbkkGG8K/GsQECWuZR14ydbtfjQ+kAdIpw3CQfFg3mZiFDK9SFNxNkT\niMWveZJ7S1yZ92Tbw4ukyNghxM/6OZf595rseXa6+h5hZcm0XKc9bhMq3JYW\ntFLDbuWEdoOnyyG1kCzhxx+nKA2/ZpDPdoHTPoaF2s8ZmPr2KoIx7bNK4QGT\n26GDINfjugQ/XYvpkwqIdFr8LH7ADI+jc6+xbt5PQ5dOFBlh+tawnhH/NGPQ\nD35PbFHg3jhsBrFKYvVMf2WWPnmFwwucWoIS7VM2LQ9da2GZ+F9A0h5AUBhf\n1MjivNkADCgzRsXU0RqGbZ/BceJPWQHsmloUSSEB1Bxyiy+Ry+nFi78OSjI4\nC7tDKt0wHShGwN2+MELHVmGmrr1ZAjcQlb2AL6WALvTmL5FiHJqL76E8VuUO\nKxNE5LKSKlifxbx+khTVrbl1gVL0300VWouZO2IIxMbljlwj6fi4gPl9VrJZ\nViNr\r\n=ZuoV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+lAX7JWB7YYZwajovPabRlVkK084Mu0BOazo2l6aIeAIhAI/J/BtacmNdFWvwr1nO2csgZAsdqSdd3DBK8UT353gP"}]},"_npmUser":{"name":"ianvs","email":"ian.vanschooten@gmail.com"},"directories":{},"maintainers":[{"name":"ianvs","email":"ian.vanschooten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-filtered-fix_0.3.0_1642513734286_0.4460292814215885"},"_hasShrinkwrap":false}},"readme":"# eslint-filtered-fix\n\n[![npm][npm-badge]][npm-badge-url]\n\nThis tool allows additional control over the fixes that ESLint makes to your code.\nIt uses the ESLint that you've installed in your project (`>=7.0.0`), and allows you to specify exactly which rules to fix.\n\nESLint can save a lot of drudgery by automatically fixing your code to meet the\nguidelines that you've told it to enforce.\nBut, by using the built-in `eslint --fix` command, your code can undergo drastic changes,\nespecially if you have recently introduced ESLint or added more rules that are failing.\nSometimes, it's better to fix a single rule or a small set of rules at a time,\nresulting in smaller, more focused commits. That is exactly what you can do with eslint-filtered-fix.\n\n## Installation\n\n```shell\nnpm install --save-dev eslint-filtered-fix\n```\n\nor\n\n```shell\nyarn add --dev eslint-filtered-fix\n```\n\nAlso ensure that you have a version of ESLint which is `7.0.0` or newer. If you need to use an older version of eslint, please use version `0.1.X` of eslint-filtered-fix.\n\n## Usage\n\nAdd as an npm script, or run it directly with yarn:\n\n```shell\nyarn eslint-filtered-fix <filename or dir>\n```\n\nIf you do not add any other options, all fixes will be applied, as if you had run `eslint --fix` on the files you specified.\n\n## Options\n\n### --rule <rule-name>\n\nOnly apply fixes for the rule(s) specified.\nYou can specify multiple rules by adding more than one `--rule`, or using an array\n`--rule [semi,newline-after-var]`. (Notice that spaces in the array are not allowed.)\n\n### --no-warnings\n\nIf you do not want lint warnings to be autofixed, use the `--no-warnings` flag.\nWith that flag, only errors will be fixed.\n\n### --ext\n\nIf your javascript files have an extension other than `.js`, you can use the `--ext` flag to\nspecify which extensions to examine.\nFor example, this will fix the `semi` rule in all files within the `lib` directory ending in `.jsx` or `.js`:\n\n```shell\neslint-filtered-fix lib/ --ext .jsx,.js --rule semi\n```\n\n### globs\n\nYou are not limited to directory and file names as arguments, you can also specify a glob pattern.\nFor example, to examine all .jsx files in \"test/\" directories within \"lib/\":\n\n```shell\neslint-filtered-fix lib/**/test/**/*.jsx --rule semi\n```\n\n## JS API\n\nThe `fix` function can also be required and called from a node.js function. It is an async function, so be sure to `await` the result.\n\n```js\nconst { fix } = require(\"eslint-filtered-fix\");\n\nconst results = await fix(files, fixOptions, configuration);\n```\n\n## Notes\n\nThis module does not make any decisions about which ESLint rules to run.\nMake sure your project has a valid ESLint config file.\n\nFor a more interactive experience, check out [eslint-nibble](https://github.com/IanVS/eslint-nibble).\n\n[npm-badge]: https://img.shields.io/npm/v/eslint-filtered-fix.svg\n[npm-badge-url]: https://www.npmjs.com/package/eslint-filtered-fix\n","maintainers":[{"name":"ianvs","email":"ian.vanschooten@gmail.com"}],"time":{"modified":"2022-06-17T20:23:48.188Z","created":"2017-07-07T18:13:44.201Z","0.1.1":"2017-07-07T18:13:44.201Z","0.1.2":"2021-01-07T02:14:23.091Z","0.2.0":"2021-11-23T02:06:42.830Z","0.3.0":"2022-01-18T13:48:54.413Z"},"homepage":"https://github.com/ianvs/eslint-filtered-fix#readme","keywords":["eslint","fix","autofix"],"repository":{"type":"git","url":"git+https://github.com/ianvs/eslint-filtered-fix.git"},"author":{"name":"Ian VanSchooten","email":"ian.vanschooten+npm@gmail.com"},"bugs":{"url":"https://github.com/ianvs/eslint-filtered-fix/issues/"},"license":"MIT","readmeFilename":"README.md"}