-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.d.ts
More file actions
28 lines (25 loc) · 898 Bytes
/
index.d.ts
File metadata and controls
28 lines (25 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import type { Linter } from 'eslint';
import type tseslint from 'typescript-eslint';
type Configs =
| 'base'
| 'experimentalNamingConvention'
| 'local'
| 'nextjs'
| 'playwright'
| 'prettierDisable'
| 'react'
| 'strict';
declare const boehringerConfig: {
config: typeof tseslint.config;
configs: Record<Configs, Linter.Config[]>;
/**
* Reads an ignore file (e.g. `.gitignore`) and returns an object with the ignore patterns.
*
* @param {string} [ignoreFilePath='.gitignore'] - The path to the ignore file. Defaults to `.gitignore`.
* @throws {TypeError} If the provided path is not a string.
* @throws {Error} If the provided path is an empty string.
* @returns {Linter.Config} The result of including the ignore file at the resolved absolute path.
*/
includeIgnoreFile: (ignoreFilePath?: string) => Linter.Config;
};
export default boehringerConfig;