Real-time dashboard for monitoring global news, markets, and geopolitical events
TypeScript
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import svelte from 'eslint-plugin-svelte';
import prettier from 'eslint-config-prettier';
import globals from 'globals';
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
...svelte.configs['flat/prettier'],
{
languageOptions: {
globals: {
...globals.browser,
...globals.node,
// GeoJSON types are globally available in TypeScript projects with @types/geojson
GeoJSON: 'readonly'
}
}
},
{
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: tseslint.parser
}
}
},
{
ignores: [
'build/',
'.svelte-kit/',
'dist/',
// Legacy files - not part of SvelteKit migration
'js/',
'workers/',
'static/js/',
'static/legacy.html',
// Test utility files
'test-node.mjs'
]
}
);