@vis.gl/dev-tools
Version:
Dev tools for vis.gl frameworks
120 lines • 4.66 kB
TypeScript
export declare function getESLintConfig(options?: {
react?: string | false;
overrides?: any;
debug?: boolean;
}): {
extends: string[];
plugins: string[];
parserOptions: {
ecmaVersion: number;
};
env: {
es2020: boolean;
};
globals: {
globalThis: string;
__VERSION__: string;
};
rules: {
'guard-for-in': string;
'func-names': string;
'no-inline-comments': string;
'no-multi-str': string;
'no-use-before-define': string;
camelcase: string;
indent: string;
'accessor-pairs': (string | {
getWithoutSet: boolean;
setWithoutGet: boolean;
})[];
'import/no-extraneous-dependencies': (string | {
devDependencies: boolean;
peerDependencies: boolean;
})[];
};
settings: {
'import/resolver': {
node: {
extensions: string[];
};
};
};
ignorePatterns: string[];
overrides: ({
files: string[];
parser: string;
parserOptions: {
sourceType: string;
project: string;
};
extends: string[];
plugins: string[];
rules: {
'@typescript-eslint/no-dupe-class-members': string;
'@typescript-eslint/switch-exhaustiveness-check': string;
'no-shadow': string;
'@typescript-eslint/no-shadow': string;
'@typescript-eslint/no-use-before-define': string;
'@typescript-eslint/no-inferrable-types': string;
'@typescript-eslint/no-empty-function': string;
'@typescript-eslint/ban-ts-comment': (string | {
'ts-expect-error': string;
'ts-ignore': string;
'ts-nocheck': string;
'ts-check': boolean;
minimumDescriptionLength: number;
})[];
'@typescript-eslint/no-floating-promises': string;
'@typescript-eslint/restrict-template-expressions': string;
'@typescript-eslint/no-empty-interface': string;
'@typescript-eslint/require-await': string;
'@typescript-eslint/no-explicit-any': string;
'@typescript-eslint/no-unsafe-argument': string;
'@typescript-eslint/no-unsafe-assignment': string;
'@typescript-eslint/no-unsafe-call': string;
'@typescript-eslint/no-unsafe-enum-comparison': string;
'@typescript-eslint/no-unsafe-member-access': string;
'@typescript-eslint/no-unsafe-return': string;
'@typescript-eslint/explicit-module-boundary-types': string;
'no-undef'?: undefined;
'no-unused-vars'?: undefined;
'no-unused-expressions'?: undefined;
'no-console'?: undefined;
'padded-blocks'?: undefined;
};
} | {
files: string[];
plugins: string[];
rules: {
'no-undef': string;
'no-unused-vars': string;
'no-unused-expressions': string;
'no-console': string;
'padded-blocks': string;
'@typescript-eslint/no-dupe-class-members'?: undefined;
'@typescript-eslint/switch-exhaustiveness-check'?: undefined;
'no-shadow'?: undefined;
'@typescript-eslint/no-shadow'?: undefined;
'@typescript-eslint/no-use-before-define'?: undefined;
'@typescript-eslint/no-inferrable-types'?: undefined;
'@typescript-eslint/no-empty-function'?: undefined;
'@typescript-eslint/ban-ts-comment'?: undefined;
'@typescript-eslint/no-floating-promises'?: undefined;
'@typescript-eslint/restrict-template-expressions'?: undefined;
'@typescript-eslint/no-empty-interface'?: undefined;
'@typescript-eslint/require-await'?: undefined;
'@typescript-eslint/no-explicit-any'?: undefined;
'@typescript-eslint/no-unsafe-argument'?: undefined;
'@typescript-eslint/no-unsafe-assignment'?: undefined;
'@typescript-eslint/no-unsafe-call'?: undefined;
'@typescript-eslint/no-unsafe-enum-comparison'?: undefined;
'@typescript-eslint/no-unsafe-member-access'?: undefined;
'@typescript-eslint/no-unsafe-return'?: undefined;
'@typescript-eslint/explicit-module-boundary-types'?: undefined;
};
parser?: undefined;
parserOptions?: undefined;
extends?: undefined;
})[];
};
//# sourceMappingURL=get-eslint-config.d.ts.map