{"name":"eslint-plugin-vue","version":"9.20.1","description":"Official ESLint plugin for Vue.js","main":"lib/index.js","scripts":{"new":"node tools/new-rule.js","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 \"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 . && markdownlint \"**/*.md\"","lint:fix":"eslint . --fix && markdownlint \"**/*.md\" --fix","tsc":"tsc","preversion":"npm test && git add .","version":"env-cmd -e version npm run update && npm run lint -- --fix && git add .","update":"node ./tools/update.js","docs:watch":"vitepress dev docs","predocs:build":"npm run update","docs:build":"vitepress 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":"^14.17.0 || >=16.0.0"},"peerDependencies":{"eslint":"^6.2.0 || ^7.0.0 || ^8.0.0"},"dependencies":{"@eslint-community/eslint-utils":"^4.4.0","natural-compare":"^1.4.0","nth-check":"^2.1.1","postcss-selector-parser":"^6.0.13","semver":"^7.5.4","vue-eslint-parser":"^9.4.0","xml-name-validator":"^4.0.0"},"devDependencies":{"@ota-meshi/site-kit-eslint-editor-vue":"^0.1.2","@stylistic/eslint-plugin":"^1.4.1","@types/eslint":"^8.44.1","@types/eslint-visitor-keys":"^3.3.0","@types/natural-compare":"^1.4.1","@types/node":"^14.18.54","@types/semver":"^7.5.0","@types/xml-name-validator":"^4.0.1","@typescript-eslint/parser":"^6.2.0","@typescript-eslint/types":"^6.2.0","assert":"^2.0.0","env-cmd":"^10.1.0","esbuild":"^0.18.17","eslint":"^8.45.0","eslint-config-prettier":"^8.9.0","eslint-plugin-eslint-plugin":"~5.1.1","eslint-plugin-import":"^2.27.5","eslint-plugin-jsonc":"^2.9.0","eslint-plugin-node-dependencies":">=0.5.0 <1.0.0","eslint-plugin-prettier":"^5.0.0","eslint-plugin-unicorn":"^48.0.1","eslint-plugin-vue":"file:.","espree":"^9.6.1","events":"^3.3.0","markdownlint-cli":"^0.35.0","mocha":"^10.2.0","nyc":"^15.1.0","prettier":"^3.0.0","typescript":"^5.3.2","vitepress":"^1.0.0-rc.31"},"gitHead":"e7b87ffd8db70f03fa3db402d4f756aa21ab84b2","_id":"eslint-plugin-vue@9.20.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-GyCs8K3lkEvoyC1VV97GJhP1SvqsKCiWGHnbn0gVUYiUhaH2+nB+Dv1uekv1THFMPbBfYxukrzQdltw950k+LQ==","shasum":"7ed78846898574b2cd26939f28b0b87798a7b528","tarball":"http://registry-npm.ywwl.com/eslint-plugin-vue/download/eslint-plugin-vue-9.20.1.tgz","fileCount":305,"unpackedSize":1307587,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDusDq4uta8F0KUKFRpHXaqjtgbbduCJQBoPQ7lkkSzMwIhAOJReJ+YG8sxtfTB6JARCh4rXYX3lTK7/EQvTGAUX45r"}],"size":249670,"noattachment":false,"key":"/eslint-plugin-vue/-/eslint-plugin-vue-9.20.1.tgz"},"_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"directories":{},"maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"mysticatea","email":"public@mysticatea.dev"},{"name":"chrisvfritz","email":"chrisvfritz@gmail.com"},{"name":"michalsnik","email":"msajnog93@gmail.com"},{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-vue_9.20.1_1705108308429_0.6312919473134939"},"_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":1705108308605,"_cnpm_publish_time":1705108308605,"dist-tags":{"beta":"3.14.0","latest":"10.12.0","next":"7.0.0-beta.4"}}