{"name":"eslint-plugin-modules-newline","version":"0.0.2","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":"55092f76098d1c78788c9d50886eb5497ed5f7f4","_id":"eslint-plugin-modules-newline@0.0.2","_nodeVersion":"12.13.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-DPlxeVt+CUW8F42WSxAK2rM+KIDcYsBFsGVqgJpf4aLsJW/3NoS1cJgcMd39YhpTZoo4jqwLtdzTVcuDuet2Kg==","shasum":"b77739d8745ba4841da3ec1318392da9062d63f9","tarball":"http://registry-npm.ywwl.com/eslint-plugin-modules-newline/download/eslint-plugin-modules-newline-0.0.2.tgz","fileCount":11,"unpackedSize":10031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegkqcCRA9TVsSAnZWagAA8uIP/3WU7TmYfKtwc/vAkkSY\nyTOZ2wr0UllXtva7N6xGPbGVwe1uMYIA8UxIY7AuIK6h9lMVJpO9fq5n5hWx\nG5Yn94cDENRm9aJVLGFrQMtrSAdym6YgEBD3qLX7yxT4n+JG7ocCEm2WYqr6\nr84pv7GkYNBj8uHcAYeBShwloL+OkipUGp3nkEgDA7tamJ6cld/KmE8GHIvZ\nhM3menO/OGS6JJK3PP1ZNAR024bVSwEFesPLKNKs3hrTMgQ+NRwKxKYXpals\nKypDmMx7oLaSvh41U8Wk/ZGXIDSmhRf/bv3p4/J3gaXs/eixQsUgLY27LFGv\nYe3kCOTHO93bQ8Dp+RvAvFgM6u0eIAYyujK8d8d3vlDm1+akx23ByBhc9Nfg\nSjmkbTwJlEQT0qhjRMANqmbMcJYX6ZBdI0nT2KXCm/GDadgDgedLLtUSAqvO\npisGdSkauDcJpbsL+b1ELEwJeu66+fHgr9/xas4Z3nIwkmFspGAh+ESg0CVq\nYZUMrC7fZ07XRyhhb1eQMOThPL3ev4pvQH9riKhlWmLC8ZiidRG3dSYUqk5C\nu+RVZ90me0C/2f+8GJFm3qjWPTo0M90z8swAGymfRMK8SaVx2GownOu2raPW\n5CBejniuH28A27ghQ8HiQPeFblpzD3jVo7Ag2l/uMcY0fW0eXUPrkWIjV+6Y\nqzRC\r\n=zHGR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtzc139/b+cNlRQpCs5GLrjZQaCcuJvuoLurd36R9jPgIhALh6T1wKBxAORwBgRwgqV+7J4cJdk0An5Dk48ndoK32w"}],"size":3234,"noattachment":false,"key":"/eslint-plugin-modules-newline/-/eslint-plugin-modules-newline-0.0.2.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.2_1585597083575_0.3088943736863161"},"_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":1585597083934,"_cnpm_publish_time":1585597083934,"dist-tags":{"latest":"0.0.6"}}