eslint-config-bananass
Version:
ESLint Config for Bananass Framework.🍌
89 lines (88 loc) • 2.72 kB
TypeScript
declare const _default: {
meta: {
type: "suggestion";
docs: {
description: string;
recommended: boolean;
url: string;
};
fixable: "whitespace";
schema: ({
enum: string[];
type?: never;
properties?: never;
additionalProperties?: never;
} | {
type: "object";
properties: {
exceptions: {
type: "array";
items: {
type: "string";
};
};
markers: {
type: "array";
items: {
type: "string";
};
};
line: {
type: "object";
properties: {
exceptions: {
type: "array";
items: {
type: "string";
};
};
markers: {
type: "array";
items: {
type: "string";
};
};
};
additionalProperties: false;
};
block: {
type: "object";
properties: {
exceptions: {
type: "array";
items: {
type: "string";
};
};
markers: {
type: "array";
items: {
type: "string";
};
};
balanced: {
type: "boolean";
default: false;
};
};
additionalProperties: false;
};
};
additionalProperties: false;
enum?: never;
})[];
messages: {
unexpectedSpaceAfterMarker: string;
expectedExceptionAfter: string;
unexpectedSpaceBefore: string;
unexpectedSpaceAfter: string;
expectedSpaceBefore: string;
expectedSpaceAfter: string;
};
};
create(context: Rule.RuleContext): {
Program(): void;
};
};
export default _default;
import type { Rule } from 'eslint';