Rewrote the configuration and logic of the defineConfig function to better resemble a standard ESLint configuration. Also removing the necessity of a function to detect tsconfig/jsconfig files. Fixing ESLint flat-config by default #3.
7 lines
148 B
JavaScript
7 lines
148 B
JavaScript
import { configs, defineConfig, presets } from '@eslit/config';
|
|
|
|
export default defineConfig([
|
|
...presets.default,
|
|
configs.environments.node,
|
|
]);
|