-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dacf6c5
commit 34bbc13
Showing
31 changed files
with
847 additions
and
689 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import config from '@iobroker/eslint-config'; | ||
|
||
export default [ | ||
...config, | ||
{ | ||
languageOptions: { | ||
parserOptions: { | ||
allowDefaultProject: { | ||
allow: ['*.js', '*.mjs'], | ||
}, | ||
tsconfigRootDir: import.meta.dirname, | ||
project: './tsconfig.json', | ||
// projectService: true, | ||
}, | ||
}, | ||
}, | ||
{ | ||
// disable temporary the rule 'jsdoc/require-param' and enable 'jsdoc/require-jsdoc' | ||
rules: { | ||
'jsdoc/require-jsdoc': 'off', | ||
'jsdoc/require-param': 'off', | ||
}, | ||
}, | ||
{ | ||
ignores: ['build-backend/**/*', 'lib/**/*'], | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import config, { reactConfig } from '@iobroker/eslint-config'; | ||
|
||
export default [ | ||
...config, | ||
...reactConfig, | ||
{ | ||
rules: { | ||
'no-new-func': 'warn', | ||
'no-extend-native': 'warn', | ||
'no-eval': 'warn', | ||
}, | ||
}, | ||
{ | ||
languageOptions: { | ||
parserOptions: { | ||
projectService: { | ||
allowDefaultProject: ['*.mjs'], | ||
}, | ||
tsconfigRootDir: import.meta.dirname, | ||
}, | ||
}, | ||
}, | ||
{ | ||
// disable temporary the rule 'jsdoc/require-param' and enable 'jsdoc/require-jsdoc' | ||
rules: { | ||
'jsdoc/require-jsdoc': 'off', | ||
'jsdoc/require-param': 'off', | ||
'@/no-duplicate-imports': 'error', | ||
}, | ||
}, | ||
{ | ||
ignores: ['build/**/*', 'node_modules/**/*', 'src/serviceWorker.js', 'vite.config.mjs'], | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link | ||
rel="shortcut icon" | ||
href="favicon.ico" | ||
/> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, shrink-to-fit=no" | ||
/> | ||
<meta | ||
name="theme-color" | ||
content="#000000" | ||
/> | ||
<link | ||
rel="manifest" | ||
href="manifest.json" | ||
/> | ||
<script> | ||
window.API_URL = '${API_URL}'; | ||
</script> | ||
<title>ioBroker Adapter checker</title> | ||
</head> | ||
<body> | ||
<noscript> You need to enable JavaScript to run this app. </noscript> | ||
<div id="root"></div> | ||
<script type="module" src="src/index.jsx"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,30 @@ | ||
{ | ||
"name": "frontend-user", | ||
"version": "0.1.0", | ||
"private": true, | ||
"dependencies": { | ||
"@iobroker/adapter-react-v5": "^4.0.2", | ||
"@mui/material": "^5.10.17", | ||
"@mui/icons-material": "^5.10.16", | ||
"@mui/styles": "^5.10.16", | ||
"babel-eslint": "^10.1.0", | ||
"react-moment": "^1.1.2", | ||
"moment": "^2.29.4", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-scripts": "^5.0.1" | ||
}, | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
}, | ||
"eslintConfig": { | ||
"extends": "react-app" | ||
}, | ||
"browserslist": [ | ||
">0.2%", | ||
"not dead", | ||
"not ie <= 11", | ||
"not op_mini all" | ||
] | ||
"name": "frontend-user", | ||
"version": "0.1.0", | ||
"private": true, | ||
"dependencies": { | ||
"@iobroker/adapter-react-v5": "^7.4.14", | ||
"@mui/material": "^6.4.0", | ||
"@mui/icons-material": "^6.4.0", | ||
"@vitejs/plugin-react": "^4.3.4", | ||
"react-moment": "^1.1.3", | ||
"moment": "^2.30.1", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1" | ||
}, | ||
"scripts": { | ||
"start": "vite", | ||
"build": "vite build", | ||
"lint": "eslint -c eslint.config.mjs", | ||
"npm": "npm i --force" | ||
}, | ||
"eslintConfig": { | ||
"extends": "react-app" | ||
}, | ||
"browserslist": [ | ||
">0.2%", | ||
"not dead", | ||
"not ie <= 11", | ||
"not op_mini all" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"short_name": "Repo checker", | ||
"name": "Create React App Sample", | ||
"icons": [ | ||
{ | ||
"src": "favicon.ico", | ||
"sizes": "64x64 32x32 24x24 16x16", | ||
"type": "image/x-icon" | ||
} | ||
], | ||
"start_url": ".", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#ffffff" | ||
"short_name": "Adapter checker", | ||
"name": "ioBroker Adapter checker", | ||
"icons": [ | ||
{ | ||
"src": "favicon.ico", | ||
"sizes": "64x64 32x32 24x24 16x16", | ||
"type": "image/x-icon" | ||
} | ||
], | ||
"start_url": ".", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#ffffff" | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.