Replace deprecated babel-eslint with @babel/eslint-parser
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
929cd8a60d
commit
721a28bef4
1 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
const Module = require('module')
|
const Module = require('module')
|
||||||
|
|
||||||
const hacks = [
|
const hacks = [
|
||||||
'babel-eslint',
|
'@babel/eslint-parser',
|
||||||
'eslint-plugin-vue',
|
'eslint-plugin-vue',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -42,9 +42,10 @@ module.exports = {
|
||||||
process: true,
|
process: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
parser: '@babel/eslint-parser',
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
ecmaVersion: 2020,
|
ecmaVersion: 2020,
|
||||||
parser: 'babel-eslint',
|
requireConfigFile: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
Loading…
Reference in a new issue