feat(MQ-001): initialize pnpm workspace with strict TS lint and vitest

This commit is contained in:
2026-03-06 08:11:55 -06:00
parent 9bd1450f90
commit f2435471af
12 changed files with 1984 additions and 0 deletions

32
eslint.config.mjs Normal file
View File

@@ -0,0 +1,32 @@
import tseslintPlugin from '@typescript-eslint/eslint-plugin';
import tseslintParser from '@typescript-eslint/parser';
export default [
{
ignores: ['**/dist/**', '**/node_modules/**', '**/coverage/**'],
},
{
files: ['**/*.ts'],
languageOptions: {
parser: tseslintParser,
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
plugins: {
'@typescript-eslint': tseslintPlugin,
},
rules: {
...tseslintPlugin.configs['recommended-type-checked'].rules,
...tseslintPlugin.configs['stylistic-type-checked'].rules,
'@typescript-eslint/consistent-type-imports': [
'error',
{
prefer: 'type-imports',
},
],
'@typescript-eslint/no-floating-promises': 'error',
},
},
];