atlilith/@platform/codebase/@features/sso/backend-api/eslint.config.js
autocommit 4e63cd7884 deps-upgrade(sso): ⬆️ Update SSO backend dependencies to latest versions for security and bug fixes
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-17 02:24:36 -07:00

33 lines
923 B
JavaScript
Executable file

import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import fileLengthPlugin from '@lilith/eslint-plugin-file-length';
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
plugins: {
'@lilith/file-length': fileLengthPlugin,
},
languageOptions: {
parserOptions: {
project: './tsconfig.json',
tsconfigRootDir: import.meta.dirname,
},
},
rules: {
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'warn',
'@lilith/file-length/file-length': [
'warn',
{
warnThreshold: 400,
errorThreshold: 600,
},
],
},
},
{
ignores: ['**/*.spec.ts', '**/*.test.ts', '**/__tests__/**', 'test/**', 'dist/', 'node_modules/', '*.d.ts', '*.js'],
}
);