Skip to content

Commit

Permalink
Move GUI to typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Dec 11, 2024
1 parent a1de805 commit 7ecd1b9
Show file tree
Hide file tree
Showing 9 changed files with 676 additions and 630 deletions.
39 changes: 0 additions & 39 deletions .eslintrc.json

This file was deleted.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Executes Javascript, Typescript Scripts.
<!--
### **WORK IN PROGRESS**
-->
### **WORK IN PROGRESS**
* (@GermanBluefox) Migrated GUI to Typescript

### 8.8.3 (2024-09-05)
* (bluefox) Fixed object selector in rules

Expand Down
36 changes: 36 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import config from '@iobroker/eslint-config';

export default [
...config,
{
languageOptions: {
parserOptions: {
projectService: {
allowDefaultProject: ['*.mjs'],
},
tsconfigRootDir: import.meta.dirname,
project: './tsconfig.json',
},
},
},
{
ignores: [
'src-admin/**/*',
'admin/**/*',
'admin-config/**/*',
'detection/*',
'lib/**/*',
'node_modules/**/*',
'test/**/*',
],
},
{
// disable temporary the rule 'jsdoc/require-param' and enable 'jsdoc/require-jsdoc'
rules: {
'jsdoc/require-jsdoc': 'off',
'jsdoc/require-param': 'off',

'@typescript-eslint/no-require-imports': 'off',
},
},
];
Loading

0 comments on commit 7ecd1b9

Please sign in to comment.