{"_id":"eslint-plugin-modules-newlines","_rev":"1-8fbf8b66ba35a40ea72dd9bc1bbcdf48","name":"eslint-plugin-modules-newlines","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.7":{"name":"eslint-plugin-modules-newlines","version":"0.0.7","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","repository":{"type":"git","url":"git+https://github.com/ruudandriessen/eslint-plugin-modules-newline.git"},"homepage":"https://github.com/ruudandriessen/eslint-plugin-modules-newline#readme","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":"6de0bfd840ed6ead31949351792f1b96bcb2d86c","bugs":{"url":"https://github.com/ruudandriessen/eslint-plugin-modules-newline/issues"},"_id":"eslint-plugin-modules-newlines@0.0.7","_nodeVersion":"17.2.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-EYRsG/b0pgV6AG4C321G7Mv9INP526G+R+tLbPZMlJxGqE06Xnh+kYJeDDKn2Dp5XnmpyNON74wyDTKbyInZDg==","shasum":"f5a751fcea232e14c108f1917ebd565bab4435de","tarball":"https://registry.npmjs.org/eslint-plugin-modules-newlines/-/eslint-plugin-modules-newlines-0.0.7.tgz","fileCount":12,"unpackedSize":11203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhueNoCRA9TVsSAnZWagAAq3EP/0798YHthYVXl4Eirox7\n4Z130P+MQvAFM7i4e381Lih6JLnW6urdGOgev9xaMiJcZgExd0wnNWhnzaCD\nDTJxDMPDquwXiwIEEYinCb5Ue7bBYRTMo4RYLHxcAQPokDXN9mQOt8mlKDUI\n2HShFAmGuV5sOYjUk6DTCnEXjHLItmxZfpybc/SuVZmonkLfQ5+RmiP0JmkG\nTcs6kB8tto/G4+oOHUTMXRsKepxkh7BDmMetCGJg6bOxtQD78ZqIrBCBYGu2\n5/9XNbuKaDkJWhG3/AnbPUsIoL/5I19ZaGzkpoZWgTiN/+nKUTfYcKt5BgEN\nUCVDrwSH1RuRkxk5CF11S+kVg412xiKqU2/4bcoBgxMSS1AjZUwZQziiWkl5\njvGPelNZeXEZVM//bstlLFMjU0s8HhMDlhstJu7X7CaXVgbpHRURNlb2Ytlf\nZxerb+Brva0mMXTXZ0hE7pQTUlkfOF8+peVCSTCV3r6dazbyAg5LLBSrIdEb\nsn5EWkDYEBp8ilUGbF3A4+2F2r9qKPkBaso2smlx1E5yFTPcZV6mA+RQtQO3\nf32tuIx9EOBB+kpP66l4nY55vxD0roDluN/wACbUPDk1Xhbv+faaPIZXUZ51\njSyCR2ikE0lISODR6Ljx/Dqx/Q4Ice/6kLQtZw5H9kqPlYGT6DE8kJSx3Hxc\nuDqO\r\n=91Y8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9NVVIPIzlXNVoSxz/zDKQSZpb7ydgOTavJBZUtzI8aQIgHEbn2mtv0Z1n0E4YNUznFPy37DS7cFtwJbS9RZ5CE5c="}]},"_npmUser":{"name":"ruud.andriessen","email":"ruud.andriessen@gmail.com"},"directories":{},"maintainers":[{"name":"ruud.andriessen","email":"ruud.andriessen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-modules-newlines_0.0.7_1639572328545_0.7521059893985795"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-15T12:45:28.544Z","0.0.7":"2021-12-15T12:45:28.716Z","modified":"2022-05-01T16:32:20.693Z"},"maintainers":[{"name":"ruud.andriessen","email":"ruud.andriessen@gmail.com"}],"description":"Enforce placing import or export variables on a newline","homepage":"https://github.com/ruudandriessen/eslint-plugin-modules-newline#readme","keywords":["eslint","eslintplugin","eslint-plugin","import","export","newline"],"repository":{"type":"git","url":"git+https://github.com/ruudandriessen/eslint-plugin-modules-newline.git"},"author":{"name":"Anton Antonov","url":"foxic[AT]foxic[DOT]ru"},"bugs":{"url":"https://github.com/ruudandriessen/eslint-plugin-modules-newline/issues"},"license":"ISC","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","readmeFilename":"README.md"}