File tree 2 files changed +21
-2
lines changed
2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ module.exports = {
26
26
unnamedComponents : 'arrow-function' ,
27
27
} ,
28
28
] ,
29
- 'import/no-unresolved' : 0 ,
30
29
'generator-star-spacing' : 0 ,
31
30
'no-console' : 0 ,
32
31
'require-atomic-updates' : 0 ,
@@ -48,8 +47,16 @@ module.exports = {
48
47
'implicit-arrow-linebreak' : 0 ,
49
48
'import/no-extraneous-dependencies' : 0 ,
50
49
'import/no-named-as-default' : 0 ,
50
+ 'import/no-unresolved' : 0 ,
51
51
'import/order' : 2 ,
52
52
'import/prefer-default-export' : 'off' ,
53
+ 'jsx-a11y/anchor-is-valid' : [
54
+ 'error' ,
55
+ {
56
+ components : [ 'Link' ] ,
57
+ specialLink : [ 'to' ] ,
58
+ } ,
59
+ ] ,
53
60
'jsx-a11y/click-events-have-key-events' : 1 ,
54
61
'max-len' : [
55
62
2 ,
Original file line number Diff line number Diff line change @@ -34,7 +34,19 @@ const jestConfig = {
34
34
roots : [ '<rootDir>/server/' ] ,
35
35
verbose : true ,
36
36
transform : {
37
- '\\.[jt]s$' : '@swc/jest' ,
37
+ '\\.[jt]s$' : [
38
+ '@swc/jest' ,
39
+ {
40
+ jsc : {
41
+ parser : {
42
+ jsx : true ,
43
+ dynamicImport : true ,
44
+ } ,
45
+ // this should match the minimum supported node.js version
46
+ target : 'es2020' ,
47
+ } ,
48
+ } ,
49
+ ] ,
38
50
} ,
39
51
} ;
40
52
You can’t perform that action at this time.
0 commit comments