v0.3.2
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user