Skip to content

Commit

Permalink
Chore: support es2020 in fuzz (#12180)
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add authored and kaicataldo committed Aug 29, 2019
1 parent 00d2c5b commit e88f305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/eslint-fuzzer.js
Expand Up @@ -129,7 +129,7 @@ function fuzz(options) {
const text = codeGenerator({ sourceType });
const config = {
rules: lodash.mapValues(ruleConfigs, lodash.sample),
parserOptions: { sourceType, ecmaVersion: 2018 }
parserOptions: { sourceType, ecmaVersion: 2020 }
};

let autofixResult;
Expand Down

0 comments on commit e88f305

Please sign in to comment.