Skip to content

Commit

Permalink
update babel
Browse files Browse the repository at this point in the history
  • Loading branch information
link1697 committed Nov 7, 2024
1 parent c69f2be commit f3f5e0c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/dashboard/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
SPDX-License-Identifier: Apache-2.0
*/
module.exports = {
parser: 'babel-eslint',
extends: ['airbnb', 'prettier', 'plugin:compat/recommended'],
parser: '@babel/eslint-parser',
extends: [
'airbnb',
'prettier',
'plugin:compat/recommended',
],
parserOptions: {
requireConfigFile: false,
babelOptions: {
presets: ['@babel/preset-env', '@babel/preset-react'],
},
},
env: {
browser: true,
node: true,
Expand Down

0 comments on commit f3f5e0c

Please sign in to comment.