@feathers-community/eslint-config
Version:
Default eslint-config for feathers-community projects. It's esm and flat config only.
21 lines (17 loc) • 580 B
TypeScript
import { ConfigArray } from 'typescript-eslint';
export { ConfigArray } from 'typescript-eslint';
type FeathersEslintConfigOptions = {
tsconfig?: {
/**
* @default './tsconfig.json'
*/
path?: string;
/**
* @default process.cwd()
*/
rootDir?: string;
};
};
declare const defaultConfig: (options?: FeathersEslintConfigOptions) => ConfigArray;
declare const _default: (options?: FeathersEslintConfigOptions) => ConfigArray;
export { type FeathersEslintConfigOptions, _default as default, defaultConfig };