@u3u/eslint-config
Version:
My ESLint config
32 lines (31 loc) • 862 B
TypeScript
declare const _default: {
extends: string[];
plugins: string[];
rules: {
'react/function-component-definition': ["warn", {
namedComponents: string;
unnamedComponents: string;
}];
'react/jsx-boolean-value': "warn";
'react/jsx-key': "warn";
'react/jsx-newline': ["warn", {
allowMultilines: boolean;
prevent: boolean;
}];
'react/jsx-sort-props': "warn";
'react/no-unknown-property': "off";
'react/prefer-stateless-function': "warn";
'react/self-closing-comp': ["warn", {
component: boolean;
html: boolean;
}];
'react/style-prop-object': "warn";
};
settings: {
react: {
version: string;
};
};
};
export { _default as default };
export = _default