{"name":"eslint-plugin-vue","version":"7.0.0-alpha.10","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","debug":"mocha --inspect-brk \"tests/lib/**/*.js\" --reporter dot --timeout 60000","cover":"npm run cover:test && npm run cover:report","cover:test":"nyc npm run test:base -- --timeout 60000","cover:report":"nyc report --reporter=html","lint":"eslint . --rulesdir eslint-internal-rules","lint:fix":"eslint . --rulesdir eslint-internal-rules --fix","pretsc":"node ./tools/setup-eslint-rule-types.js","tsc":"tsc","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"},"homepage":"https://eslint.vuejs.org","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":"https://github.com/michalsnik"},{"name":"Yosuke Ota","url":"https://github.com/ota-meshi"}],"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":">=8.10"},"peerDependencies":{"eslint":"^6.0.0 || ^7.0.0"},"dependencies":{"eslint-utils":"^2.0.0","natural-compare":"^1.4.0","semver":"^7.3.2","vue-eslint-parser":"^7.1.0"},"devDependencies":{"@types/eslint":"^7.2.0","@types/natural-compare":"^1.4.0","@types/node":"^13.13.5","@types/semver":"^7.2.0","@typescript-eslint/parser":"^3.0.2","@vuepress/plugin-pwa":"^1.4.1","babel-eslint":"^10.1.0","chai":"^4.2.0","eslint":"^7.0.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-plugin":"^2.2.1","eslint-plugin-import":"^2.20.2","eslint-plugin-prettier":"^3.1.3","eslint-plugin-vue":"file:.","eslint-plugin-vue-libs":"^4.0.0","eslint4b":"^7.0.0","lodash":"^4.17.15","mocha":"^7.1.2","nyc":"^15.0.1","prettier":"^2.0.5","typescript":"^3.9.5","vue-eslint-editor":"^1.1.0","vuepress":"^1.4.1"},"publishConfig":{"tag":"next"},"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 [the official website](https://eslint.vuejs.org).\n\n> :exclamation: Attention - this is documentation for version `7.x` :exclamation:\n>\n> This branch contains `eslint-plugin-vue@next` which is a pre-released `7.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](https://semver.org/) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).\n\n## :newspaper: Changelog\n\nThis project uses [GitHub Releases](https://github.com/vuejs/eslint-plugin-vue/releases).\n\n## :beers: Contribution Guide\n\nContribution is welcome!\n\nSee [The ESLint Vue Plugin Developer Guide](https://eslint.vuejs.org/developer-guide/).\n\n### Working with Rules\n\nBefore you start writing a 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, use the [astexplorer.net].\nThe [astexplorer.net] is a great tool to inspect ASTs, also Vue templates are supported.\n\nAfter opening [astexplorer.net], select `Vue` as the syntax and `vue-eslint-parser` as the parser.\n\n[astexplorer.net]: https://astexplorer.net/\n\nSince single file components in Vue are not plain JavaScript, the default parser couldn't be used, so a new one was introduced. `vue-eslint-parser` 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 a few useful parser services that 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 set up the parser in `RuleTester` (you can do it on a per test case basis). 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. If you can't find the right solution, don't hesitate to reach out in [issues](https://github.com/vuejs/eslint-plugin-vue/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":"874589e9d7a8117381b3eef76c3ab0315cef172b","_id":"eslint-plugin-vue@7.0.0-alpha.10","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-NFhzOfuD9OU/94lLGXQJ6112MhRGjgnrGBDnPkB7hQDZEVOdkkoQbufxR425Vm60MNK3GjRepQA88et/fUMBZA==","shasum":"e9ff56917370ead874859084270801b5b5e8c3ee","tarball":"http://registry-npm.ywwl.com/eslint-plugin-vue/download/eslint-plugin-vue-7.0.0-alpha.10.tgz","fileCount":194,"unpackedSize":719989,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDm1rCRA9TVsSAnZWagAAQHYP/RXo2X/YXH6HHvzpRu3G\nSr7mZTQII+dqSf7unH7vCywW8+FeGZ3Z9R0eZ/2XLQZamiPLApLL+R95LRBr\nbnoQR7JpsDxnk1DTUFzn+r4cNlqUdqP93a4AaUcUJYJGEpedilL7XlH+uy1r\nV+wrayO7KtMg5ZblsME1gwy5b/8lzNHh5J+JhZojbxQPs2uwP6rgUf78+ibv\nRdtYYhoTD0Om2gCrFbFsK2L3EwQYhbXBqNn9GJEeNx9BWi950/kf8pUfpVsv\nBdN1Be6QL57Nks9oFoggVaeBGKPWVeu135b5LVhwJkNW8CO484k1IJN8RLAr\nfRvI7pBPhvb/GsUb+Ky+rN8Yc7RbvQCauH0zN3I70Q14fR/jiu1TXpgivmfA\n9K3cYgZl2jbyx5+y8AawXZasUrtYEI27TdXc8RCRKCDQjVUysfGt9KOv/JBb\naZRLyfjnL+u5hhuXba6f3dBOy1LdscWJRB0ucLo9rRa63tzzeV3x4atEDvXD\nPw+jgqgDuQ5yxlSDavbpqbLixEZNG8lT6NUGZe0gkIrv09WPnDxFGHtRsV8N\nC3vOsw5iQJgtlvt3ZpdEupU3uijFyI9m8KRGtcNCcs3b9k59fa4baSV3+rrp\ntxRmAwuhKqH5V+uMK8JjledzvSQ9L2L7sMmfgMVR9uUtwaGykDGswRGugs0c\nBLXU\r\n=s4IV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+bxKYlLldFUf1BBchNUwjO+hR6f9xGmgoC6STJeEYFwIhAP38sbL5SFUvJ5+FkiXgIOBpVQ2HhczWuOWAA1nQaYfT"}],"size":137841,"noattachment":false,"key":"/eslint-plugin-vue/-/eslint-plugin-vue-7.0.0-alpha.10.tgz"},"maintainers":[{"email":"chrisvfritz@gmail.com","name":"chrisvfritz"},{"email":"msajnog93@gmail.com","name":"michalsnik"},{"email":"public@mysticatea.dev","name":"mysticatea"},{"email":"otameshiyo23@gmail.com","name":"ota-meshi"},{"email":"yyx990803@gmail.com","name":"yyx990803"}],"_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-vue_7.0.0-alpha.10_1594781034543_0.00592000339962695"},"_hasShrinkwrap":false,"publish_time":1594781034688,"_cnpm_publish_time":1594781034688,"dist-tags":{"beta":"3.14.0","latest":"10.12.0","next":"7.0.0-beta.4"}}