Files
NapCatQQ/.pnpm-store/v3/files/27/676d15bea71438b5a4aa2e9822e4b91cbb20cf3c32d409e9af6402fd1566bcc7ae356dc37ada1784d25c6f604583129d709bf9e17f8de2798e973854ef51e7
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

146 lines
4.5 KiB
Plaintext

export let name: string;
export let plugins: {
'@stylistic': import("eslint").ESLint.Plugin;
};
export let rules: {
'@stylistic/array-bracket-spacing': ["error", string];
'@stylistic/arrow-spacing': ["error", {
before: boolean;
after: boolean;
}];
'@stylistic/block-spacing': ["error", string];
'@stylistic/brace-style': ["error", string, {
allowSingleLine: boolean;
}];
'@stylistic/comma-dangle': ["error", {
arrays: string;
objects: string;
imports: string;
exports: string;
functions: string;
}];
'@stylistic/comma-spacing': ["error", {
before: boolean;
after: boolean;
}];
'@stylistic/comma-style': ["error", string];
'@stylistic/computed-property-spacing': ["error", string, {
enforceForClassMembers: boolean;
}];
'@stylistic/dot-location': ["error", string];
'@stylistic/eol-last': "error";
'@stylistic/func-call-spacing': ["error", string];
'@stylistic/generator-star-spacing': ["error", {
before: boolean;
after: boolean;
}];
'@stylistic/indent': ["error", number, {
SwitchCase: number;
VariableDeclarator: number;
outerIIFEBody: number;
MemberExpression: number;
FunctionDeclaration: {
parameters: number;
body: number;
};
FunctionExpression: {
parameters: number;
body: number;
};
CallExpression: {
arguments: number;
};
ArrayExpression: number;
ObjectExpression: number;
ImportDeclaration: number;
flatTernaryExpressions: boolean;
ignoreComments: boolean;
ignoredNodes: string[];
offsetTernaryExpressions: boolean;
}];
'@stylistic/key-spacing': ["error", {
beforeColon: boolean;
afterColon: boolean;
}];
'@stylistic/keyword-spacing': ["error", {
before: boolean;
after: boolean;
}];
'@stylistic/lines-between-class-members': ["error", string, {
exceptAfterSingleLine: boolean;
}];
'@stylistic/multiline-ternary': ["error", string];
'@stylistic/new-parens': "error";
'@stylistic/no-extra-parens': ["error", string];
'@stylistic/no-floating-decimal': "error";
'@stylistic/no-mixed-operators': ["error", {
groups: string[][];
allowSamePrecedence: boolean;
}];
'@stylistic/no-mixed-spaces-and-tabs': "error";
'@stylistic/no-multi-spaces': "error";
'@stylistic/no-multiple-empty-lines': ["error", {
max: number;
maxBOF: number;
maxEOF: number;
}];
'@stylistic/no-tabs': "error";
'@stylistic/no-trailing-spaces': "error";
'@stylistic/no-whitespace-before-property': "error";
'@stylistic/object-curly-newline': ["error", {
multiline: boolean;
consistent: boolean;
}];
'@stylistic/object-curly-spacing': ["error", string];
'@stylistic/object-property-newline': ["error", {
allowMultiplePropertiesPerLine: boolean;
}];
'@stylistic/operator-linebreak': ["error", string, {
overrides: {
'?': string;
':': string;
'|>': string;
};
}];
'@stylistic/padded-blocks': ["error", {
blocks: string;
switches: string;
classes: string;
}];
'@stylistic/quote-props': ["error", string];
'@stylistic/quotes': ["error", string, {
avoidEscape: boolean;
allowTemplateLiterals: boolean;
}];
'@stylistic/rest-spread-spacing': ["error", string];
'@stylistic/semi': ["error", string];
'@stylistic/semi-spacing': ["error", {
before: boolean;
after: boolean;
}];
'@stylistic/space-before-blocks': ["error", string];
'@stylistic/space-before-function-paren': ["error", string];
'@stylistic/space-in-parens': ["error", string];
'@stylistic/space-infix-ops': "error";
'@stylistic/space-unary-ops': ["error", {
words: boolean;
nonwords: boolean;
}];
'@stylistic/spaced-comment': ["error", string, {
line: {
markers: string[];
};
block: {
balanced: boolean;
markers: string[];
exceptions: string[];
};
}];
'@stylistic/template-curly-spacing': ["error", string];
'@stylistic/template-tag-spacing': ["error", string];
'@stylistic/wrap-iife': ["error", string, {
functionPrototypeMethods: boolean;
}];
'@stylistic/yield-star-spacing': ["error", string];
};
//# sourceMappingURL=style.d.ts.map