Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue/eslint-config-typescript

Package Overview
Dependencies
Maintainers
9
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/eslint-config-typescript

eslint-config-typescript for vue-cli

  • 3.0.0-rc.12
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
914K
decreased by-11.04%
Maintainers
9
Weekly downloads
 
Created

What is @vue/eslint-config-typescript?

@vue/eslint-config-typescript is an ESLint configuration package specifically designed for Vue.js projects that use TypeScript. It provides a set of rules and configurations to ensure code quality and consistency in Vue.js applications written in TypeScript.

What are @vue/eslint-config-typescript's main functionalities?

TypeScript Support

This configuration extends the recommended rules from both Vue and TypeScript ESLint plugins, ensuring that your TypeScript code in Vue components is linted according to best practices.

{"extends":["plugin:vue/vue3-essential","plugin:@typescript-eslint/recommended","@vue/typescript/recommended"],"parserOptions":{"ecmaVersion":2020,"sourceType":"module"}}

Vue Specific Rules

Includes Vue-specific linting rules to catch common issues in Vue components, such as unused variables in script setup and unused components.

{"rules":{"vue/script-setup-uses-vars":"error","vue/no-unused-components":"warn"}}

TypeScript Specific Rules

Provides TypeScript-specific linting rules to catch issues like unused variables and to enforce or relax certain TypeScript practices.

{"rules":{"@typescript-eslint/no-unused-vars":["error",{"argsIgnorePattern":"^_"}],"@typescript-eslint/explicit-function-return-type":"off"}}

Other packages similar to @vue/eslint-config-typescript

Keywords

FAQs

Package last updated on 09 Aug 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc