{"_id":"eslint-plugin-joyent","_rev":"43-7fac5dc4f47ac0c684613fa267445f2b","name":"eslint-plugin-joyent","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"eslint-plugin-joyent","version":"1.0.0","keywords":["eslint","eslintconfig","eslintplugin","eslint-config","eslint-plugin"],"_id":"eslint-plugin-joyent@1.0.0","maintainers":[{"name":"melloc","email":"cody.mello@joyent.com"}],"homepage":"https://github.com/joyent/node-eslint-plugin-joyent","bugs":{"url":"https://github.com/joyent/node-eslint-plugin-joyent/issues"},"dist":{"shasum":"fa5bf32decc718cb1b1472694465c5259b7f5673","tarball":"https://registry.npmjs.org/eslint-plugin-joyent/-/eslint-plugin-joyent-1.0.0.tgz","integrity":"sha512-xU73WQ1B3o87g0PKIeD1cMDec9/dYheyvtgHuT2Q8mIWQHDUWUBoB25xfb664T9RHx2phnCnG9CNkt2pmYxXRQ==","signatures":[{"sig":"MEYCIQDEedjCECPXpR3pijUZERjVDTxbZFbYMN55u406S5P2OgIhAPrmwP01/fN79HyKKPGc+yDbSaiPIX1eVerZLofxei9X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"fa5bf32decc718cb1b1472694465c5259b7f5673","gitHead":"1f51604d68fbab4f02566397f63c3ee464b94392","scripts":{},"_npmUser":{"name":"melloc","email":"cody.mello@joyent.com"},"repository":{"url":"git+https://github.com/joyent/node-eslint-plugin-joyent.git","type":"git"},"_npmVersion":"2.15.1","description":"Joyent's ESLint rules and configs.","directories":{},"_nodeVersion":"0.10.46","peerDependencies":{"eslint":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-joyent-1.0.0.tgz_1468521288427_0.6319775732699782","host":"packages-16-east.internal.npmjs.com"}},"1.0.1":{"name":"eslint-plugin-joyent","version":"1.0.1","keywords":["eslint","eslintconfig","eslintplugin","eslint-config","eslint-plugin"],"_id":"eslint-plugin-joyent@1.0.1","maintainers":[{"name":"melloc","email":"cody.mello@joyent.com"}],"homepage":"https://github.com/joyent/node-eslint-plugin-joyent","bugs":{"url":"https://github.com/joyent/node-eslint-plugin-joyent/issues"},"dist":{"shasum":"45944076ddceabdade90d404ab3e69cc51d3a876","tarball":"https://registry.npmjs.org/eslint-plugin-joyent/-/eslint-plugin-joyent-1.0.1.tgz","integrity":"sha512-sUNiGfKf0Q3aVgwnUydJWki6U+JInwHnjq/ef8Vo0ATzgZ6XoMJerit3X5NfKqd9VPKaQI/+E+0K14XmnJ/0Eg==","signatures":[{"sig":"MEQCID00Bm6cc6MmKj2N3AfOJCsUD3V7G+Deal2RJY669OoJAiAr/OEUYSjtV1Rz23iw99o95MHu/AT0JFDRZJ8Ak2Xe+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"45944076ddceabdade90d404ab3e69cc51d3a876","gitHead":"ad5473c9b49b897ecf850705e44d131fbff63204","scripts":{},"_npmUser":{"name":"melloc","email":"cody.mello@joyent.com"},"repository":{"url":"git+https://github.com/joyent/node-eslint-plugin-joyent.git","type":"git"},"_npmVersion":"2.15.1","description":"Joyent's ESLint rules and configs.","directories":{},"_nodeVersion":"0.10.46","peerDependencies":{"eslint":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-joyent-1.0.1.tgz_1468523773934_0.38008255138993263","host":"packages-16-east.internal.npmjs.com"}},"1.1.0":{"name":"eslint-plugin-joyent","version":"1.1.0","keywords":["eslint","eslintconfig","eslintplugin","eslint-config","eslint-plugin"],"_id":"eslint-plugin-joyent@1.1.0","maintainers":[{"name":"melloc","email":"cody.mello@joyent.com"}],"homepage":"https://github.com/joyent/node-eslint-plugin-joyent","bugs":{"url":"https://github.com/joyent/node-eslint-plugin-joyent/issues"},"dist":{"shasum":"10ba4264498f15fea5b8c5959972d6349852774f","tarball":"https://registry.npmjs.org/eslint-plugin-joyent/-/eslint-plugin-joyent-1.1.0.tgz","integrity":"sha512-M+Livu2yZQgxb7h2B8IU/eG0huACWE/kpT1xyrqxeLHO23fzoj8xwlt9yQt9RrxSJz4WYbtN38k8KZbr2QXF9w==","signatures":[{"sig":"MEYCIQCz4BsWhdONB9geikgVvnOb2R90Pu2Ly9PEm347v73h7wIhAOTSR5yF/1P9p0lGlh3dWSEvjk8OQS7GAFOC9THBRiIr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"10ba4264498f15fea5b8c5959972d6349852774f","gitHead":"14d7cfaa77612044d5abecffae13baddf8f62726","scripts":{},"_npmUser":{"name":"melloc","email":"cody.mello@joyent.com"},"repository":{"url":"git+https://github.com/joyent/node-eslint-plugin-joyent.git","type":"git"},"_npmVersion":"2.15.1","description":"Joyent's ESLint rules and configs.","directories":{},"_nodeVersion":"0.10.46","peerDependencies":{"eslint":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-joyent-1.1.0.tgz_1494961670459_0.21754716080613434","host":"packages-12-west.internal.npmjs.com"}},"1.2.0":{"name":"eslint-plugin-joyent","version":"1.2.0","keywords":["eslint","eslintconfig","eslintplugin","eslint-config","eslint-plugin"],"_id":"eslint-plugin-joyent@1.2.0","maintainers":[{"name":"melloc","email":"cody.mello@joyent.com"}],"homepage":"https://github.com/joyent/node-eslint-plugin-joyent","bugs":{"url":"https://github.com/joyent/node-eslint-plugin-joyent/issues"},"dist":{"shasum":"002528ce95903c84d1c9e8d7a1517cb863eb9e40","tarball":"https://registry.npmjs.org/eslint-plugin-joyent/-/eslint-plugin-joyent-1.2.0.tgz","integrity":"sha512-RwuBCGm+q6D2TuYIODxEk72Pow6eEW9+yC29wu/YM1g0jRF5H+qhXsm3V0PTGDwTUdfkSuBZHEuBVBdaN3MRfQ==","signatures":[{"sig":"MEUCIEgVtZVLeoD7NsuOyxDWu+5ZXakBYXDvgO3HTF2hi8KmAiEA/Q/S1NOTq6Gyo1NW3F1yx9x0I5Bevc1cd2tXU7U3SF0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"002528ce95903c84d1c9e8d7a1517cb863eb9e40","gitHead":"ffd08c9a7e2273a1fbd09738baa32355ffec716d","scripts":{},"_npmUser":{"name":"melloc","email":"cody.mello@joyent.com"},"repository":{"url":"git+https://github.com/joyent/node-eslint-plugin-joyent.git","type":"git"},"_npmVersion":"2.15.1","description":"Joyent's ESLint rules and configs.","directories":{},"_nodeVersion":"0.10.46","peerDependencies":{"eslint":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-joyent-1.2.0.tgz_1503610401764_0.8196149365976453","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"eslint-plugin-joyent","version":"1.3.0","keywords":["eslint","eslintconfig","eslintplugin","eslint-config","eslint-plugin"],"_id":"eslint-plugin-joyent@1.3.0","maintainers":[{"name":"melloc","email":"cody.mello@joyent.com"}],"homepage":"https://github.com/joyent/node-eslint-plugin-joyent","bugs":{"url":"https://github.com/joyent/node-eslint-plugin-joyent/issues"},"dist":{"shasum":"8ecb817f31b6c2892db196815c88bebaf49258fe","tarball":"https://registry.npmjs.org/eslint-plugin-joyent/-/eslint-plugin-joyent-1.3.0.tgz","integrity":"sha512-zoKe5rMLAd6waos/ERIOugOLvUYkBAqrN5Cy2OT5dw2aeA8zgSM/nyUV0GjuUNb0X8Ilbna3yR7ZmSlvUPMkfw==","signatures":[{"sig":"MEYCIQCXejPAeezuRta2HOwht6oKI/z5cuQh7xbBGaFJlqyJ7wIhAKYN8jtgs5dY02qsm2VygfBT70MLsEMZ2RrNKy7vmIzE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"8ecb817f31b6c2892db196815c88bebaf49258fe","gitHead":"6f928e078ebb467278d48152d1874843efd565d7","scripts":{},"_npmUser":{"name":"melloc","email":"cody.mello@joyent.com"},"repository":{"url":"git+https://github.com/joyent/node-eslint-plugin-joyent.git","type":"git"},"_npmVersion":"2.15.1","description":"Joyent's ESLint rules and configs.","directories":{},"_nodeVersion":"0.10.46","peerDependencies":{"eslint":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-joyent-1.3.0.tgz_1513355426746_0.5415902025997639","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"eslint-plugin-joyent","version":"2.0.0","keywords":["eslint","eslintconfig","eslintplugin","eslint-config","eslint-plugin"],"_id":"eslint-plugin-joyent@2.0.0","maintainers":[{"name":"melloc","email":"cody.mello@joyent.com"}],"homepage":"https://github.com/joyent/node-eslint-plugin-joyent","bugs":{"url":"https://github.com/joyent/node-eslint-plugin-joyent/issues"},"dist":{"shasum":"f879e8993c9739add3e4e912d8df39c6f8874342","tarball":"https://registry.npmjs.org/eslint-plugin-joyent/-/eslint-plugin-joyent-2.0.0.tgz","integrity":"sha512-IYEoMhWIyF4ZGvWoss6sNnPQnk6A9ueQybfzQL4oHIkNE3B0Xzwu3lcMw0/90HS8Am4G7YynBljx7WpwjukW2g==","signatures":[{"sig":"MEYCIQCue+V6+13JB5F7oljCbw6TUddYqWmQzsZCr8QXefedOwIhAPjU7GfTeZ2aWoSFfDqHaLWdCRFa+8y62l9SaWLjPjV7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"f879e8993c9739add3e4e912d8df39c6f8874342","gitHead":"f74696e2576550bf8fe012547da7c66d32d4988c","scripts":{},"_npmUser":{"name":"melloc","email":"cody.mello@joyent.com"},"repository":{"url":"git+https://github.com/joyent/node-eslint-plugin-joyent.git","type":"git"},"_npmVersion":"2.15.1","description":"Joyent's ESLint rules and configs.","directories":{},"_nodeVersion":"0.10.46","peerDependencies":{"eslint":"^4.10.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-joyent-2.0.0.tgz_1513355451001_0.13203117344528437","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"eslint-plugin-joyent","version":"1.4.0","keywords":["eslint","eslintconfig","eslintplugin","eslint-config","eslint-plugin"],"_id":"eslint-plugin-joyent@1.4.0","maintainers":[{"name":"melloc","email":"cody.mello@joyent.com"}],"homepage":"https://github.com/joyent/node-eslint-plugin-joyent","bugs":{"url":"https://github.com/joyent/node-eslint-plugin-joyent/issues"},"dist":{"shasum":"5c27e176017d288a3e921ec3787cdcfb20adec98","tarball":"https://registry.npmjs.org/eslint-plugin-joyent/-/eslint-plugin-joyent-1.4.0.tgz","fileCount":6,"integrity":"sha512-ERvHKqFbsdWMOZKlPprPV1ghEWpq7aqsdXW5ZkNiVAFF2wWxHsoh9Imnlk6oGbG5dfrKjLhf+lDEWloA+6NCUQ==","signatures":[{"sig":"MEUCIQD7yMgXAAiASTw1pqt7q7h4n5jSRv6OlXPNR5bezOxMFQIgbE6c0I5uz0/p/6YSJ26H8Ise+Z7E9CM9QbEA3hBaHZo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7443},"_from":".","_shasum":"5c27e176017d288a3e921ec3787cdcfb20adec98","gitHead":"acf376e6d6d77ff4fd390cf92641f163e636940f","scripts":{},"_npmUser":{"name":"melloc","email":"cody.mello@joyent.com"},"repository":{"url":"git+https://github.com/joyent/node-eslint-plugin-joyent.git","type":"git"},"_npmVersion":"2.15.1","description":"Joyent's ESLint rules and configs.","directories":{},"_nodeVersion":"0.10.46","_hasShrinkwrap":false,"peerDependencies":{"eslint":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-joyent_1.4.0_1532452514343_0.6895343554319753","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"eslint-plugin-joyent","version":"2.1.0","keywords":["eslint","eslintconfig","eslintplugin","eslint-config","eslint-plugin"],"_id":"eslint-plugin-joyent@2.1.0","maintainers":[{"name":"melloc","email":"cody.mello@joyent.com"}],"homepage":"https://github.com/joyent/node-eslint-plugin-joyent","bugs":{"url":"https://github.com/joyent/node-eslint-plugin-joyent/issues"},"dist":{"shasum":"a1e350cdc32c2417fba72b740e2762ddbeed8b66","tarball":"https://registry.npmjs.org/eslint-plugin-joyent/-/eslint-plugin-joyent-2.1.0.tgz","fileCount":6,"integrity":"sha512-fk1a+NM6HASGgQcqj41Dib2oNa8cn2iLmkmcwXPBWNteR8n5KHF2ZKrBeOfca3vxsQoERtqbo2V7oPd1rg5Jiw==","signatures":[{"sig":"MEUCID3OhbmM5c+rqESrFpjCjFKx4Zvo9kfeggGUpOpghJdfAiEAwXLs78vcMifsq/EWxgzHPCLaYbclqUQdGcmDb+ThBcc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7840},"_from":".","_shasum":"a1e350cdc32c2417fba72b740e2762ddbeed8b66","gitHead":"c6cfc5bca903af551f823e308e098bd04604d07e","scripts":{},"_npmUser":{"name":"melloc","email":"cody.mello@joyent.com"},"repository":{"url":"git+https://github.com/joyent/node-eslint-plugin-joyent.git","type":"git"},"_npmVersion":"2.15.1","description":"Joyent's ESLint rules and configs.","directories":{},"_nodeVersion":"0.10.46","_hasShrinkwrap":false,"peerDependencies":{"eslint":"^4.10.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-joyent_2.1.0_1532452524305_0.377192740065432","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-07-14T18:34:51.975Z","modified":"2025-11-26T18:15:40.158Z","1.0.0":"2016-07-14T18:34:51.975Z","1.0.1":"2016-07-14T19:16:16.127Z","1.1.0":"2017-05-16T19:07:50.721Z","1.2.0":"2017-08-24T21:33:21.837Z","1.3.0":"2017-12-15T16:30:26.810Z","2.0.0":"2017-12-15T16:30:51.214Z","1.4.0":"2018-07-24T17:15:14.425Z","2.1.0":"2018-07-24T17:15:24.351Z"},"bugs":{"url":"https://github.com/joyent/node-eslint-plugin-joyent/issues"},"homepage":"https://github.com/joyent/node-eslint-plugin-joyent","keywords":["eslint","eslintconfig","eslintplugin","eslint-config","eslint-plugin"],"repository":{"url":"git+https://github.com/joyent/node-eslint-plugin-joyent.git","type":"git"},"description":"Joyent's ESLint rules and configs.","maintainers":[{"email":"todd.whiteman@joyent.com","name":"todd.whiteman"},{"email":"kusorbox@gmail.com","name":"kusor"},{"email":"michael.hicks@joyent.com","name":"michael.hicks"},{"email":"bahamat@digitalelf.net","name":"bahamat"},{"email":"Tr@visPaul.me","name":"tpaul"},{"email":"danmcd@edgecast.io","name":"kebesays"},{"email":"melloc@writev.io","name":"melloc"}],"readme":"<!--\n    This Source Code Form is subject to the terms of the Mozilla Public\n    License, v. 2.0. If a copy of the MPL was not distributed with this\n    file, You can obtain one at http://mozilla.org/MPL/2.0/.\n-->\n\n<!--\n    Copyright 2017, Joyent, Inc.\n-->\n\n# node-eslint-plugin-joyent\n\nThis repository is part of the Joyent Manta and Triton projects. For\ncontribution guidelines, issues, and general documentation, visit the main\n[Triton](https://github.com/joyent/triton) and\n[Manta](https://github.com/joyent/manta) project pages.\n\n## Overview\n\nThis is a plugin for [ESLint](http://eslint.org) that is meant to provide\ndefault style and lint configurations that approximate what Joyent\nrepositories using [jsstyle](https://github.com/davepacheco/jsstyle) and\n[JavaScript Lint](http://javascriptlint.com/) currently do. ESLint is highly\nconfigurable, so additional capabilities can be turned on or disabled locally\nwhere desired.\n\nNote that this can't yet be used as a full replacement for `jsstyle`, since\nESLint's `indent` setting doesn't do a good job of accounting for line\ncontinuations. Using the style configuration is still useful though, since it\ndoes catch a number of other issues.\n\n## Setup\n\nTo use this repo, place the following in your `package.json`:\n\n```json\n\"devDependencies\": {\n    \"eslint\": \"4.13.1\",\n    \"eslint-plugin-joyent\": \"~2.1.0\"\n    ...\n},\n```\n\nYou'll then want to update to the latest set of Makefiles from\n[eng.git](https://github.com/joyent/eng/tree/master/tools/mk), and put the\nfollowing in your repository's `Makefile`:\n\n```make\nESLINT_FILES\t= $(JS_FILES)\n```\n\nIf you have a target that gets run when building zone images for installing\nproject dependencies, you may want to consider passing `--production` to\n`npm install` to avoid including ESLint in the resulting zone image.\n\nThen create `.eslintrc` at the top of the repository:\n\n```json\n{\n    \"plugins\": [ \"joyent\" ],\n    \"extends\": [\n        \"eslint:recommended\",\n        \"plugin:joyent/style\",\n        \"plugin:joyent/lint\"\n    ],\n    \"parserOptions\": {\n        \"ecmaVersion\": 5,\n        \"sourceType\": \"script\",\n        \"ecmaFeatures\": {\n        }\n    },\n    \"env\": {\n        \"node\": true\n    },\n    \"rules\": {\n        // Local rule configuration can go here \n    }\n}\n```\n","readmeFilename":"README.md"}