Skip to content

Commit

Permalink
58 react setup (#59)
Browse files Browse the repository at this point in the history
* [Task] #58 install react via npm, incl. types and eslint plugins

* [Task] #58, tsconfig for react folder

* [Task] #58 esLint config

* [Task] #58, webpack and react setup

* [Task] #58, render welcome from express instead of static

* [Task] #58 eslint scripts

* [Task] #58, eslint react setup

* [TASK] #58 integrate webpack in build and dev npm scripts
  • Loading branch information
Type-Style authored Apr 5, 2024
1 parent 16429e6 commit d65da31
Show file tree
Hide file tree
Showing 16 changed files with 2,782 additions and 187 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2024,
"ecmaVersion": "latest",
"sourceType": "module",
"project": "tsconfig.json"
},
Expand All @@ -22,6 +22,6 @@
//"@typescript-eslint/no-unused-vars": "warn"
"jest/no-conditional-expect": "off"
},
"ignorePatterns": ["dist", "jest.config.js", "httpdocs"]
"ignorePatterns": ["dist", "jest.config.js", "httpdocs", "webpack.config.js", "src/client"]

}
2 changes: 2 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ jobs:
run: npx eslint src/ --fix
- name: Lint client-side code
run: npx eslint httpdocs/js/ --fix
- name: Lint react code
run: npx eslint src/client/ --fix
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"workbench.editor.enablePreview": false,
"editor.rename.enablePreview": false
"editor.rename.enablePreview": false,
"typescript.tsdk": "node_modules\\typescript\\lib"
}
57 changes: 0 additions & 57 deletions httpdocs/index.html

This file was deleted.

1 change: 0 additions & 1 deletion httpdocs/js/login.js
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Loading

0 comments on commit d65da31

Please sign in to comment.