mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 10:07:46 -05:00
16 lines
491 B
JavaScript
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'
|
|
}
|
|
}
|
|
);
|