Website Structure

This commit is contained in:
supalerk-ar66 2026-01-13 10:46:40 +07:00
parent 62812f2090
commit 71f0676a62
22365 changed files with 4265753 additions and 791 deletions

View file

@ -0,0 +1,44 @@
import { Linter } from 'eslint';
interface Options {
blocks?: {
/**
* Create virtual files for each `<style>` block
* @default false
*/
styles?: boolean;
/**
* Enable custom blocks
* Pass an string array to specify custom block types, or `true` to enable all custom blocks
* @default false
*/
customBlocks?: boolean | string[];
/**
* Create virtual files for each `<template>` block
* Generally not recommended, as `eslint-plugin-vue` handles it
* @default false
*/
template?: boolean;
/**
* Create virtual files for each `<script>` block
* Generally not recommended, as `eslint-plugin-vue` handles it
* @default false
*/
script?: boolean;
/**
* Create virtual files for each `<script setup>` block
* Generally not recommended, as `eslint-plugin-vue` handles it
* @default false
*/
scriptSetup?: boolean;
};
/**
* Default language for each block type
*
* @example { style: 'postcss', i18n: 'json' }
*/
defaultLanguage?: Record<string, string>;
}
declare function processor(options?: Options): Linter.Processor;
export { type Options, processor as default };