eslint-config-regiojet-typescript-react
Version:
Eslint Typescript rules for JS and TS React projects
18 lines (14 loc) • 405 B
JavaScript
const config = [
{
name: 'typescript-react/off',
rules: {
// TypeScript automatically guards through the type system
'react/jsx-no-undef': 'off',
// False positive with TS type alias
'react/no-unused-prop-types': 'off',
// TypeScript solved with question mark after property name
'react/require-default-props': 'off',
},
},
];
export default config;