added ESLint

This commit is contained in:
2026-08-09 16:24:34 +02:00
parent 1396d85a0f
commit c0b4136d6c
4 changed files with 1195 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
// Licensed under the MIT License. See LICENSE file in project root for details.
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
ignores: ['build/**', 'dist/**', 'node_modules/**'],
},
{
rules: {
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'warn',
},
}
);