UNPKG

@dovenv/eslint-config

Version:
83 lines (66 loc) 2.37 kB
import { C as Config } from './shared/eslint-config.C1JnDdfC.js'; export { default as globals } from 'globals'; import 'eslint'; /** * YAML Eslint config * @see https://github.com/aminya/eslint-plugin-yaml#readme */ declare const config$9: Config[]; declare const setTsConfig: (tsconfigRootDir?: string) => Config; declare const jsConfig: Config[]; declare const tsConfig: Config[]; declare const config$8: Config[]; /** * HTML Eslint config * @see https://www.npmjs.com/package/eslint-plugin-html */ declare const config$7: Config[]; /** * Include the contents of a .gitignore file in ESLint's ignore configuration. * @param {string} [gitIgnorePath] - The path to the .gitignore file. If not provided, * the .gitignore file in the current working directory will be used. * @returns {Config} An object that ESLint can use to ignore files. */ declare const includeGitIgnore: (gitIgnorePath?: string) => Config; /** * Set paths to ignore in ESLint. * @param {string[]} paths - An array of paths to ignore. * @returns {object} - An object with a single property, * `ignores`, that is an array of paths to ignore. * @example * * const config = setIgnoreConfig( [ * './static/*', * './public/*', * ]) */ declare const setIgnoreConfig: (paths: string[]) => Config; /** * JSON * @see https://github.com/JoshuaKGoldberg/eslint-plugin-package-json#readme * @see https://ota-meshi.github.io/eslint-plugin-jsonc/user-guide/ */ declare const config$6: Config[]; /** * MARKDOWN eslint config * @see https://gitlab.com/pawelbbdrozd/eslint-plugin-markdownlint */ declare const config$5: Config[]; /** * SCHEMA * @see https://ota-meshi.github.io/eslint-plugin-json-schema-validator */ declare const config$4: Config[]; /** * YAML * @see https://www.npmjs.com/package/eslint-plugin-toml * @see https://ota-meshi.github.io/eslint-plugin-toml/user-guide/ */ declare const config$3: Config[]; /** * VUE */ declare const config$2: Config[]; declare const config$1: Config[]; declare const config: Config[]; export { config, config$9 as cssConfig, config as default, config$8 as generalConfig, config$7 as htmlConfig, includeGitIgnore, jsConfig, config$6 as jsonConfig, config$5 as mdConfig, config$4 as schemaConfig, setIgnoreConfig, setTsConfig, config$3 as tomlConfig, tsConfig, config$2 as vueConfig, config$1 as yamlConfig };