mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-15 13:00:58 -04:00
19 lines
382 B
JavaScript
19 lines
382 B
JavaScript
import { configTypeChecked } from '@freecodecamp/eslint-config/base';
|
|
import globals from 'globals';
|
|
|
|
import { defineConfig } from 'eslint/config';
|
|
|
|
const baseLanguageOptions = {
|
|
globals: {
|
|
...globals.browser,
|
|
...globals.node // TODO: necessary?
|
|
}
|
|
};
|
|
|
|
export default defineConfig({
|
|
extends: [configTypeChecked],
|
|
languageOptions: {
|
|
...baseLanguageOptions
|
|
}
|
|
});
|