eslint-config-neon
Version:
The ultimate ESLint shareable config
35 lines (34 loc) • 1.13 kB
text/typescript
//#region src/oxlint/jsx.d.ts
declare const config: {
plugins: ("react" | "unicorn")[];
rules: {
'react/jsx-boolean-value': [number, "never"];
'react/jsx-filename-extension': number;
'react/jsx-fragments': [number, "syntax"];
'react/jsx-handler-names': [number, {
checkInlineFunction: false;
checkLocalVariables: false;
eventHandlerPrefix: string;
eventHandlerPropPrefix: string;
}];
'react/jsx-key': [number, {
checkFragmentShorthand: true;
checkKeyMustBeforeSpread: true;
}];
'react/jsx-max-depth': number;
'react/jsx-no-comment-textnodes': number;
'react/jsx-no-constructed-context-values': number;
'react/jsx-no-duplicate-props': number;
'react/jsx-no-script-url': number;
'react/jsx-no-target-blank': number;
'react/jsx-no-undef': number;
'react/jsx-no-useless-fragment': [number, {
allowExpressions: true;
}];
'react/jsx-props-no-spreading': number;
'react/only-export-components': number;
'unicorn/consistent-function-scoping': number;
};
};
export = config;
//# sourceMappingURL=jsx.d.cts.map