There was an error while loading. Please reload this page.
@babel/eslint-parser
eslint
1 parent f77b467 commit a3f2dc0Copy full SHA for a3f2dc0
1 file changed
.eslintrc.js
@@ -955,8 +955,11 @@ const json = {
955
956
module.exports = {
957
root: true,
958
+ parser: '@babel/eslint-parser',
959
parserOptions: {
- ecmaVersion: 'latest',
960
+ ecmaVersion: 2021,
961
+ requireConfigFile: false,
962
+ sourceType: 'script',
963
},
964
env: {
965
// unnececery global builtins disabled by related rules
@@ -1084,10 +1087,7 @@ module.exports = {
1084
1087
1085
1088
{
1086
1089
files: ['*.mjs'],
- parser: '@babel/eslint-parser',
1090
- ecmaVersion: 2022,
- requireConfigFile: false,
1091
sourceType: 'module',
1092
1093
0 commit comments