Skip to content

Commit

Permalink
Merge remote-tracking branch 'webkit/main' into 2023-11-24_add_saniti…
Browse files Browse the repository at this point in the history
…ze_script
  • Loading branch information
camillobruni committed Jan 24, 2024
2 parents 2c38d4b + 7c0931e commit a81f810
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
package-lock.json
**/.angular

/resources/tentative/*

/resources/todomvc/architecture-examples/*
!/resources/todomvc/architecture-examples/angular
!/resources/todomvc/architecture-examples/angular-complex
Expand Down
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
*/

{
"root": true,
"extends": ["eslint:recommended", "plugin:@typescript-eslint/base"],
"env": {
"browser": true,
Expand Down
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
package-lock.json
**/.angular

/resources/tentative/*

/resources/todomvc/architecture-examples/*
!/resources/todomvc/architecture-examples/angular
!/resources/todomvc/architecture-examples/angular-complex
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"scripts": {
"dev": "http-server ./ -p 7000 -c-1 --cors",
"server": "http-server ./ -p 7000 --cors",
"lint:check": "eslint **/*.mjs",
"lint:fix": "eslint \"**/*.{js,mjs,jsx,ts}\" --fix",
"lint:check": "eslint **/*.{js,mjs,jsx,ts,tsx}",
"lint:fix": "eslint \"**/*.{js,mjs,jsx,ts,tsx}\" --fix",
"pretty:check": "prettier --check ./",
"pretty:fix": "prettier --write ./",
"format": "npm run pretty:fix ; npm run lint:fix",
Expand Down
7 changes: 3 additions & 4 deletions resources/developer-mode.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export function createUIForIterationCount() {
return label;
}


export function createUIForSuites() {
const control = document.createElement("nav");
const ol = document.createElement("ol");
Expand Down Expand Up @@ -186,14 +185,14 @@ export function createUIForSuites() {

function createUIForRun() {
let button = document.createElement("button");
button.textContent = `Start Test`;
button.textContent = "Start Test";
button.onclick = (event) => {
globalThis.benchmarkClient.start();
}
};
let buttons = document.createElement("div");
buttons.className = "button-bar";
buttons.appendChild(button);
return buttons
return buttons;
}

function updateURL() {
Expand Down
7 changes: 6 additions & 1 deletion resources/newssite/news-next/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"extends": "plugin:@next/next/recommended"
"extends": "plugin:@next/next/recommended",
"settings": {
"next": {
"rootDir": "resources/newssite/news-next/"
}
}
}

0 comments on commit a81f810

Please sign in to comment.