diff options
| -rw-r--r-- | .tool-versions | 2 | ||||
| -rw-r--r-- | react-frontend/README.md | 30 | ||||
| -rw-r--r-- | readme.mdown (renamed from rails-backend/README.md) | 2 |
3 files changed, 1 insertions, 33 deletions
diff --git a/.tool-versions b/.tool-versions index c51dbdf..0d02c2c 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ ruby 3.3.3 -nodejs 22.3.0 +nodejs 20.5.1 diff --git a/react-frontend/README.md b/react-frontend/README.md deleted file mode 100644 index 0d6babe..0000000 --- a/react-frontend/README.md +++ /dev/null @@ -1,30 +0,0 @@ -# React + TypeScript + Vite - -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. - -Currently, two official plugins are available: - -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh - -## Expanding the ESLint configuration - -If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: - -- Configure the top-level `parserOptions` property like this: - -```js -export default { - // other rules... - parserOptions: { - ecmaVersion: 'latest', - sourceType: 'module', - project: ['./tsconfig.json', './tsconfig.node.json'], - tsconfigRootDir: __dirname, - }, -} -``` - -- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` -- Optionally add `plugin:@typescript-eslint/stylistic-type-checked` -- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list diff --git a/rails-backend/README.md b/readme.mdown index 85de49a..a5b4195 100644 --- a/rails-backend/README.md +++ b/readme.mdown @@ -6,5 +6,3 @@ Currently implemented features in the backend are: - User authentication: users can log in using GitHub OAuth - Game Upload: Once a user is logged in they can upload a game which will then belong to them - Game Serving: Games can be played by users. The games are served under a different domain in order to make XSS attacks impossible in-case a user uploads compromised files. - -The front-end is temporarily my [personal website](https://malcz.com/games) which is made using React. However I am working on a new React frontend in order to have this application be completely standalone and more accessible. |
