This commit is contained in:
Alex
2023-10-03 19:00:25 -04:00
parent 01f291af94
commit 8a07010f29
15 changed files with 741 additions and 716 deletions

9
src/presets/react.ts Normal file
View File

@ -0,0 +1,9 @@
import { error, off } from '../index';
import { ReactRules } from 'eslint-define-config/src/rules/react';
export const reactRules: Partial<ReactRules> = {
'react/display-name': off,
'react/no-children-prop': error,
'react/prop-types': off,
'react/react-in-jsx-scope': off,
};