File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
packages/eslint-config-sdk/src Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ module.exports = {
9
9
es2017 : true ,
10
10
} ,
11
11
parserOptions : {
12
- ecmaVersion : 2018 ,
12
+ ecmaVersion : 2020 ,
13
13
} ,
14
14
extends : [ '@sentry-internal/sdk' ] ,
15
15
ignorePatterns : [
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ module.exports = {
11
11
rules : {
12
12
'no-unused-vars' : [ 'error' , { argsIgnorePattern : '^_' } ] ,
13
13
} ,
14
+ parserOptions : {
15
+ sourceType : 'module' ,
16
+ ecmaVersion : 2020 ,
17
+ } ,
14
18
} ,
15
19
{
16
20
// Configuration for typescript files
@@ -185,7 +189,7 @@ module.exports = {
185
189
files : [ '*.config.js' , '*.config.mjs' ] ,
186
190
parserOptions : {
187
191
sourceType : 'module' ,
188
- ecmaVersion : 2018 ,
192
+ ecmaVersion : 2020 ,
189
193
} ,
190
194
} ,
191
195
{
You can’t perform that action at this time.
0 commit comments