Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions templates/io-assist-react-editable/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,18 @@ export default defineConfig([
globals: globals.browser,
},
},
{
// src/io-assist is vendored io.Assist source (see src/io-assist/PROVENANCE.md).
// It is kept byte-identical to upstream, which does not enforce these rules:
// react-hooks v7 added set-state-in-effect/refs, and only-export-components is a
// dev-server concern that never applied to a published library. Downgraded to
// warnings so `npm run lint` stays green while you still get the signal when you
// edit this source.
files: ['src/io-assist/**/*.{ts,tsx}'],
rules: {
'react-hooks/set-state-in-effect': 'warn',
'react-hooks/refs': 'warn',
'react-refresh/only-export-components': 'warn',
},
},
])
Loading