obsidian-dev-utils
Version:
This is the collection of useful functions that you can use for your Obsidian plugin development
15 lines (14 loc) • 499 B
text/typescript
/**
* @packageDocumentation
*
* Linting utility for ESLint configuration with support for automatic fixing.
*
* This module provides a function to lint files based on the ESLint configuration defined in `eslint.config.ts`.
* It can automatically fix linting issues if specified, and logs results to the console.
*/
/**
* Lint the project with ESLint.
*
* @param shouldFix - Whether to fix linting issues automatically.
*/
export declare function lint(shouldFix?: boolean): Promise<void>;