Move the existing Hono API, React console, tests, build configuration, and feature documentation from GoodBuddy into a standalone project. Keep the current interactive-prototype behavior and production limitations. Document the source commit and sibling-checkout links to the authoritative Desktop network architecture. Independent install, tests, typecheck, lint, build, and built-service HTTP smoke checks passed.
34 lines
685 B
JavaScript
34 lines
685 B
JavaScript
import js from '@eslint/js'
|
|
import reactHooks from 'eslint-plugin-react-hooks'
|
|
import globals from 'globals'
|
|
import tseslint from 'typescript-eslint'
|
|
|
|
export default tseslint.config(
|
|
{
|
|
ignores: ['build-server/**', 'dist/**', 'node_modules/**']
|
|
},
|
|
js.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
files: ['src/**/*.{ts,tsx}'],
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.browser,
|
|
...globals.vitest
|
|
}
|
|
},
|
|
plugins: {
|
|
'react-hooks': reactHooks
|
|
},
|
|
rules: {
|
|
...reactHooks.configs.recommended.rules
|
|
}
|
|
},
|
|
{
|
|
files: ['server/**/*.ts'],
|
|
languageOptions: {
|
|
globals: globals.node
|
|
}
|
|
}
|
|
)
|