{"name":"eslint-plugin-vue","version":"5.0.0-beta.6","description":"Official ESLint plugin for Vue.js","main":"lib/index.js","scripts":{"start":"npm run test:base -- --watch --growl","test:base":"mocha \"tests/lib/**/*.js\" --reporter dot","test":"nyc npm run test:base -- \"tests/integrations/*.js\" --timeout 60000","lint":"eslint . --rulesdir eslint-internal-rules","pretest":"npm run lint","preversion":"npm test && npm run update && git add .","version":"npm run lint -- --fix && git add .","update":"node ./tools/update.js","docs:watch":"vuepress dev docs","docs:build":"vuepress build docs","docs:deploy":"./tools/deploy.sh"},"homepage":"https://github.com/vuejs/eslint-plugin-vue#readme","keywords":["eslint","eslint-plugin","eslint-config","vue","vuejs","rules"],"author":{"name":"Toru Nagashima","url":"https://github.com/mysticatea"},"contributors":[{"name":"Michał Sajnóg","email":"msajnog93@gmail.com","url":"http://github.com/michalsnik"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/vuejs/eslint-plugin-vue.git"},"bugs":{"url":"https://github.com/vuejs/eslint-plugin-vue/issues"},"engines":{"node":">=6.5"},"peerDependencies":{"eslint":"^5.0.0"},"dependencies":{"vue-eslint-parser":"^4.0.2"},"devDependencies":{"@types/node":"^4.2.16","babel-eslint":"^8.2.2","chai":"^4.1.0","eslint":"^5.2.0","eslint-plugin-eslint-plugin":"^1.4.0","eslint-plugin-vue-libs":"^3.0.0","eslint4b":"^5.1.0","lodash":"^4.17.4","mocha":"^5.2.0","nyc":"^12.0.2","typescript":"^3.1.3","typescript-eslint-parser":"^20.0.0","vue-eslint-editor":"^0.1.4","vuepress":"^0.14.5"},"readme":"# eslint-plugin-vue\n\n[![NPM version](https://img.shields.io/npm/v/eslint-plugin-vue.svg?style=flat)](https://npmjs.org/package/eslint-plugin-vue)\n[![NPM downloads](https://img.shields.io/npm/dm/eslint-plugin-vue.svg?style=flat)](https://npmjs.org/package/eslint-plugin-vue)\n[![CircleCI](https://img.shields.io/circleci/project/github/vuejs/eslint-plugin-vue/master.svg?style=flat)](https://circleci.com/gh/vuejs/eslint-plugin-vue)\n[![License](https://img.shields.io/github/license/vuejs/eslint-plugin-vue.svg?style=flat)](https://github.com/vuejs/eslint-plugin-vue/blob/master/LICENSE.md)\n\n> Official ESLint plugin for Vue.js\n\n## :book: Documentation\n\nSee https://vuejs.github.io/eslint-plugin-vue/\n\n> :exclamation: Attention - this is documentation for version `5.x` :exclamation:\n>\n> This branch contains `eslint-plugin-vue@next` which is a pre-released `5.0`, but it's not the default version that you get with `npm install eslint-plugin-vue`. In order to install this you need to specify either `\"eslint-plugin-vue\": \"next\"` in `package.json` or do `npm install eslint-plugin-vue@next`.\n>\n> Please try it and report any issues that you might have encountered.\n>\n> If you want to check previous releases [go here](https://github.com/vuejs/eslint-plugin-vue/releases).\n\n## :anchor: Versioning Policy\n\nThis plugin is following [Semantic Versioning](http://semver.org/) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).\n\n## :newspaper: Changelog\n\nWe're using [GitHub Releases](https://github.com/vuejs/eslint-plugin-vue/releases).\n\n## :beers: Contribution guide\n\nContributing is welcome!\n\nSee https://vuejs.github.io/eslint-plugin-vue/developer-guide/\n\n### Working with rules\n\nBefore you start writing new rule, please read the [official ESLint guide](https://eslint.org/docs/developer-guide/working-with-rules).\n\nNext in order to get an idea how does the AST of the code that you want to check looks like, you can use one of the following applications:\n- [astexplorer.net](http://astexplorer.net/) - best tool to inspect ASTs, but it doesn't support Vue templates yet\n- [ast.js.org](https://ast.js.org/) - not fully featured, but supports Vue templates syntax\n\nSince single file components in Vue are not plain JavaScript, we can't use the default parser, and we had to introduce additional one: `vue-eslint-parser`, that generates enhanced AST with nodes that represent specific parts of the template syntax, as well as what's inside the `<script>` tag.\n\nTo know more about certain nodes in produced ASTs, go here:\n- [ESTree docs](https://github.com/estree/estree)\n- [vue-eslint-parser AST docs](https://github.com/mysticatea/vue-eslint-parser/blob/master/docs/ast.md)\n\nThe `vue-eslint-parser` provides few useful parser services, to help traverse the produced AST and access tokens of the template:\n- `context.parserServices.defineTemplateBodyVisitor(visitor, scriptVisitor)`\n- `context.parserServices.getTemplateBodyTokenStore()`\n\nCheck out an [example rule](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/mustache-interpolation-spacing.js) to get a better understanding of how these work.\n\nPlease be aware that regarding what kind of code examples you'll write in tests, you'll have to accordingly setup the parser in `RuleTester` (you can do it on per test case basis though). [See an example here](https://github.com/vuejs/eslint-plugin-vue/blob/master/tests/lib/rules/attribute-hyphenation.js#L19)\n\nIf you'll stuck, remember there are plenty of rules you can learn from already, and if you can't find the right solution - don't hesitate to reach out in issues. We're happy to help!\n\n## :lock: License\n\nSee the [LICENSE](LICENSE) file for license rights and limitations (MIT).\n","readmeFilename":"README.md","gitHead":"e2633016c675aded960b5dd98f2ba631bd5ddf3d","_id":"eslint-plugin-vue@5.0.0-beta.6","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"michalsnik","email":"msajnog93@gmail.com"},"dist":{"integrity":"sha512-adPke6C0CHQ2WGGLk7+VyyTcqkDcUJFkOAtl/LaC+6q07ooItJfQS/rjpOEQqSfh7iZgg/P81Evl27MEKCYc4g==","shasum":"ecb2d46b31b0302d648c9a66735fffd18a1c51bb","tarball":"http://registry-npm.ywwl.com/eslint-plugin-vue/download/eslint-plugin-vue-5.0.0-beta.6.tgz","fileCount":79,"unpackedSize":281576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBUlECRA9TVsSAnZWagAABBQQAJekzZPs5BC9NAFnxM5O\nqfA1g7R3+Ynis39lWGNsFh/ibRxwUujUdLNXdGql9TucQENg4cReHncjUHtv\n3l8Z8inRkSNiPX/Gt6HwMun3GXkbzplaDpAl87x1pWR2DpoeWo7vzcA1CVlf\nq7iVbc2By/fi+E+2fTF1suwCN6pFxRXd9seRPg9qAltVXl4hPzcWNCgWHpZe\ndMjjr2JikOHKuYDaTduQChUO3GEW2RCmE65hRZRpOdXwq6YobdB0pgOiQJm0\nSRyFkMIKPukWL0A8nNEV1AwUVLCJmjKoa+s4k/MaLM2CRLKGZ97dKhKKV+1n\noN98NWzi32/gW3gdGeVy/ZRiHgXGGKeQa92RwwWO2mNE4IVJy6F0qMmhjyz6\nf+irCFeNe5S83wj3PLT17YdBhPvVn8nXJQfctK+RThBPU+rdJmuijw8LVgJj\nGgISHQmAPLeITslC6flnQXNjyfsHMPPgW1EuahtRX+NZHDcXzBMe2kO3ZW3x\nNz25Lt17ARPcKTFrRgGc1hy3X2i9KxhBMVElDMXSBdR9JkMlr9FsVouIb2GP\nbdQx/W3PDvD9t8YUuhOAEUV0iO9DkCrX370CiLyGbYKRoU+SJaIEZg5hVQTY\nhYoZWfVEoTOazIeyW1AEM9kFffD6gBG/obOV48aBAJjMvjX7VrGG/9D97dNS\nVjOU\r\n=gk+5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdQMkP4QR98R3pX3+FHD7mOu2NqgckqezorHYqZ1on+AIgY3YgDCCRh4tescooijjlW8n3uYEZuiQpFQF2OWgWYO8="}],"size":53359,"noattachment":false,"key":"/eslint-plugin-vue/-/eslint-plugin-vue-5.0.0-beta.6.tgz"},"maintainers":[{"email":"chrisvfritz@gmail.com","name":"chrisvfritz"},{"email":"msajnog93@gmail.com","name":"michalsnik"},{"email":"star.ctor@gmail.com","name":"mysticatea"},{"email":"yyx990803@gmail.com","name":"yyx990803"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-vue_5.0.0-beta.6_1543850307621_0.7685761435779694"},"_hasShrinkwrap":false,"publish_time":1543850307864,"_cnpm_publish_time":1543850307864,"dist-tags":{"beta":"3.14.0","latest":"10.12.0","next":"7.0.0-beta.4"}}