Backend: - New Likes feature (toggle/get liked tracks) and endpoints - User follow/unfollow, listening stats, public user profile - Playlist visibility (public/private) support - Various auth and DTO/response adjustments to support the above Frontend (web-player): - New design system pass: theme tokens/mode (light/dark), glass menu, tabs bar, player dock/extras/queue components, mix tiles, artist link - New routes: Liked, public user profile (/u/[id]), likes API proxy - Search refactor: shared SearchBox component used by TopBar and MobileHeader (search now reachable on mobile), live results as you type instead of requiring Enter, dropped the "Buscando…" quick-result preview - Removed now-unused components (MobileNav, CoverBadge, MixBentoTile, PlayPauseOverlay, SuggestionsTable, userDirectory) - Design handoff reference docs added under web-player/design_handoff_musify_player and web-player/docs/design-system-refactor-plan.md
48 lines
1017 B
JavaScript
48 lines
1017 B
JavaScript
import js from '@eslint/js';
|
|
import svelte from 'eslint-plugin-svelte';
|
|
import prettier from 'eslint-config-prettier';
|
|
import globals from 'globals';
|
|
import ts from 'typescript-eslint';
|
|
|
|
export default ts.config(
|
|
js.configs.recommended,
|
|
...ts.configs.recommended,
|
|
...svelte.configs.recommended,
|
|
prettier,
|
|
...svelte.configs.prettier,
|
|
{
|
|
languageOptions: {
|
|
globals: { ...globals.browser, ...globals.node }
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'error',
|
|
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' }
|
|
],
|
|
'svelte/no-navigation-without-resolve': 'off',
|
|
'svelte/prefer-svelte-reactivity': 'off'
|
|
}
|
|
},
|
|
{
|
|
files: ['**/*.svelte', '**/*.svelte.ts'],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
extraFileExtensions: ['.svelte'],
|
|
parser: ts.parser
|
|
}
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-unused-expressions': 'off'
|
|
}
|
|
},
|
|
{
|
|
ignores: [
|
|
'build/',
|
|
'.svelte-kit/',
|
|
'static/',
|
|
'src/lib/api/schema.d.ts',
|
|
'design_handoff_musify_player/'
|
|
]
|
|
}
|
|
);
|