{"_id":"@alongvili/eslint-plugin-remix","_rev":"3-3c6eb6a4d68f598305a618aec2bb9baf","name":"@alongvili/eslint-plugin-remix","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@alongvili/eslint-plugin-remix","version":"0.1.0","description":"eslint custom rules for remix.run framework, for make sure you export all the route functions","keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"alon gvili"},"main":"lib/index.js","scripts":{"lint":"eslint .","test":"mocha tests --recursive"},"dependencies":{"requireindex":"^1.1.0"},"devDependencies":{"eslint":"^7.1.0","eslint-plugin-eslint-plugin":"^3.2.0","eslint-plugin-node":"^11.0.0","mocha":"^9.0.0"},"engines":{"node":"12.x || 14.x || >= 16"},"peerDependencies":{"eslint":">=0.8.0"},"license":"ISC","directories":{"lib":"lib","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/AlonGvili/eslint-plugin-remix.git"},"bugs":{"url":"https://github.com/AlonGvili/eslint-plugin-remix/issues"},"homepage":"https://github.com/AlonGvili/eslint-plugin-remix#readme","gitHead":"9251f4332c90d6910c03bbc751aee2226d75d315","_id":"@alongvili/eslint-plugin-remix@0.1.0","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-l34qaImD7DZMW8h5E5OJmDACer3RmKG75UEm9tsk4ObgyAxrgo6sMkb5MJuk1+5BgzO0gP11M2b5du2uc9Ef4Q==","shasum":"eff6cb7b1d99f1cdb38e80ff6fedd7f9d7f11c58","tarball":"https://registry.npmjs.org/@alongvili/eslint-plugin-remix/-/eslint-plugin-remix-0.1.0.tgz","fileCount":9,"unpackedSize":7317,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwx1CCRA9TVsSAnZWagAAYIcP/icxY4jjjVeD4Sycpr9C\nRRvxpIn/5JdClm0PmGRYX1wutsLo82cMfuOLRrK8yCq1DJiNOVXl1Z7OsrQz\nPu0r3HeBhevM+Q+sxwRwqyJwX2T93XyG2pyCC8ZexRAINxMGBrEGv0WDiuxF\nGO7L51F978gftbWOtCtL+SGQ6P9B1fTRs90rcr/16FGft/ECpPV1xVFqMVWk\nP6z65p11FJuVM1tMN7zs2NoeYj8Dy8QoYVLbVEqv9yjgf42ZSFsXSH+BLiEI\ns06sHP9D7g5TLDqq4iQknYjV2hW7nl41arJVrpvug0jFNxuuuVCqniRQ9Z4f\nlx3t/GHSKRDE2tvEXHWe9BpIFc/0N78YC8JiCjinO0Wr4lueKtOkWTvgfIo8\n+H6VefuolE8bFQoiWHOCaBF37G82rTwMUx8JAHLayxN1w1JC6PGR9X69FHEG\nfhDh8MKmz5xrKKWeaXxNpIdhv8o71yCey1qm3PrcT2eYMao4kGyoEpOqNwxj\nOgQGfPdO7t4n3o7yby+RAN1sSagGVmW7YhwMN0LKdcz2Ama4aseGAXqnX9Bk\nan4tEKP9aJEealv56xPY1DzsDyYK5YER89r+YLMIzejq+6Si6ETX0n6IwPMo\nM6UJs9Zs8mrX23bjjPqsuBOSCly9bwFubrc15qV8/uxMCr0pvESXkeM9TeVB\nNn6i\r\n=k32l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA1G9FjefH43sJywfHTaJ7kJagEchQ+Da6mVKM3zeA9fAiAFx4W4obyguCoQPC9pne9Ymo0aymbAkM5AbF9fzk2v7Q=="}]},"_npmUser":{"name":"alongvili","email":"asingvili@gmail.com"},"maintainers":[{"name":"alongvili","email":"asingvili@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-remix_0.1.0_1634092083938_0.808464687534103"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-13T02:28:03.896Z","0.1.0":"2021-10-13T02:28:04.060Z","modified":"2022-04-04T13:37:01.516Z"},"maintainers":[{"email":"asingvili@gmail.com","name":"alongvili-dev"}],"description":"eslint custom rules for remix.run framework, for make sure you export all the route functions","homepage":"https://github.com/AlonGvili/eslint-plugin-remix#readme","keywords":["eslint","eslintplugin","eslint-plugin"],"repository":{"type":"git","url":"git+https://github.com/AlonGvili/eslint-plugin-remix.git"},"author":{"name":"alon gvili"},"bugs":{"url":"https://github.com/AlonGvili/eslint-plugin-remix/issues"},"license":"ISC","readme":"# eslint-plugin-remix\n\nVery simple eslint plugin for Remix.run framework, this plugin check that you export route function like loader, action, meta, links\n\n## Installation\n\nYou'll first need to install [ESLint](https://eslint.org/):\n\n```sh\nnpm i eslint --save-dev\n```\n\nNext, install `eslint-plugin-remix`:\n\n```sh\nnpm install eslint-plugin-remix --save-dev\n```\n\n## Usage\n\nAdd `remix` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n    \"plugins\": [\n        \"remix\"\n    ]\n}\n```\n\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n    \"rules\": {\n        \"remix/route-loader-exported\": 2,\n        \"remix/route-action-exported\": 2,\n        \"remix/route-links-exported\": 2,\n        \"remix/route-meta-exported\": 2,\n    }\n}\n```\n\n## Supported Rules\n\n\n\n> `route-loader-exported` Check if a route has a loader function and it is exported \n\n> `route-action-exported` Check if a route has an action function and it is exported \n\n> `route-links-exported` Check if a route has a links function and it is exported \n\n> `route-meta-exported` Check if a route has a meta function and it is exported \n\n\n\n\n","readmeFilename":"README.md"}