File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed
Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1+ <template >
2+ <span >{{ foo }}</span >
3+ </template >
4+
5+ <script setup lang="ts">
6+ const foo = ' bar' ;
7+
8+ defineProps <{
9+ count: number ;
10+ }>();
11+
12+ defineEmits <{
13+ (e : ' close' ): void ;
14+ }>();
15+ </script >
Original file line number Diff line number Diff line change 1+ error : ' count' of property found , but never used (vue / no - unused - properties ) at ScriptSetup .vue :9 :3 :
2+ 7 |
3+ 8 | defineProps < {
4+ > 9 | count : number ;
5+ | ^
6+ 10 | }> ();
7+ 11 |
8+ 12 | defineEmits < {
9+
10+
111error : raw text ' test' is used (@intlify / vue - i18n / no - raw - text ) at Test .vue :3 :9 :
212 1 | <template >
313 2 | <span >{ { foo }} </span >
@@ -42,5 +52,5 @@ warning: Unexpected console statement (no-console) at index.ts:3:1:
4252 4 |
4353
4454
45- 3 errors and 2 warnings found .
55+ 4 errors and 2 warnings found .
46561 warning potentially fixable with the ` --fix` option .
Original file line number Diff line number Diff line change 33const eslintConfig = {
44 env : {
55 browser : true ,
6+ 'vue/setup-compiler-macros' : true ,
67 } ,
78
89 parser : 'vue-eslint-parser' ,
You can’t perform that action at this time.
0 commit comments