Skip to content

Commit 2f56a62

Browse files
committed
chore: Applies lint fixes, updates config, neatens code
1 parent 6327504 commit 2f56a62

19 files changed

Lines changed: 1149 additions & 1645 deletions

File tree

web/.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.{yml,yaml}]
12+
indent_style = space
13+
indent_size = 2
14+
15+
[*.md]
16+
trim_trailing_whitespace = false

web/eslint.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ export default [
2525
parserOptions: {
2626
parser: ts.parser
2727
}
28+
},
29+
rules: { // NOTE: Added these rules, becos everything static. I'll remove em if i make dynamic in the future
30+
'svelte/no-navigation-without-resolve': 'off', // not got any dynamic routes, so hardcoded strings are fine
31+
'svelte/require-each-key': 'off', // i'm only using static data here, no point keying them in each for loop
2832
}
2933
},
3034
{

0 commit comments

Comments
 (0)