Ghost/ghost/offers/.eslintrc.js
Hannah Wolfe fbdbd7fd43 Removed @babel/eslint-parser, set ecmaVersion instead
refs: 3a1c51672c

- @babel/eslint-parser was added to enable support for static members on classes but this causes other problems as it fails on eslint ugprades etc
- a better solution is to set ecmaVersion to 2022, as our default is 2018 which does not support static, yet 2022 does
2022-02-15 12:30:17 +00:00

10 lines
149 B
JavaScript

module.exports = {
parserOptions: {
ecmaVersion: 2022
},
plugins: ['ghost'],
extends: [
'plugin:ghost/node'
]
};