{"name":"eslint-plugin-vue","version":"4.4.0","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"},"files":["lib"],"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":">=4"},"peerDependencies":{"eslint":"^3.18.0 || ^4.0.0"},"dependencies":{"vue-eslint-parser":"^2.0.3"},"devDependencies":{"@types/node":"^4.2.16","babel-eslint":"^8.2.2","chai":"^4.1.0","eslint":"^4.14.0","eslint-plugin-eslint-plugin":"^0.8.0","eslint-plugin-html":"^4.0.1","eslint-plugin-vue-libs":"^2.0.0","lodash":"^4.17.4","mocha":"^3.2.0","nyc":"^11.1.0"},"gitHead":"d2b53b5d219f6122bd21cb448967799ce46cbc11","_id":"eslint-plugin-vue@4.4.0","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"michalsnik","email":"msajnog93@gmail.com"},"dist":{"integrity":"sha512-UHeE0aTEv9A/9xe8J6X7rDLMbwV6GuQFKAscMyLEv49Y4wK4KwQiifr2X0MsNsVlmccrDUyjI9KO4DuFTkPP9A==","shasum":"bfc3a71f76bd0e139313e4425a807257ae42f768","tarball":"http://registry-npm.ywwl.com/eslint-plugin-vue/download/eslint-plugin-vue-4.4.0.tgz","fileCount":68,"unpackedSize":243136,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3tnzX9sGk5ORKKQPIdFT2nYv+VgW+1RCypKgY2G41GgIhAJux0+vChrgf7+uJDJnH/SkutCQKjFhZ0H0x+LCvtmc6"}],"size":47347,"noattachment":false,"key":"/eslint-plugin-vue/-/eslint-plugin-vue-4.4.0.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_4.4.0_1521691188950_0.47104426434164015"},"_hasShrinkwrap":false,"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)\n\n> Official ESLint plugin for Vue.js\n\n## :book: Documentation\n\nPlease refer to the [official website](https://eslint.vuejs.org).\n\n## :anchor: Versioning Policy\n\nThis plugin follows [Semantic Versioning](https://semver.org) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).\n\n## :newspaper: Releases\n\nThis project uses [GitHub Releases](https://github.com/vuejs/eslint-plugin-vue/releases).\n\n## :beers: Contribution Guide\n\nContributing is welcome! See the [ESLint Vue Plugin Developer Guide](https://eslint.vuejs.org/developer-guide).\n\n### Working With Rules\n\nBe sure to read the [official ESLint guide](https://eslint.org/docs/developer-guide/working-with-rules) before you start writing a new rule.\n\nTo see what an abstract syntax tree (AST) of your code looks like, you may use [AST Explorer](https://astexplorer.net). After opening [AST Explorer](https://astexplorer.net), select `Vue` as the syntax and `vue-eslint-parser` as the parser.\n\nThe default JavaScript parser must be replaced because [Vue.js single file components](https://vuejs.org/guide/scaling-up/sfc.html) are not plain JavaScript, but a custom file format. [`vue-eslint-parser`](https://github.com/vuejs/vue-eslint-parser) is a replacement parser that generates an enhanced AST with nodes that represent specific parts of the template syntax, as well as the contents of the `<script>` tag.\n\nTo learn more about certain nodes in a produced AST, see the [ESTree project page](https://github.com/estree/estree) and the [vue-eslint-parser AST documentation](https://github.com/vuejs/vue-eslint-parser/blob/master/docs/ast.md).\n\n`vue-eslint-parser` provides a few useful parser services to help traverse the produced AST and access template tokens:\n\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 see usage of these services.\n\nBe aware that depending on the code samples you write in tests, the `RuleTester` parser property must be set accordingly (this can be done on a test by test basis). See an [example here](https://github.com/vuejs/eslint-plugin-vue/blob/master/tests/lib/rules/attribute-hyphenation.js#L19).\n\nIf you're stuck, remember there are many rules available for reference. 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","publish_time":1521691189067,"_cnpm_publish_time":1521691189067,"dist-tags":{"beta":"3.14.0","latest":"10.12.0","next":"7.0.0-beta.4"}}