common-cents-api/eslint.config.mjs
Joe c6434de89d Add TypeORM DB and Resources (#2)
Co-authored-by: Joe Arndt <jmarndt@users.noreply.github.com>
Reviewed-on: #2
2026-02-09 00:10:26 +00:00

32 lines
716 B
JavaScript

// @ts-check
import eslint from '@eslint/js';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
ignores: ['eslint.config.mjs'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
sourceType: 'commonjs',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
}
}
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'warn',
'@typescript-eslint/no-unsafe-argument': 'warn'
}
}
);