File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,8 @@ export function javascript(options: OptionsIsInEditor & OptionsOverrides = {}):
116
116
'DebuggerStatement' ,
117
117
'LabeledStatement' ,
118
118
'WithStatement' ,
119
+ 'TSEnumDeclaration[const=true]' ,
120
+ 'TSExportAssignment' ,
119
121
] ,
120
122
'no-self-assign' : [ 'error' , { props : true } ] ,
121
123
'no-self-compare' : 'error' ,
Original file line number Diff line number Diff line change @@ -81,9 +81,7 @@ export function typescript(
81
81
'antfu/generic-spacing' : 'error' ,
82
82
'antfu/named-tuple-spacing' : 'error' ,
83
83
'antfu/no-cjs-exports' : 'error' ,
84
- 'antfu/no-const-enum' : 'error' ,
85
- 'antfu/no-ts-export-equal' : 'error' ,
86
-
84
+
87
85
'no-dupe-class-members' : OFF ,
88
86
'no-invalid-this' : OFF ,
89
87
'no-loss-of-precision' : OFF ,
@@ -122,6 +120,10 @@ export function typescript(
122
120
'eslint-comments/no-unlimited-disable' : OFF ,
123
121
'import/no-duplicates' : OFF ,
124
122
'unused-imports/no-unused-vars' : OFF ,
123
+ 'no-restricted-syntax' : [
124
+ 'error' ,
125
+ '[declare=true]' ,
126
+ ] ,
125
127
} ,
126
128
} ,
127
129
{
You can’t perform that action at this time.
0 commit comments