UNPKG

@nivalis/eslint-config

Version:

ESLint shareable flat config used at Nivalis Studio

55 lines (54 loc) 1.37 kB
//#region src/globs.ts const GLOB_MARKDOWN = "**/*.md"; const GLOB_ASTRO = "**/*.astro"; const GLOB_ASTRO_TS = "**/*.astro/*.ts"; const GLOB_SRC_EXT = "?([cm])[jt]s?(x)"; const GLOB_SRC = "**/*.?([cm])[jt]s?(x)"; const GLOB_SRC_TS = "**/*.?([cm])ts?(x)"; const GLOB_SRC_JS = "**/*.?([cm])js?(x)"; const GLOB_JS = "**/*.?([cm])js"; const GLOB_TS = "**/*.?([cm])ts"; const GLOB_REACT = "**/*.?([cm])?(j|t)sx"; const GLOB_JSX = "**/*.?([cm])jsx"; const GLOB_TSX = "**/*.?([cm])tsx"; const GLOB_YAML = "**/*.y?(a)ml"; const GLOB_TOML = "**/*.toml"; const GLOB_EXCLUDE = [ "**/node_modules", "**/dist", "**/package-lock.json", "**/yarn.lock", "**/pnpm-lock.yaml", "**/bun.lockb", "**/output", "**/coverage", "**/temp", "**/.temp", "**/tmp", "**/.tmp", "**/build", "**/.history", "**/.vitepress/cache", "**/.cache", "**/.git", "**/.npm", "**/.nuxt", "**/.next", "**/.vercel", "**/.changeset", "**/.idea", "**/.cache", "**/.output", "**/.vite-inspect", "**/.yarn", "**/next-env.d.ts", "**/vite.config.*.timestamp-*", "**/CHANGELOG*.md", "**/*.min.*", "**/LICENSE*", "**/__snapshots__", "**/auto-import?(s).d.ts", "**/components.d.ts" ]; //#endregion export { GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_EXCLUDE, GLOB_JS, GLOB_JSX, GLOB_MARKDOWN, GLOB_REACT, GLOB_SRC, GLOB_SRC_EXT, GLOB_SRC_JS, GLOB_SRC_TS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_YAML };