feat: eslint configuration

This commit is contained in:
2025-03-28 14:53:48 +03:00
parent ddcf6ce68c
commit 0da572e72a
4 changed files with 392 additions and 2 deletions

20
eslint.config.mjs Normal file
View File

@@ -0,0 +1,20 @@
// @ts-check
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
export default tseslint.config({
extends: [eslint.configs.recommended, tseslint.configs.recommended],
ignores: ["*.d.ts"],
languageOptions: {
ecmaVersion: "latest",
sourceType: "module",
parserOptions: { ecmaFeatures: { jsx: true } },
},
settings: {
env: {
browser: true,
es6: true,
},
},
});