{"_id":"@chuyik/gulp-prettier-eslint","_rev":"1-f1bba5fda8119d97356e80aab23604a6","name":"@chuyik/gulp-prettier-eslint","dist-tags":{"latest":"3.0.1"},"versions":{"3.0.1":{"name":"@chuyik/gulp-prettier-eslint","description":"Create vinyl streams to pipe to prettier-eslint","version":"3.0.1","main":"index.js","repository":{"type":"git","url":"git+https://github.com/chuyik/gulp-prettier-eslint.git"},"scripts":{"lint":"prettier-eslint '**/*.js' --write --eslint-config-path .eslintrc.yml","pretest":"npm run lint","test":"mocha"},"keywords":["gulp","prettier","prettier-eslint","gulp-prettier","gulp-prettier-eslint","gulpplugin"],"engines":{"node":">=4"},"author":{"name":"Chuyik"},"license":"MIT","publishConfig":{"access":"public"},"dependencies":{"plugin-error":"^1.0.1","prettier-eslint":"^8.8.1","safe-buffer":"^5.1.2","through2":"^2.0.3"},"devDependencies":{"mocha":"^5.0.4","prettier-eslint-cli":"^4.7.1","vinyl":"^2.1.0"},"gitHead":"067c0273ec600f2990f573ada917385701599c43","bugs":{"url":"https://github.com/chuyik/gulp-prettier-eslint/issues"},"homepage":"https://github.com/chuyik/gulp-prettier-eslint#readme","_id":"@chuyik/gulp-prettier-eslint@3.0.1","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"chuyik","email":"crazyzyt@gmail.com"},"dist":{"integrity":"sha512-4vTIeU4Vz4dGAdazdnS0G53uy/T5pxSCd/lblLWOIIg4gie0Z0kC3WpWGUXHq63I5oe/bcHuBvmkXSQJS3PsdQ==","shasum":"2fc50b22f67d7abe622c1622280fe722f52eb558","tarball":"https://registry.npmjs.org/@chuyik/gulp-prettier-eslint/-/gulp-prettier-eslint-3.0.1.tgz","fileCount":5,"unpackedSize":5078,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcHFZgCRA9TVsSAnZWagAAaIAP/j9F4s7SQBWqxtfiuY6N\nhmYuohIsx4Mo3IJttSKJw5ub7ahihHYcGLijLfvDIKs4WBqVfkUhI067Ql0H\n/GxPJR4hSeA4DMHL33Z2+YDoagz0PYxEAMg2tP9Zn0JYR8hAYCkrZ90SpySp\nrIEv2fvyzOn+msXK4Edmu7BL0ZAdqfepGlzjA8ydYznxlcnTlFOA7GfYRU/w\n7BDcFTj88gmsz5DIwV36iEXsKDneolehko+5XE6nJhinCPayweABeLNAv/0O\n39TuHRJVMRrogwrap/MtPA6HcwTZ5VJoQPLzZQdRq8JviQYio+SXD0XNiacL\nG7uVAvyySmOAPuXyvtDoZWa5TgM4gUTPqUJbjciXuAbSZJ6DTzdWMozQWh2/\nakpUEGkASDZCEyEpWPlhH5SQ1fuUHp3Y7yjAedh6vxXBfowj5IGIzoVGa2P6\n6KpCU1O5YXakUGNcURQXOSu3I/fl8/Bpo5ufr4WcZ0ow3Spf60H1ugH1vkNm\nWTeaJ65QN3rxBOrZCMNpxhGRJevARvFlTyM04dc48geEpeP3RXBMDgZBV9Q8\ncUpJi1aiJXr5lq7TXA7Kj6zr0kiXN0tB61dO0SnTx/V17yseU97iZDOfn6qO\nk+YPmIOrYgvNYDdaSERFfD/PPzwsKu4BNX4DVWegovMNLv7il1o3ucIs5+8B\nSsf8\r\n=r4PS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCksYwH2nzdf9v25kag0kG+Xiat0eiJ1kqqWpCdkMquYQIgerG9ehCO1dcWCUgA7TzgSD65KPfkfzWnhyD1qMiyRiA="}]},"maintainers":[{"name":"chuyik","email":"crazyzyt@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-prettier-eslint_3.0.1_1545360992180_0.07922426655208725"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-21T02:56:32.005Z","3.0.1":"2018-12-21T02:56:32.330Z","modified":"2022-04-04T22:57:28.012Z"},"maintainers":[{"name":"chuyik","email":"crazyzyt@gmail.com"}],"description":"Create vinyl streams to pipe to prettier-eslint","homepage":"https://github.com/chuyik/gulp-prettier-eslint#readme","keywords":["gulp","prettier","prettier-eslint","gulp-prettier","gulp-prettier-eslint","gulpplugin"],"repository":{"type":"git","url":"git+https://github.com/chuyik/gulp-prettier-eslint.git"},"author":{"name":"Chuyik"},"bugs":{"url":"https://github.com/chuyik/gulp-prettier-eslint/issues"},"license":"MIT","readme":"# Gulp Prettier Eslint [![Build Status](https://travis-ci.org/o2team/gulp-prettier-eslint.svg?branch=master)](https://travis-ci.org/o2team/gulp-prettier-eslint)\n\nA [Gulp](http://gulpjs.com/) plugin which allows the users to use [prettier-eslint](https://github.com/prettier/prettier-eslint).\n\n## Install\n\n```\nyarn add @o2team/gulp-prettier-eslint --dev\n```\n\n## Usage\n\nSimply pipe the input, and pass in arguments that you would to the regular format function.\n\n```js\nconst gulp = require('gulp');\nconst format = require('@o2team/gulp-prettier-eslint');\n\ngulp.task('default', () => {\n  return gulp.src('*.js')\n    .pipe(format({ \n      eslintConfig: {\n        parserOptions: {\n          ecmaVersion: 7\n        },\n        rules: {\n          semi: [\"error\", \"never\"]\n        }\n      },\n      prettierOptions: {\n        bracketSpacing: true\n      },\n      fallbackPrettierOptions: {\n        singleQuote: false\n      }\n     }))\n    .pipe(gulp.dest('./dist'));\n});\n```\n\n## API\n\n### format([formatOptions])\n\n#### formatOptions\n\nType: `Object`\n\nConsult the `prettier-eslint` [options](https://github.com/prettier/prettier-eslint#options).\n\n# Donation\n\nIf you find this project useful, you can buy us a cup of coffee:    \n\n<a href=\"https://www.paypal.me/chuyik\" target=\"blank\">\n<img width=\"200\" src=\"https://storage.360buyimg.com/mtd/home/donate_paypal_min1495016435786.png\" alt=\"\">\n</a><br>     \n\n<img width=\"650\" src=\"https://storage.360buyimg.com/mtd/home/donate_cn1495017701926.png\" alt=\"\">\n\n## Acknowledgements\nWe are grateful to the authors of existing related projects for their ideas and collaboration:\n\n- [@bhargavrpatel](https://github.com/bhargavrpatel/gulp-prettier)\n\n## Contributors\n[![chuyik](https://avatars2.githubusercontent.com/u/6262943?v=3&s=120)](https://github.com/chuyik) |\n:---:|\n[chuyik](https://github.com/chuyik) |\n","readmeFilename":"README.md"}