Phase 13: Real Lint Gate — type-aware ESLint + Prettier format gate #8
@@ -59,6 +59,9 @@ export default tseslint.config(
|
|||||||
rules: {
|
rules: {
|
||||||
// TypeScript props typing supersedes prop-types in React 19 (RESEARCH Open Question 2)
|
// TypeScript props typing supersedes prop-types in React 19 (RESEARCH Open Question 2)
|
||||||
'react/prop-types': 'off',
|
'react/prop-types': 'off',
|
||||||
|
// React 19 uses the automatic JSX transform (jsx: "react-jsx") — React does not
|
||||||
|
// need to be in scope. The flat.recommended config enables this rule; we disable it.
|
||||||
|
'react/react-in-jsx-scope': 'off',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user