Skip to content

Commit

Permalink
add TIMING env var to eslint runner for simplification of future …
Browse files Browse the repository at this point in the history
…benchmarking
  • Loading branch information
zloirock committed Aug 24, 2024
1 parent f3dedc4 commit 2756763
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/eslint/runner.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
process.env.ESLINT_USE_FLAT_CONFIG = true;

await $`eslint --config ./tests/eslint/eslint.config.js ./`;
const TIMING = 0;

await $`TIMING=${ TIMING } eslint --config ./tests/eslint/eslint.config.js ./`;

0 comments on commit 2756763

Please sign in to comment.