{"name":"eslint-plugin-modules-newline","version":"0.0.3","description":"Enforce placing import or export variables on a newline","keywords":["eslint","eslintplugin","eslint-plugin","import","export","newline"],"author":{"name":"Anton Antonov","url":"foxic[AT]foxic[DOT]ru"},"main":"lib/index.js","scripts":{"test":"mocha tests --recursive"},"dependencies":{"requireindex":"~1.1.0"},"devDependencies":{"eslint":"^6.8.0","husky":"^4.2.3","mocha":"^3.1.2"},"engines":{"node":">=0.10.0"},"husky":{"hooks":{"pre-push":"npm run test"}},"license":"ISC","gitHead":"f004dbf2d6ec80df93023ba2d19946aabbf7ea1d","_id":"eslint-plugin-modules-newline@0.0.3","_nodeVersion":"12.13.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-l14HHWyLQsief655/GniHqGrIrfallsJUksgqgIfOWC+K58sLtKZAupys8GqBh/msGnxSNldhutGyQdzyLLYtQ==","shasum":"d263a5b92a75b84a9b83d08a43f8659b9638da21","tarball":"http://registry-npm.ywwl.com/eslint-plugin-modules-newline/download/eslint-plugin-modules-newline-0.0.3.tgz","fileCount":11,"unpackedSize":10055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1AKHCRA9TVsSAnZWagAAEdQP/jtMxB6WWrlcfAVhZYCP\nlp7tlVTbsf/Ljxkw+jqP2mvjC4DB6E17cAtcJhvJfhUO8G8PeUtVrXjZHbd8\nRH4mNAg/5YWV3gJ/lSrsmqiebMy0G1QXVXWTC7yT8Q1WFWbwladVkkqA9m5H\n5zzOwfq++0303iEWHZs2rO+sMiuHAhtkrsQko13u7yY0qRZKYLJntepBp1z5\nUvt4CS+9dJbhyk1G3Tof5LnbKYdb9WuzN8nlRKuXlm6Rog0P+AIsR2KOt1gq\nrdKPtjKkGUndvCP7a8elwVFGWqSkNaOc6CAbeZ15B4OLd7wxWP29CDD+nVk8\nwon4DSPUJ5uvEfqbWHowds5G34YaKaHa79I5bwMawCBkN0is3TZp5AqrH95p\nU/5C19dtDE34dFb0lJpgID4p1kdJGGE2dyB/TcZ1/UV+Km/YomfQcZQl0sfZ\nOLSWIFKMra425xpELGGwtlfQDaNV0cMcsIm12C9/FrvOJGjNzc78grg45yvX\n2mfkUutqgAMeoeA9dzWWbeQjjB/e+s4X131Wv4dz4DYwCTiZxEywiWm/C1Ky\n0/YNghErt/djpTcwGlt0+1Js6/KsFFpd6bhl9sphxX4DxvcxvNKWoPkhdcUo\nFVE7iClBbLVxKQQIhUe4irBbHQIvEVwY9zxFL6cIxdmc2y7Ahv88NzGvDAtc\nXltM\r\n=ZVTc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvM7CXbhaTaOQDNwnOusTzsPCe6xIuFaHmSEgRIwuongIhAOdOYG6r/r6xQOPCO0LfcdnKyLShtu0ju87DSVqYaDaa"}],"size":3231,"noattachment":false,"key":"/eslint-plugin-modules-newline/-/eslint-plugin-modules-newline-0.0.3.tgz"},"maintainers":[{"name":"gmsorrow","email":"foxic@foxic.ru"}],"_npmUser":{"name":"gmsorrow","email":"foxic@foxic.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-modules-newline_0.0.3_1590952582908_0.6766347591304438"},"_hasShrinkwrap":false,"readme":"# eslint-plugin-modules-newline\n\nEslint plugin to enforce placing import and export variables on separate lines\n\n## Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```\n$ npm i eslint --save-dev\n```\nor \n```\n$ yarn add eslint --dev\n```\n\nNext, install `eslint-plugin-modules-newline`:\n\n```\n$ npm install eslint-plugin-modules-newline --save-dev\n```\nor\n```\n$ yarn add eslint-plugin-modules-newline --dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-modules-newline` globally.\n\n## Usage\n\nAdd `eslint-plugin-modules-newline` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n    \"plugins\": [\n        \"modules-newline\"\n    ]\n}\n```\n\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n    \"rules\": {\n        \"modules-newline/import-declaration-newline\": \"warn\",\n        \"modules-newline/export-declaration-newline\": \"warn\"\n    }\n}\n```\n\n## Supported Rules\n\n* Enforce placing import variables on separate lines (import-declaration-newline)\n* Enforce placing export variables on separate lines (export-declaration-newline)\n\n## For maintainers\nAST explorer - https://astexplorer.net/#/gist/b6093767261d6a5bce76043dcea24bec/5fe761308f41936beaa30cbe7aef3a6f0283e11d\n\n\n\n\n","publish_time":1590952583059,"_cnpm_publish_time":1590952583059,"dist-tags":{"latest":"0.0.6"}}