UNPKG

@shayanthenerd/eslint-config

Version:

A modern, flexible ESLint configuration for enforcing best practices and maintaining a consistent coding style

16 lines (14 loc) 595 B
import { ConfigObject, Options } from "./types/index.js"; import { Linter } from "eslint"; //#region src/index.d.ts /** * Define the ESLint configuration based on the provided options and any number of Flat Config objects. * * @param {Options} options - Options to configure and customize the config * @param {...ConfigObject} configs - Additional Flat Config objects to extend the config * * @returns {Linter.Config[]} The merged ESLint configuration array */ declare function defineConfig(options?: Options, ...configs: ConfigObject[]): Linter.Config[]; //#endregion export { defineConfig };