web: add eslint

This commit is contained in:
wukko
2024-06-19 17:55:06 +06:00
parent 068af6a965
commit 21e03a407c
3 changed files with 1289 additions and 2 deletions

9
web/eslint.config.js Normal file
View File

@@ -0,0 +1,9 @@
// @ts-check
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
);