This commit is contained in:
Matěj Kubíček
2026-09-02 20:38:45 +02:00
parent 0c524ed6af
commit c7948a788a
46 changed files with 10099 additions and 152 deletions
+33
View File
@@ -0,0 +1,33 @@
import js from '@eslint/js';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{ ignores: ['dist/**', 'artifacts/**', 'node_modules/**'] },
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ['scripts/**/*.mjs'],
languageOptions: {
globals: { URL: 'readonly' }
}
},
{
files: ['src/**/*.{ts,tsx}', 'tests/**/*.ts'],
languageOptions: {
globals: {
Blob: 'readonly',
browser: 'readonly',
crypto: 'readonly',
document: 'readonly',
fetch: 'readonly',
globalThis: 'readonly',
HTMLElement: 'readonly',
HTMLImageElement: 'readonly',
MutationObserver: 'readonly',
Node: 'readonly',
URL: 'readonly',
window: 'readonly'
}
}
}
);