Skip to content

Commit 88b9f07

Browse files
committed
style(web-client): run prettier
1 parent 5807520 commit 88b9f07

14 files changed

Lines changed: 42 additions & 558 deletions

File tree

ARCHITECTURE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,13 @@ This crate is an **API Boundary** (WASM module).
170170

171171
#### [`web-client/iron-remote-desktop`](./web-client/iron-remote-desktop)
172172

173-
TypeScript interfaces exposed by WebAssembly bindings from `ironrdp-web` and used by `iron-remote-desktop-rdp`.
173+
Core frontend UI used by `iron-svelte-client` as a Web Component.
174174

175175
This crate is an **API Boundary**.
176176

177177
#### [`web-client/iron-remote-desktop-rdp`](./web-client/iron-remote-desktop-rdp)
178178

179-
Core frontend UI used by `iron-svelte-client` as a Web Component.
179+
Implementation of the TypeScript interfaces exposed by WebAssembly bindings from `ironrdp-web` and used by `iron-svelte-client`.
180180

181181
This crate is an **API Boundary**.
182182

web-client/.prettierrc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ singleQuote: true
1010
semi: true
1111
trailingComma: all
1212
printWidth: 120
13+
endOfLine: crlf
1314

1415
plugins:
1516
- prettier-plugin-svelte

web-client/iron-remote-desktop-rdp/.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ node_modules/
44
.env.*
55
!.env.example
66

7-
/.svelte-kit
87
/package
98
/build
109
/static/bearcss
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Prettier:
2+
# - https://prettier.io/docs/en/options
3+
---
4+
useTabs: false
5+
tabWidth: 4
6+
singleQuote: true
7+
semi: true
8+
trailingComma: all
9+
printWidth: 120
10+
endOfLine: crlf
11+
12+
overrides:
13+
- files:
14+
- '*.yml'
15+
- '*.yaml'
16+
- '*.json'
17+
- '*.html'
18+
- '*.md'
19+
options:
20+
tabWidth: 2

web-client/iron-remote-desktop-rdp/eslint.config.mjs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import typescriptEslint from '@typescript-eslint/eslint-plugin';
22
import globals from 'globals';
33
import tsParser from '@typescript-eslint/parser';
4-
import svelteParser from 'svelte-eslint-parser';
54
import path from 'node:path';
65
import { fileURLToPath } from 'node:url';
76
import js from '@eslint/js';
@@ -22,7 +21,6 @@ export default [
2221
'**/.DS_Store',
2322
'**/node_modules',
2423
'build',
25-
'.svelte-kit',
2624
'package',
2725
'**/.env',
2826
'**/.env.*',
@@ -50,7 +48,6 @@ export default [
5048

5149
parserOptions: {
5250
project: './tsconfig.json',
53-
extraFileExtensions: ['.svelte'],
5451
},
5552
},
5653

@@ -80,17 +77,4 @@ export default [
8077
],
8178
},
8279
},
83-
{
84-
files: ['**/*.svelte'],
85-
86-
languageOptions: {
87-
parser: svelteParser,
88-
ecmaVersion: 5,
89-
sourceType: 'script',
90-
91-
parserOptions: {
92-
parser: tsParser,
93-
},
94-
},
95-
},
9680
];

0 commit comments

Comments
 (0)