Files
lifeforge/eslint/local-plugin.ts
melvinchia3636 18602b20aa refactor: migrate eslint config to TS with modular rules and add local/padding-react-hooks rule
Replace eslint.config.js with eslint.config.ts and split rules into modular
eslint/ files (react, sonar, style, tests, stories, imports). Add custom
local/padding-react-hooks rule that enforces padding around React hook calls
(no blank lines between hooks, required before/after const/expression). Add
@types/eslint-plugin-jsx-a11y and @typescript-eslint/utils as dev deps.
2026-06-25 08:53:35 +08:00

10 lines
157 B
TypeScript

import paddingReactHooks from './padding-react-hooks'
const plugin = {
rules: {
'padding-react-hooks': paddingReactHooks
}
}
export default plugin