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 = {
99 es2017 : true ,
1010 } ,
1111 parserOptions : {
12- ecmaVersion : 2018 ,
12+ ecmaVersion : 2020 ,
1313 } ,
1414 extends : [ '@sentry-internal/sdk' ] ,
1515 ignorePatterns : [
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ module.exports = {
1111 rules : {
1212 'no-unused-vars' : [ 'error' , { argsIgnorePattern : '^_' } ] ,
1313 } ,
14+ parserOptions : {
15+ sourceType : 'module' ,
16+ ecmaVersion : 2020 ,
17+ } ,
1418 } ,
1519 {
1620 // Configuration for typescript files
@@ -185,7 +189,7 @@ module.exports = {
185189 files : [ '*.config.js' , '*.config.mjs' ] ,
186190 parserOptions : {
187191 sourceType : 'module' ,
188- ecmaVersion : 2018 ,
192+ ecmaVersion : 2020 ,
189193 } ,
190194 } ,
191195 {
You can’t perform that action at this time.
0 commit comments