installed eslint

This commit is contained in:
2026-03-03 22:04:11 +01:00
parent 452810e6bf
commit efea7ad407
7 changed files with 3880 additions and 2785 deletions

14
node/eslint.config.js Normal file
View File

@@ -0,0 +1,14 @@
import js from '@eslint/js'
import globals from 'globals'
import tseslint from 'typescript-eslint'
import { defineConfig } from 'eslint/config'
export default defineConfig([
{
files: ['**/*.ts'],
plugins: { js },
extends: ['js/recommended'],
languageOptions: { globals: { ...globals.browser, ...globals.node } },
},
tseslint.configs.recommended,
])