Skip to content

Commit

Permalink
Update deps and eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
matt8707 committed Oct 11, 2024
1 parent 7b0ff27 commit 6d7dc9f
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 268 deletions.
25 changes: 12 additions & 13 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import js from '@eslint/js';
import ts from 'typescript-eslint';
import svelte from 'eslint-plugin-svelte';
import eslint from '@eslint/js';
import prettier from 'eslint-config-prettier';
import svelte from 'eslint-plugin-svelte';
import globals from 'globals';
import tseslint from 'typescript-eslint';

/** @type {import('eslint').Linter.Config[]} */
export default [
js.configs.recommended,
...ts.configs.recommended,
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
...svelte.configs['flat/prettier'],
Expand All @@ -24,22 +23,22 @@ export default [
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: ts.parser
parser: tseslint.parser
}
}
},
{
ignores: ['build/', '.svelte-kit/', 'dist/']
},
/*
* Temporarily disable certain rules to mitigate
* unnecessary distractions during development.
*/
{
/*
* Temporarily disable certain rules to mitigate
* unnecessary distractions during development.
*/
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'svelte/no-at-html-tags': 'off'
}
}
];
);
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ha-fusion",
"version": "2024.7.1",
"version": "2024.10.0",
"private": true,
"scripts": {
"dev": "vite dev",
Expand All @@ -23,7 +23,7 @@
"@types/d3-scale": "^4.0.8",
"@types/d3-shape": "^3.1.6",
"@types/eslint": "^9.6.1",
"@types/express": "^4.17.21",
"@types/express": "^5.0.0",
"@types/js-yaml": "^4.0.9",
"@types/promise-fs": "^2.1.5",
"eslint": "^9.12.0",
Expand All @@ -33,10 +33,9 @@
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.7",
"svelte": "^4.2.19",
"svelte-check": "^3.8.6",
"svelte-check": "^4.0.4",
"svelte-confetti": "1.4.0",
"svelte-fast-dimension": "^1.1.0",
"tslib": "^2.7.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.8.1",
"vite": "^5.4.8"
Expand Down
Loading

0 comments on commit 6d7dc9f

Please sign in to comment.