mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
refactor: one eslint task per workspace (#63835)
This commit is contained in:
committed by
GitHub
parent
c9e83c5c6a
commit
1e0805fd72
@@ -1,3 +1,13 @@
|
||||
import { baseConfig } from '@freecodecamp/eslint-config/base';
|
||||
import { configTypeChecked } from '@freecodecamp/eslint-config/base';
|
||||
import { defineConfig } from 'eslint/config';
|
||||
|
||||
export default baseConfig;
|
||||
export default defineConfig({
|
||||
// include all in root dir, but not subdirs:
|
||||
files: ['*.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'
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user