mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-10 22:47:13 +01:00
One static Astro page, vanilla TS poller and renderer, @kuhyx/web-ui 0.5.0 for tokens only. Same web/dist output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWYdwRAtMg7ki6TKxuU
30 lines
961 B
JavaScript
30 lines
961 B
JavaScript
import js from '@eslint/js'
|
|
import astro from 'eslint-plugin-astro'
|
|
import globals from 'globals'
|
|
import tseslint from 'typescript-eslint'
|
|
import { defineConfig, globalIgnores } from 'eslint/config'
|
|
|
|
// Deliberately stricter than steam-backlog-enforcer/web, which this was copied
|
|
// from: that one extends only `tseslint.configs.recommended` and so runs no
|
|
// type-aware rules at all. `strictTypeChecked` needs `projectService`, so the
|
|
// tests live inside tsconfig.json's `src` include and are lintable.
|
|
export default defineConfig([
|
|
globalIgnores(['dist', 'coverage', '.astro']),
|
|
{
|
|
files: ['**/*.ts'],
|
|
extends: [
|
|
js.configs.recommended,
|
|
tseslint.configs.strictTypeChecked,
|
|
tseslint.configs.stylisticTypeChecked,
|
|
],
|
|
languageOptions: {
|
|
globals: globals.browser,
|
|
parserOptions: {
|
|
projectService: true,
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
},
|
|
},
|
|
...astro.configs.recommended,
|
|
])
|