Replace deprecated babel-eslint with @babel/eslint-parser

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-11-15 01:33:11 +01:00
parent 929cd8a60d
commit 721a28bef4
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -8,7 +8,7 @@
const Module = require('module')
const hacks = [
'babel-eslint',
'@babel/eslint-parser',
'eslint-plugin-vue',
]
@ -42,9 +42,10 @@ module.exports = {
process: true,
},
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2020,
parser: 'babel-eslint',
requireConfigFile: false,
},
plugins: [