Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# All files
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# JavaScript, TypeScript, JSON, and related files
[*.{js,jsx,ts,tsx,json,jsonc,json5}]
indent_style = space
indent_size = 2
max_line_length = 100

# YAML files
[*.{yml,yaml}]
indent_style = space
indent_size = 2

# Markdown files (preserve trailing whitespace for line breaks)
[*.md]
trim_trailing_whitespace = false

# Package files
[{package.json,package-lock.json,pnpm-lock.yaml}]
indent_style = space
indent_size = 2

# Configuration files
[*.{prettierrc,eslintrc}]
indent_style = space
indent_size = 2

# Shell scripts
[*.{sh,bash}]
indent_style = space
indent_size = 2
3 changes: 2 additions & 1 deletion examples/todo-backend-typescript/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"noEmitOnError": true,
"verbatimModuleSyntax": false
},
"include": ["app/**/*"]
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "dist"]
}
3 changes: 2 additions & 1 deletion examples/todo-frontend-react-sdk/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"featurehub-react-sdk": ["../../packages/react/src"]
}
},
"include": ["**/*.ts", "**/*.tsx"]
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "dist"]
}
9 changes: 0 additions & 9 deletions examples/todo-frontend-react-sdk/tsconfig.node.json

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"@types/react": "catalog:react19",
"@types/react-dom": "catalog:react19",
"@vitejs/plugin-react": "^5.0.4",
"eslint": "^8.8.0",
"featurehub-tsconfig": "workspace:*",
"rimraf": "catalog:rimraf",
"typescript": "catalog:typescript",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"featurehub-javascript-client-sdk": ["../../packages/js/src"]
}
},
"include": ["**/*.ts", "**/*.tsx"]
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "dist"]
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"@types/react": "catalog:react19",
"@types/react-dom": "catalog:react19",
"@vitejs/plugin-react": "^5.0.4",
"eslint": "^8.8.0",
"featurehub-tsconfig": "workspace:*",
"rimraf": "catalog:rimraf",
"typescript": "catalog:typescript",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"featurehub-javascript-client-sdk": ["../../packages/js/src"]
}
},
"include": ["**/*.ts", "**/*.tsx"]
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "dist"]
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions examples/todo-frontend-react-typescript/.editorconfig

This file was deleted.

3 changes: 1 addition & 2 deletions examples/todo-frontend-react-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "featurehub-react-example",
"version": "2.1.1",
"type": "module",
"private": true,
"scripts": {
"dev": "vite",
Expand All @@ -24,12 +25,10 @@
"@types/react": "catalog:react19",
"@types/react-dom": "catalog:react19",
"@vitejs/plugin-react": "^5.0.4",
"eslint": "^8.8.0",
"featurehub-tsconfig": "workspace:*",
"rimraf": "catalog:rimraf",
"typescript": "catalog:typescript",
"vite": "^7.1.9"
},
"type": "module",
"packageManager": "pnpm>=10.12"
}
Loading
Loading