Skip to content

Commit

Permalink
NOT OPERATIONAL - Attempt at resolving Svelte and
Browse files Browse the repository at this point in the history
general Web UI Bugs

This fixes most of the general UI issues and updates
Svelte to version 4, however, this update does not fix
issues talking with the HELICS Web API directly,
and as such, the broker-server remains inoperable.
  • Loading branch information
eberleim committed Oct 21, 2023
1 parent 796ff37 commit 6a33a45
Show file tree
Hide file tree
Showing 24 changed files with 4,669 additions and 9,585 deletions.
28 changes: 19 additions & 9 deletions client/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
module.exports = {
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:svelte/recommended',
'prettier'
],
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['svelte3', '@typescript-eslint'],
ignorePatterns: ['*.cjs'],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
settings: {
'svelte3/typescript': () => require('typescript')
},
plugins: ['@typescript-eslint'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020
ecmaVersion: 2020,
extraFileExtensions: ['.svelte']
},
env: {
browser: true,
es2017: true,
node: true
}
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser'
}
}
]
};
13 changes: 6 additions & 7 deletions client/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"useTabs": false,
"quoteProps": "preserve",
"singleQuote": false,
"trailingComma": "all",
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"tabWidth": 2,
"bracketSameLine": false,
"bracketSpacing": true,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}
Loading

0 comments on commit 6a33a45

Please sign in to comment.