Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.*
node_modules
package-lock.json
dist
build
*bundle*.js
third_party

/Octane/*
/ARES-6/*
/cdjs/*
/8bitbench/*
/class-fields/*
/code-load/*
/SunSpider
/SeaMonster
/WSL
/worker/bomb-subtests
/wasm/dotnet/build-*
/wasm/tfjs-model-*
/simple/*
/generators/*
/threejs/*

# Ignore everything in RexBench, then selectively un-ignore.
/RexBench/*
!/RexBench/*/
/RexBench/*/*
!/RexBench/*/benchmark.js

!benchmark.js
!*/benchmark.js
!/**/*.md
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "css",
"printWidth": 100,
"semi": true,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "es5",
"useTabs": false
}
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"compress": "node utils/compress.mjs",
"lint:check": "eslint **/*.{js,mjs,jsx,ts,tsx}",
"pretty:check": "prettier --check ./",
"pretty:format": "prettier --write ./",
"format:check": "npm run pretty:check && npm run lint:check",
"test:chrome": "node tests/run.mjs --browser chrome",
"test:firefox": "node tests/run.mjs --browser firefox",
Expand All @@ -42,7 +43,7 @@
"http-server": "^14.1.1",
"jsvu": "^2.5.1",
"local-web-server": "^5.4.0",
"prettier": "^2.8.3",
"prettier": "^2.8.8",
"selenium-webdriver": "^4.35.0"
}
}
6 changes: 5 additions & 1 deletion web-tooling-benchmark/src/acorn.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ const payloads = [
},
];

export function runTest(fileData) {
export function runTest(
fileData


) {
const testData = payloads.map(({ name, options }) => ({
payload: fileData[name],
name: name,
Expand Down
Loading