@vue/eslint-config-typescript
Advanced tools
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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2135
21
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@types/eslint-visitor-keys@1.0.0(transitive)
+ Added@typescript-eslint/eslint-plugin@1.13.0(transitive)
+ Added@typescript-eslint/experimental-utils@1.13.0(transitive)
+ Added@typescript-eslint/parser@1.13.0(transitive)
+ Added@typescript-eslint/typescript-estree@1.13.0(transitive)
+ Addedacorn@6.4.2(transitive)
+ Addedansi-escapes@3.2.0(transitive)
+ Addedansi-regex@3.0.14.1.1(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedargparse@1.0.10(transitive)
+ Addedastral-regex@1.0.0(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedchardet@0.7.0(transitive)
+ Addedcli-cursor@2.1.0(transitive)
+ Addedcli-width@2.2.1(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedcross-spawn@6.0.5(transitive)
+ Addeddoctrine@3.0.0(transitive)
+ Addedemoji-regex@7.0.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedeslint@5.16.0(transitive)
+ Addedeslint-utils@1.4.3(transitive)
+ Addedespree@5.0.1(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedexternal-editor@3.1.0(transitive)
+ Addedfigures@2.0.0(transitive)
+ Addedfile-entry-cache@5.0.1(transitive)
+ Addedflat-cache@2.0.1(transitive)
+ Addedflatted@2.0.2(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedfunctional-red-black-tree@1.0.1(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedglobals@11.12.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedignore@4.0.6(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedinquirer@6.5.2(transitive)
+ Addedis-fullwidth-code-point@2.0.0(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedlevn@0.3.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedmimic-fn@1.2.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedmute-stream@0.0.7(transitive)
+ Addednice-try@1.0.5(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedonetime@2.0.1(transitive)
+ Addedoptionator@0.8.3(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedpath-is-inside@1.0.2(transitive)
+ Addedpath-key@2.0.1(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedprelude-ls@1.1.2(transitive)
+ Addedprogress@2.0.3(transitive)
+ Addedregexpp@2.0.1(transitive)
+ Addedrestore-cursor@2.0.0(transitive)
+ Addedrimraf@2.6.3(transitive)
+ Addedrun-async@2.4.1(transitive)
+ Addedrxjs@6.6.7(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedshebang-command@1.2.0(transitive)
+ Addedshebang-regex@1.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedslice-ansi@2.1.0(transitive)
+ Addedsprintf-js@1.0.3(transitive)
+ Addedstring-width@2.1.13.1.0(transitive)
+ Addedstrip-ansi@4.0.05.2.0(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedtable@5.4.6(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addedtslib@1.14.1(transitive)
+ Addedtsutils@3.21.0(transitive)
+ Addedtype-check@0.3.2(transitive)
+ Addedwhich@1.3.1(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedwrite@1.0.3(transitive)
- Removedeslint-plugin-typescript@^0.14.0
- Removedtypescript-eslint-parser@^21.0.2
- Removed@eslint-community/eslint-utils@4.4.1(transitive)
- Removed@eslint-community/regexpp@4.12.1(transitive)
- Removed@eslint/config-array@0.18.0(transitive)
- Removed@eslint/core@0.7.0(transitive)
- Removed@eslint/eslintrc@3.1.0(transitive)
- Removed@eslint/js@9.14.0(transitive)
- Removed@eslint/object-schema@2.1.4(transitive)
- Removed@eslint/plugin-kit@0.2.2(transitive)
- Removed@humanfs/core@0.19.1(transitive)
- Removed@humanfs/node@0.16.6(transitive)
- Removed@humanwhocodes/module-importer@1.0.1(transitive)
- Removed@humanwhocodes/retry@0.3.10.4.1(transitive)
- Removed@types/estree@1.0.6(transitive)
- Removedacorn@8.14.0(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedargparse@2.0.1(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedcross-spawn@7.0.5(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedeslint@9.14.0(transitive)
- Removedeslint-plugin-typescript@0.14.0(transitive)
- Removedeslint-scope@8.2.0(transitive)
- Removedeslint-visitor-keys@3.4.34.2.0(transitive)
- Removedespree@10.3.0(transitive)
- Removedfile-entry-cache@8.0.0(transitive)
- Removedfind-up@5.0.0(transitive)
- Removedflat-cache@4.0.1(transitive)
- Removedflatted@3.3.1(transitive)
- Removedglob-parent@6.0.2(transitive)
- Removedglobals@14.0.0(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedignore@5.3.2(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedjs-yaml@4.1.0(transitive)
- Removedjson-buffer@3.0.1(transitive)
- Removedkeyv@4.5.4(transitive)
- Removedlevn@0.4.1(transitive)
- Removedlocate-path@6.0.0(transitive)
- Removedlodash.merge@4.6.2(transitive)
- Removedoptionator@0.9.4(transitive)
- Removedp-limit@3.1.0(transitive)
- Removedp-locate@5.0.0(transitive)
- Removedpath-exists@4.0.0(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedprelude-ls@1.2.1(transitive)
- Removedrequireindex@1.1.0(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedstrip-json-comments@3.1.1(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedtype-check@0.4.0(transitive)
- Removedtypescript-eslint-parser@21.0.2(transitive)
- Removedtypescript-estree@5.3.0(transitive)
- Removedwhich@2.0.2(transitive)
- Removedyocto-queue@0.1.0(transitive)