mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
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)
33 lines
772 B
JavaScript
33 lines
772 B
JavaScript
/*eslint-env node */
|
|
|
|
module.exports = {
|
|
overrides: [
|
|
{
|
|
files: './src/**',
|
|
extends: ['plugin:react/recommended', 'plugin:react-hooks/recommended'],
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
project: true,
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: '17.0',
|
|
},
|
|
},
|
|
},
|
|
{
|
|
files: ['./src/**/*.ts'],
|
|
rules: {
|
|
'@hanzo/insights/no-direct-null-check': 'off',
|
|
},
|
|
},
|
|
{
|
|
files: ['./src/**/*.test.*'],
|
|
rules: {
|
|
'react/prop-types': 'off',
|
|
},
|
|
},
|
|
],
|
|
}
|