Skip to content

Commit

Permalink
Enable "no-inner-declarations" rule on "resources/*.js" files (#1874)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed May 19, 2019
1 parent fc2873c commit 8263c96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .eslintrc.yml
Expand Up @@ -363,5 +363,4 @@ overrides:
no-console: off
no-sync: off
global-require: off
no-inner-declarations: off #TODO
prettier/prettier: off #TODO
3 changes: 3 additions & 0 deletions resources/benchmark.js
Expand Up @@ -143,7 +143,10 @@ function beautifyBenchmark(results) {
console.log(' ' + bench.name + ': ' + red(String(bench.error)));
continue;
}
printBench(bench);
}

function printBench(bench) {
const { name, ops, deviation, numRuns } = bench;
console.log(
' ' + nameStr() + grey(' x ') + opsStr() + ' ops/sec ' +
Expand Down

0 comments on commit 8263c96

Please sign in to comment.