Skip to content

Commit a4e7ba6

Browse files
committed
Fixing ESLint setup
1 parent 0537b5c commit a4e7ba6

File tree

43 files changed

+167
-710
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+167
-710
lines changed

docs-v2/.eslintrc.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

docs-v2/components/LanguageLink.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
import React from "react";
22

3+
type LanguageLinkProps = {
4+
icon: string;
5+
name: string;
6+
link: string;
7+
};
8+
39
function LanguageLink({
410
icon, name, link,
5-
}) {
11+
}: LanguageLinkProps) {
612
return (
713
<div className="flex justify-center items-center">
814
<a href={link}>

docs-v2/components/PythonMappings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const PythonMappings = () => {
7272
<a
7373
target="_blank"
7474
className="external"
75-
href={`https://pypi.org/project/${mapping[0]}`}
75+
href={`https://pypi.org/project/${mapping[0]}`} rel="noreferrer"
7676
>
7777
<span className="font-mono">{`# pipedream add-package ${mapping[0]}`}</span>
7878
</a>

docs-v2/components/VideoPlayer.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
import React from "react";
22

3+
type VideoPlayerProps = {
4+
src: string;
5+
title: string;
6+
startAt?: number;
7+
};
8+
39
const VideoPlayer = ({
410
src, title, startAt,
5-
}) => {
11+
}: VideoPlayerProps) => {
612
const embedUrl = `${src}?rel=0${startAt
713
? `&start=${startAt}`
814
: ""}`;

docs-v2/eslint.config.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs-v2/package.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,8 @@
1919
"dependencies": {
2020
"@docsearch/react": "^3.6.1",
2121
"@pipedream/sdk": "^0.1.9",
22-
"@typescript-eslint/eslint-plugin": "^7.18.0",
23-
"@typescript-eslint/parser": "^7.18.0",
2422
"@vercel/analytics": "^1.3.1",
2523
"chalk": "^5.3.0",
26-
"eslint": "^8.57.0",
27-
"eslint-plugin-jest": "^27.9.0",
28-
"eslint-plugin-jsonc": "^2.16.0",
29-
"eslint-plugin-pipedream": "^0.2.4",
30-
"eslint-plugin-putout": "^22.10.0",
3124
"jest": "^29.7.0",
3225
"lint-staged": "^15.2.7",
3326
"next": "^14.2.5",
@@ -39,14 +32,11 @@
3932
"sharp": "^0.33.4"
4033
},
4134
"devDependencies": {
42-
"@next/eslint-plugin-next": "^14.2.5",
4335
"@types/node": "18.11.10",
4436
"autoprefixer": "^10.4.19",
45-
"eslint-config-next": "^14.2.5",
4637
"postcss": "^8.4.40",
4738
"prettier": "^3.3.3",
4839
"tailwindcss": "^3.4.7",
49-
"typescript": "^5.5.4",
50-
"typescript-eslint": "^7.18.0"
40+
"typescript": "^5.5.4"
5141
}
5242
}

docs-v2/pages/_meta.tsx

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,94 @@
11
export default {
2-
index: "What is Pipedream?",
3-
quickstart: "Quickstart",
4-
workspaces: "Workspaces",
5-
projects: "Projects",
6-
workflows: "Workflows",
7-
code: "Code",
2+
"index": "What is Pipedream?",
3+
"quickstart": "Quickstart",
4+
"workspaces": "Workspaces",
5+
"projects": "Projects",
6+
"workflows": "Workflows",
7+
"code": "Code",
88
"data-stores": "Data Stores",
9-
databases: "Databases",
9+
"databases": "Databases",
1010
"connected-accounts": "Connected Accounts",
11-
apps: "Integrations",
12-
connect: {
13-
title: "Pipedream Connect"
11+
"apps": "Integrations",
12+
"connect": {
13+
title: "Pipedream Connect",
1414
},
15-
components: "Components",
16-
sources: "Sources",
15+
"components": "Components",
16+
"sources": "Sources",
1717
"event-history": "Event History",
18-
http: "HTTP",
18+
"http": "HTTP",
1919
"environment-variables": "Environment Variables",
2020
"rest-api": "REST API",
21-
cli: "CLI",
22-
destinations: "Destinations",
21+
"cli": "CLI",
22+
"destinations": "Destinations",
2323
"user-settings": "User and Billing Settings",
24-
troubleshooting: "Troubleshooting",
25-
pricing: "Pricing FAQ",
24+
"troubleshooting": "Troubleshooting",
25+
"pricing": "Pricing FAQ",
2626
"privacy-and-security": "Security",
27-
limits: "Limits",
28-
glossary: "Glossary of Terms",
29-
support: {
27+
"limits": "Limits",
28+
"glossary": "Glossary of Terms",
29+
"support": {
3030
title: "Support",
3131
type: "page",
3232
href: "https://pipedream.com/support",
33-
newWindow: true
33+
newWindow: true,
3434
},
3535
"pricing-page": {
3636
title: "Pricing",
3737
href: "https://pipedream.com/pricing",
3838
newWindow: true,
39-
type: "page"
39+
type: "page",
4040
},
41-
statuspage: {
41+
"statuspage": {
4242
title: "Status",
4343
type: "page",
4444
href: "https://status.pipedream.com",
45-
newWindow: true
45+
newWindow: true,
4646
},
47-
version: {
47+
"version": {
4848
title: "Version",
4949
type: "menu",
5050
items: {
5151
v3: {
5252
title: "Current",
53-
href: "https://pipedream.com/docs"
53+
href: "https://pipedream.com/docs",
5454
},
5555
v2: {
5656
title: "Linear (classic)",
57-
href: "https://pipedream.com/docs/v2"
58-
}
59-
}
57+
href: "https://pipedream.com/docs/v2",
58+
},
59+
},
6060
},
61-
abuse: {
62-
display: "hidden"
61+
"abuse": {
62+
display: "hidden",
6363
},
64-
airtable: {
65-
display: "hidden"
64+
"airtable": {
65+
display: "hidden",
6666
},
67-
examples: {
68-
display: "hidden"
67+
"examples": {
68+
display: "hidden",
6969
},
7070
"migrate-from-v1": {
71-
display: "hidden"
71+
display: "hidden",
7272
},
7373
"new-feature-or-bug": {
74-
display: "hidden"
74+
display: "hidden",
7575
},
7676
"nodejs20-faq-2024-02": {
77-
display: "hidden"
77+
display: "hidden",
7878
},
7979
"scheduling-future-tasks": {
80-
display: "hidden"
80+
display: "hidden",
8181
},
8282
"shopify-faq-2023-10": {
83-
display: "hidden"
83+
display: "hidden",
8484
},
85-
subprocessors: {
86-
display: "hidden"
85+
"subprocessors": {
86+
display: "hidden",
8787
},
8888
"pipedream-axios": {
89-
display: "hidden"
89+
display: "hidden",
90+
},
91+
"status": {
92+
display: "hidden",
9093
},
91-
status: {
92-
display: "hidden"
93-
}
94-
} as const
94+
} as const

docs-v2/pages/abuse/_meta.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default {
22
index: {
3-
display: "hidden"
4-
}
3+
display: "hidden",
4+
},
55
} as const

docs-v2/pages/airtable/_meta.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default {
22
"oauth-migration-2024-02": {
3-
display: "children"
4-
}
3+
display: "children",
4+
},
55
} as const
66

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default {
22
"index": {
3-
"display": "hidden"
4-
}
3+
"display": "hidden",
4+
},
55
} as const
66

0 commit comments

Comments
 (0)