Go to repository

Interface TaskEslintOptions

This type represents the options that you can pass to the eslint task.

interface TaskEslintOptions {
    extensions?: string;
    files?: string;
    fix?: boolean;
}

Properties

Optional
extensions?: string

The file extensions to consider when running eslint. Defaults to js,jsx,ts,tsx

Optional
files?: string

The files on which to run eslint, may be a glob pattern.

Optional
fix?: boolean

Whether to fix the issues found if possible. Defaults to false.