Files
insights-js/packages/convex/.eslintrc.cjs
zeekay d57cb038bd chore: rename all PostHog references to Insights/Hanzo
Bulk rename across 989 files:
- Package names: posthog-js → @hanzo/insights, posthog-node → @hanzo/insights-node, etc.
- Repository URLs: posthog/posthog-js → hanzoai/insights-js
- Brand names: PostHog → Insights
- File renames: 259 reference JSON files, source files, workflow files
- Directory rename: eslint-plugin-posthog-js → eslint-plugin-insights

Remaining: 8 refs to @posthog/rrweb-* (real npm deps, need fork+publish)
2026-03-06 01:41:12 -08:00

31 lines
1.0 KiB
JavaScript

module.exports = {
ignorePatterns: ['dist/**/*', 'node_modules/**/*', 'coverage/**/*'],
rules: {
'no-console': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
args: 'all',
argsIgnorePattern: '^_',
caughtErrors: 'all',
caughtErrorsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
varsIgnorePattern: '^_',
ignoreRestSiblings: true,
},
],
'@typescript-eslint/naming-convention': 'off',
'@hanzo/insights/no-direct-undefined-check': 'off',
'@hanzo/insights/no-direct-boolean-check': 'off',
'@hanzo/insights/no-direct-null-check': 'off',
'@hanzo/insights/no-direct-function-check': 'off',
'@hanzo/insights/no-direct-number-check': 'off',
'@hanzo/insights/no-direct-date-check': 'off',
'@hanzo/insights/no-direct-array-check': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@hanzo/insights/no-add-event-listener': 'off',
'no-constant-condition': 'off',
'compat/compat': 'off',
},
}