Files
freeCodeCamp/eslint.config.mjs
2025-12-02 13:17:23 +01:00

16 lines
491 B
JavaScript

import { configTypeChecked } from '@freecodecamp/eslint-config/base';
import { defineConfig, globalIgnores } from 'eslint/config';
export default defineConfig(
// include all in root dir, but not subdirs:
globalIgnores(['**/*', '!*.js', '!*.ts', '!*.mjs']),
{
extends: [configTypeChecked],
rules: {
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off'
}
}
);