chore: added eslint and prettier linting

This commit is contained in:
2026-04-26 23:21:43 +03:30
parent 8134911e17
commit 1c92f28a5f
4 changed files with 906 additions and 1 deletions

27
eslint.config.js Normal file
View File

@@ -0,0 +1,27 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
export default [
{
ignores: [
'vite.config.ts',
'prettier.config.js',
'eslint.config.js',
'dist/**',
'bundle/**',
'node_modules/**',
],
},
eslint.configs.recommended,
...tseslint.configs.recommended,
{
languageOptions: {
parserOptions: {
project: './tsconfig.json',
},
},
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
},
},
];