mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-09-30 12:39:42 +02:00
30 lines
704 B
JavaScript
30 lines
704 B
JavaScript
// @ts-check
|
|
import eslint from '@eslint/js';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
export default tseslint.config(
|
|
eslint.configs.recommended,
|
|
tseslint.configs.recommended,
|
|
{
|
|
rules: {
|
|
'no-console': 'off',
|
|
'no-debugger': 'error',
|
|
// Relax some rules that conflict with existing patterns
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
'@typescript-eslint/no-unused-vars': 'off', // TypeScript compiler already handles this
|
|
},
|
|
},
|
|
{
|
|
ignores: [
|
|
'dist/**',
|
|
'node_modules/**',
|
|
'coverage/**',
|
|
'src/web/public/vendor/**',
|
|
'src/web/public/app.js',
|
|
'scripts/**/*.mjs',
|
|
'tools/**',
|
|
'remotion/**',
|
|
],
|
|
}
|
|
);
|