-
-
Notifications
You must be signed in to change notification settings - Fork 934
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes the broken benchmark script (`npm run benchmark`) The error reason is that `rules[ruleName]` has returned a `Promise` since 16.0.0. ```sh-session $ npm run benchmark-rule -- value-keyword-case lower ... const rule = ruleFunc(primary, secondary, context); ^ TypeError: ruleFunc is not a function ... ``` Also, this changes `parserOptions.ecmaVersion` in the ESLint config to allow top-level `await`.
- Loading branch information
1 parent
3de4eba
commit 398d3a8
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters