@nx/react
Version:
37 lines (36 loc) • 1.21 kB
TypeScript
import { Linter } from 'eslint';
export declare const extraEslintDependencies: {
dependencies: {};
devDependencies: {
'eslint-plugin-import': string;
'eslint-plugin-jsx-a11y': string;
'eslint-plugin-react': string;
'eslint-plugin-react-hooks': string;
};
};
/**
* @deprecated Use `addExtendsToLintConfig` from `@nx/eslint` instead.
*/
export declare const extendReactEslintJson: (json: Linter.Config) => {
ignorePatterns?: string | string[] | undefined;
root?: boolean | undefined;
$schema?: string | undefined;
env?: {
[name: string]: boolean;
} | undefined;
globals?: {
[name: string]: boolean | "off" | "readonly" | "readable" | "writable" | "writeable";
} | undefined;
noInlineConfig?: boolean | undefined;
overrides?: Linter.ConfigOverride<Linter.RulesRecord>[];
parser?: string | undefined;
parserOptions?: Linter.ParserOptions | undefined;
plugins?: string[] | undefined;
processor?: string | undefined;
reportUnusedDisableDirectives?: boolean | undefined;
settings?: {
[name: string]: any;
} | undefined;
rules?: Partial<Linter.RulesRecord>;
extends: string[];
};