
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@modyqyw/eslint-config-vue-ts
Advanced tools
An ESLint shareable config for vue with typescript. Also support uni-app and weex.
An ESLint shareable config for vue with typescript. Also support uni-app and weex.
npm i vue@~2.6.0 vue-property-decorator@~9.0.0
npm i -D eslint@~7.10.0 typescript@~4.0.0 @modyqyw/eslint-config-vue-ts@~1.8.0
For yarn, run scripts below.
yarn add vue@~2.6.0 vue-property-decorator@~9.0.0
yarn add -D eslint@~7.10.0 typescript@~4.0.0 @modyqyw/eslint-config-vue-ts@~1.8.0
Add tsconfig.json
into the project root if you use typescript. Check Intro to the TSConfig Reference.
Set up.
// .eslintrc.js
module.exports = {
extends: ["@modyqyw/vue-ts"],
};
Settings.json
. Then F1 => Format Document
=> F1 => File: Save
.{
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"typescript": "typescriptreact",
"json": "jsonc",
"vue-html": "html"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"vue-html"
],
"files.eol": "\n",
"files.associations": {
"*.js": "javascriptreact",
"*.ts": "typescriptreact",
"*.wxml": "html",
"*.wxs": "javascriptreact",
"*.wxss": "css",
"*.axml": "html",
"*.sjs": "javascriptreact",
"*.acss": "css",
"*.swan": "html",
"*.ttml": "html",
"*.ttss": "css",
"*.jxml": "html",
"*.jxss": "css",
"*.wpy": "vue",
"*.json": "jsonc",
"*.nvue": "vue",
"*.ux": "vue"
},
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
}
}
Copyright (c) 2020-present MillCloud
FAQs
An ESLint shareable config for vue with typescript. Also support uni-app and weex.
We found that @modyqyw/eslint-config-vue-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.