Skip to content

Commit 709fdd8

Browse files
committed
chore: lint
1 parent a3f46cb commit 709fdd8

9 files changed

Lines changed: 18 additions & 18 deletions

docs/advanced/custom-certificates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const cert = await generateCertificate({
4141
rootCA: existingCA,
4242

4343
// Certificate validity
44-
validityDays: 730, // 2 years
44+
validityDays: 730, // 2 years
4545

4646
// Certificate subject details
4747
commonName: 'Example Project Local',

docs/advanced/key-usage-extensions.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const cert = await generateCertificate({
1919

2020
// Basic constraints
2121
basicConstraints: {
22-
cA: false, // Not a CA certificate
22+
cA: false, // Not a CA certificate
2323
critical: true, // This extension is critical
2424
},
2525
})
@@ -36,10 +36,10 @@ const cert = await generateCertificate({
3636

3737
// Key usage
3838
keyUsage: {
39-
digitalSignature: true, // Allow digital signatures
40-
keyEncipherment: true, // Allow key encipherment
39+
digitalSignature: true, // Allow digital signatures
40+
keyEncipherment: true, // Allow key encipherment
4141
dataEncipherment: false, // Disallow data encipherment
42-
critical: true, // This extension is critical
42+
critical: true, // This extension is critical
4343
},
4444
})
4545
```
@@ -64,12 +64,12 @@ const cert = await generateCertificate({
6464

6565
// Extended key usage
6666
extKeyUsage: {
67-
serverAuth: true, // Web server authentication
68-
clientAuth: true, // Web client authentication
67+
serverAuth: true, // Web server authentication
68+
clientAuth: true, // Web client authentication
6969
codeSigning: false,
7070
emailProtection: false,
7171
timeStamping: false,
72-
critical: false, // This extension is not critical
72+
critical: false, // This extension is not critical
7373
},
7474
})
7575
```
@@ -98,7 +98,7 @@ const cert = await generateCertificate({
9898
// Custom SANs
9999
subjectAltNames: [
100100
{ type: 2, value: 'custom.example.local' }, // DNS name
101-
{ type: 7, value: '10.0.0.1' }, // IP address
101+
{ type: 7, value: '10.0.0.1' }, // IP address
102102
{ type: 6, value: 'https://example.local' }, // URI
103103
],
104104

@@ -156,4 +156,4 @@ const cert = await generateCertificate({
156156
## Related Topics
157157

158158
- [Custom Certificates](/advanced/custom-certificates)
159-
- [Certificate Authority](/advanced/certificate-authority)
159+
- [Certificate Authority](/advanced/certificate-authority)

docs/api-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,4 +364,4 @@ const config: {
364364

365365
- [Custom Certificates](/advanced/custom-certificates)
366366
- [Certificate Authority](/advanced/certificate-authority)
367-
- [Key Usage & Extensions](/advanced/key-usage-extensions)
367+
- [Key Usage & Extensions](/advanced/key-usage-extensions)

docs/features/multi-domain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ tlsx secure -d "api.local,app.local,*.services.local"
5757
## Related Features
5858

5959
- [Wildcard Domains](/features/wildcard-domains)
60-
- [SSL Support](/features/ssl-support)
60+
- [SSL Support](/features/ssl-support)

docs/features/ssl-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ tlsx secure localhost
4343

4444
- [Wildcard Domains](/features/wildcard-domains)
4545
- [Multi-domain Support](/features/multi-domain)
46-
- [System Trust Store Integration](/features/system-trust-store)
46+
- [System Trust Store Integration](/features/system-trust-store)

docs/features/system-trust-store.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ tlsx secure example.local
5454
## Related Features
5555

5656
- [SSL Support](/features/ssl-support)
57-
- [Zero-Config](/features/zero-config)
57+
- [Zero-Config](/features/zero-config)

docs/features/wildcard-domains.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ While wildcard certificates are powerful, they have some limitations:
4646
## Related Features
4747

4848
- [Multi-domain Support](/features/multi-domain)
49-
- [SSL Support](/features/ssl-support)
49+
- [SSL Support](/features/ssl-support)

docs/features/zero-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ export default {
5959
## Related Features
6060

6161
- [System Trust Store Integration](/features/system-trust-store)
62-
- [SSL Support](/features/ssl-support)
62+
- [SSL Support](/features/ssl-support)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
],
3636
"exports": {
3737
".": {
38-
"import": "./dist/src/index.js",
39-
"types": "./dist/index.d.ts"
38+
"types": "./dist/index.d.ts",
39+
"import": "./dist/src/index.js"
4040
}
4141
},
4242
"module": "./dist/src/index.js",

0 commit comments

Comments
 (0)