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
10
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/eslint-config-typescript - npm Package Compare versions

Comparing version 3.2.1 to 4.0.0

14

index.js
module.exports = {
plugins: ['typescript'],
plugins: ['@typescript-eslint'],
// Prerequisite `eslint-plugin-vue`, being extended, sets

@@ -8,18 +8,16 @@ // root property `parser` to `'vue-eslint-parser'`, which, for code parsing,

parserOptions: {
parser: require.resolve('typescript-eslint-parser'),
// #3268
jsx: true
parser: require.resolve('@typescript-eslint/parser')
},
rules: {
// https://github.com/eslint/typescript-eslint-parser#known-issues
// https://typescript-eslint.io/parser
'no-undef': 'off',
'no-unused-vars': 'off',
// https://github.com/eslint/typescript-eslint-parser/issues/445
// 'typescript/no-unused-vars': 'error',
// https://github.com/typescript-eslint/typescript-eslint/issues/46
// '@typescript-eslint/no-unused-vars': 'error',
// temporary fix for https://github.com/vuejs/vue-cli/issues/1922
// very strange as somehow this rule gets different behaviors depending
// on the presence of typescript-eslint-parser...
// on the presence of @typescript-eslint/parser...
'strict': 'off'
}
}
{
"name": "@vue/eslint-config-typescript",
"version": "3.2.1",
"version": "4.0.0",
"description": "eslint-config-typescript for vue-cli",

@@ -24,5 +24,5 @@ "main": "index.js",

"dependencies": {
"eslint-plugin-typescript": "^0.14.0",
"typescript-eslint-parser": "^21.0.2"
"@typescript-eslint/eslint-plugin": "^1.1.0",
"@typescript-eslint/parser": "^1.1.0"
}
}

@@ -5,3 +5,3 @@ # @vue/eslint-config-typescript

See [eslint-plugin-typescript](https://github.com/nzakas/eslint-plugin-typescript) for available rules.
See [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/eslint-plugin) for available rules.

@@ -8,0 +8,0 @@ This config is specifically designed to be used by `vue-cli` setups

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