Skip to content

Commit f7612b3

Browse files
style: format code with ClangFormat, dotnet-format, Prettier, RuboCop, Rustfmt, Scalafmt, StandardJS, StandardRB and swift-format
This commit fixes the style issues introduced in 609338d according to the output from ClangFormat, dotnet-format, Prettier, RuboCop, Rustfmt, Scalafmt, StandardJS, StandardRB and swift-format. Details: None
1 parent 609338d commit f7612b3

2 files changed

Lines changed: 42 additions & 46 deletions

File tree

index.html

Lines changed: 39 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,42 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>All-in-One Tools</title>
7-
<link rel="stylesheet" href="css/style.css">
8-
</head>
9-
<body>
10-
<header>
11-
<h1>All-in-One Tools</h1>
12-
<p>A collection of useful tools, all in one place.</p>
13-
</header>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>All-in-One Tools</title>
7+
<link rel="stylesheet" href="css/style.css" />
8+
</head>
9+
<body>
10+
<header>
11+
<h1>All-in-One Tools</h1>
12+
<p>A collection of useful tools, all in one place.</p>
13+
</header>
1414

15-
<main class="tool-grid">
16-
<div class="tool-card">
17-
<h2>Unit Converter</h2>
18-
<p>Convert between common units (length, weight, temperature).</p>
19-
<a href="tools/converter.html" class="btn">Open</a>
20-
</div>
21-
<div class="tool-card">
22-
<h2>Calculator</h2>
23-
<p>Perform quick calculations.</p>
24-
<a href="tools/calculator.html" class="btn">Open</a>
25-
</div>
26-
<div class="tool-card">
27-
<h2>Password Generator</h2>
28-
<p>Create strong and secure passwords.</p>
29-
<a href="tools/password.html" class="btn">Open</a>
30-
</div>
31-
<div class="tool-card">
32-
<h2>QR Code Generator</h2>
33-
<p>Turn text or links into QR codes.</p>
34-
<a href="tools/qr.html" class="btn">Open</a>
35-
</div>
15+
<main class="tool-grid">
16+
<div class="tool-card">
17+
<h2>Unit Converter</h2>
18+
<p>Convert between common units (length, weight, temperature).</p>
19+
<a href="tools/converter.html" class="btn">Open</a>
20+
</div>
21+
<div class="tool-card">
22+
<h2>Calculator</h2>
23+
<p>Perform quick calculations.</p>
24+
<a href="tools/calculator.html" class="btn">Open</a>
25+
</div>
26+
<div class="tool-card">
27+
<h2>Password Generator</h2>
28+
<p>Create strong and secure passwords.</p>
29+
<a href="tools/password.html" class="btn">Open</a>
30+
</div>
31+
<div class="tool-card">
32+
<h2>QR Code Generator</h2>
33+
<p>Turn text or links into QR codes.</p>
34+
<a href="tools/qr.html" class="btn">Open</a>
35+
</div>
36+
</main>
3637

37-
</main>
38-
39-
<footer>
40-
<p>Made with ❤️ by LCS</p>
41-
</footer>
42-
</body>
43-
</html>
38+
<footer>
39+
<p>Made with ❤️ by LCS</p>
40+
</footer>
41+
</body>
42+
</html>

js/main.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,16 @@ Sentry.init({
1010
sendDefaultPii: true,
1111

1212
// Enable performance monitoring + session replay
13-
integrations: [
14-
new BrowserTracing(),
15-
new Replay()
16-
],
13+
integrations: [new BrowserTracing(), new Replay()],
1714

1815
// Performance Monitoring
1916
tracesSampleRate: 1.0, // Capture 100% (lower in prod)
2017

2118
// Session Replay
2219
replaysSessionSampleRate: 0.1, // Capture 10% of sessions
23-
replaysOnErrorSampleRate: 1.0 // Always capture replay on error
20+
replaysOnErrorSampleRate: 1.0, // Always capture replay on error
2421
});
2522

2623
// Test error
2724
myUndefinedFunction();
28-
console.log("All-in-One Tools loaded.");
25+
console.log("All-in-One Tools loaded.");

0 commit comments

Comments
 (0)