workspace: pnpm monorepo with api, web, shared
TypeScript 7 strict, ESLint + Prettier, vitest, AGPL-3.0 license. Decision 0001 records the latest-majors choice and the TS 6 alias. Task: M0-T1
This commit is contained in:
1 parent
547bb68a6f
commit
aa99622a24
24 files changed
+2940
-3
No files matched your search
@@ -0,0 +1,17 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
import js from '@eslint/js';
|
||||
import tseslint from 'typescript-eslint';
|
||||
import reactHooks from 'eslint-plugin-react-hooks';
|
||||
import globals from 'globals';
|
||||
|
||||
export default tseslint.config(
|
||||
{ ignores: ['**/dist/', 'data/', '**/node_modules/'] },
|
||||
js.configs.recommended,
|
||||
tseslint.configs.recommended,
|
||||
{ languageOptions: { globals: globals.node } },
|
||||
{
|
||||
files: ['apps/web/**/*.{ts,tsx}'],
|
||||
languageOptions: { globals: globals.browser },
|
||||
...reactHooks.configs.flat.recommended,
|
||||
},
|
||||
);
|
||||
Reference in new issue
Block a user