Skip to content

Commit cb759a3

Browse files
authored
Merge pull request #219 from thedanchez/cleanup
chore: remove unnecessary tsconfigs from examples
2 parents 016f57e + 95b2dc4 commit cb759a3

File tree

28 files changed

+56
-571
lines changed

28 files changed

+56
-571
lines changed

.editorconfig

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# All files
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
# JavaScript, TypeScript, JSON, and related files
14+
[*.{js,jsx,ts,tsx,json,jsonc,json5}]
15+
indent_style = space
16+
indent_size = 2
17+
max_line_length = 100
18+
19+
# YAML files
20+
[*.{yml,yaml}]
21+
indent_style = space
22+
indent_size = 2
23+
24+
# Markdown files (preserve trailing whitespace for line breaks)
25+
[*.md]
26+
trim_trailing_whitespace = false
27+
28+
# Package files
29+
[{package.json,package-lock.json,pnpm-lock.yaml}]
30+
indent_style = space
31+
indent_size = 2
32+
33+
# Configuration files
34+
[*.{prettierrc,eslintrc}]
35+
indent_style = space
36+
indent_size = 2
37+
38+
# Shell scripts
39+
[*.{sh,bash}]
40+
indent_style = space
41+
indent_size = 2

examples/todo-backend-typescript/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
"noEmitOnError": true,
99
"verbatimModuleSyntax": false
1010
},
11-
"include": ["app/**/*"]
11+
"include": ["**/*.ts", "**/*.tsx"],
12+
"exclude": ["node_modules", "dist"]
1213
}

examples/todo-frontend-react-sdk/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"featurehub-react-sdk": ["../../packages/react/src"]
1212
}
1313
},
14-
"include": ["**/*.ts", "**/*.tsx"]
14+
"include": ["**/*.ts", "**/*.tsx"],
15+
"exclude": ["node_modules", "dist"]
1516
}

examples/todo-frontend-react-sdk/tsconfig.node.json

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

examples/todo-frontend-react-typescript-catch-and-release/.editorconfig

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

examples/todo-frontend-react-typescript-catch-and-release/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"@types/react": "catalog:react19",
2525
"@types/react-dom": "catalog:react19",
2626
"@vitejs/plugin-react": "^5.0.4",
27-
"eslint": "^8.8.0",
2827
"featurehub-tsconfig": "workspace:*",
2928
"rimraf": "catalog:rimraf",
3029
"typescript": "catalog:typescript",

examples/todo-frontend-react-typescript-catch-and-release/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"featurehub-javascript-client-sdk": ["../../packages/js/src"]
1212
}
1313
},
14-
"include": ["**/*.ts", "**/*.tsx"]
14+
"include": ["**/*.ts", "**/*.tsx"],
15+
"exclude": ["node_modules", "dist"]
1516
}

examples/todo-frontend-react-typescript-catch-and-release/tsconfig.node.json

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

examples/todo-frontend-react-typescript-catch-and-release/tsconfig.prod.json

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

examples/todo-frontend-react-typescript-catch-and-release/tsconfig.test.json

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

0 commit comments

Comments
 (0)