Skip to content

Commit

Permalink
Merge pull request eclipse-tractusx#245 from achtzig20/react
Browse files Browse the repository at this point in the history
feat: Rework FOSS Dashboard from vue to react
  • Loading branch information
tom-rm-meyer-ISST authored Mar 8, 2024
2 parents 5b8c3a1 + 8dab8f7 commit 200403a
Show file tree
Hide file tree
Showing 85 changed files with 7,121 additions and 6,669 deletions.
358 changes: 252 additions & 106 deletions DEPENDENCIES_FRONTEND

Large diffs are not rendered by default.

27 changes: 18 additions & 9 deletions frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
/* eslint-env node */
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
"root": true,
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/eslint-config-prettier"
]
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
'@typescript-eslint/no-explicit-any': 'error',
'no-console': ['warn', { allow: ['info', 'error'] }],
},
}
10 changes: 10 additions & 0 deletions frontend/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": false,
"arrowParens": "always",
"printWidth": 140
}
358 changes: 252 additions & 106 deletions frontend/DEPENDENCIES

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PURIS</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading

0 comments on commit 200403a

Please sign in to comment.