Skip to content

Commit

Permalink
LWS-207: Bump dependencies (#1066)
Browse files Browse the repository at this point in the history
* Bump @playwright/test and @axe-core/playwright and

* Bump @floating-ui/dom

* Bump svelte and sveltekit related dependencies

* Bump tailwindcss

* Bump prettier, prettier-plugin-svelte and prettier-plugin-tailwindcss

* Bump mdsvex

* Bump prettier-plugin-tailwindcss to latest

* Bump postcss and postcss-import

* Bump autoprefixer

* Bump cssnano

* Bump husky and lint-staged

* Bump unplugin-icons

* Bump typescript and tslib

* Bump vitest

* Bump vite

* Bump and migrate to ESLint 9

Following how things are setup when creating a new Sveltekit app using `npm create svelte@latest`
johanbissemattsson authored Jun 18, 2024
1 parent a8ae5c0 commit b0f1c89
Showing 6 changed files with 1,159 additions and 1,069 deletions.
13 changes: 0 additions & 13 deletions lxl-web/.eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions lxl-web/.husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

cd ./lxl-web && npx lint-staged
33 changes: 33 additions & 0 deletions lxl-web/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import js from '@eslint/js';
import ts from 'typescript-eslint';
import svelte from 'eslint-plugin-svelte';
import prettier from 'eslint-config-prettier';
import globals from 'globals';

/** @type {import('eslint').Linter.FlatConfig[]} */
export default [
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
...svelte.configs['flat/prettier'],
{
languageOptions: {
globals: {
...globals.browser,
...globals.node
}
}
},
{
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: ts.parser
}
}
},
{
ignores: ['build/', '.svelte-kit/', 'dist/']
}
];
Loading

0 comments on commit b0f1c89

Please sign in to comment.