Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable "no-inner-declarations" rule on "resources/*.js" files #1874

Merged
merged 1 commit into from May 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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