- Add TypeScript project structure with Bun runtime - Implement CLI commands for session, project, stats, and optimization - Add SQLite database integration with prepared statements - Include AGENTS.md for development guidelines - Add Makefile for common development tasks - Configure ESLint and TypeScript with strict mode
29 lines
778 B
JavaScript
29 lines
778 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
extends: [
|
|
'eslint:recommended',
|
|
],
|
|
plugins: ['@typescript-eslint'],
|
|
parserOptions: {
|
|
ecmaVersion: 2022,
|
|
sourceType: 'module',
|
|
project: './tsconfig.json',
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': 'error',
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
'@typescript-eslint/no-inferrable-types': 'off',
|
|
'prefer-const': 'error',
|
|
'no-var': 'error',
|
|
'no-unused-vars': 'off', // Turn off base rule as it conflicts with @typescript-eslint version
|
|
},
|
|
env: {
|
|
node: true,
|
|
es2022: true,
|
|
},
|
|
globals: {
|
|
Bun: 'readonly',
|
|
},
|
|
}; |