Skip to content

Commit a085239

Browse files
committed
Updated eslint ecma version to 2020
refs TryGhost/Ghost@bb1a570 - Main Ghost repository is already using this syntax. Needed the nulllish syntax in one of the function refactors really badly - otherwise would create lots of unnecessary code, so decided to enable it now
1 parent 61209f3 commit a085239

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/admin-api-schema/.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
module.exports = {
2+
parserOptions: {
3+
ecmaVersion: 2020
4+
},
25
plugins: ['ghost'],
36
extends: [
47
'plugin:ghost/node'

0 commit comments

Comments
 (0)