UNPKG

xo

Version:

JavaScript/TypeScript linter (ESLint wrapper) with great defaults

21 lines (18 loc) • 903 B
import { type TsConfigJsonResolved } from 'get-tsconfig'; export { tsExtensions, jsExtensions, frameworkExtensions, allExtensions, jsFilesGlob, tsFilesGlob, allFilesGlob, defaultIgnores, } from 'eslint-config-xo'; /** Glob for every file XO lints when no files are given. */ export declare const defaultFilesGlob: string; /** Glob for the JavaScript, TypeScript, and framework files that config items without `files` apply to. Other file types have their own ESLint language, so JavaScript-specific settings, such as the TypeScript parser and type-aware rules, must not reach them. */ export declare const codeFilesGlob: string; /** List of options that values will be concatenated during option merge. Only applies to options defined as an Array. */ export declare const moduleName = "xo"; export declare const tsconfigDefaults: TsConfigJsonResolved; export declare const cacheDirName = "xo-linter";