Files
pos-system/services/_template_nodejs/eslint.config.js
Ho Ngoc Hai 4e595d0746 feat(docs): Remove outdated service templates and enhance Vietnamese architecture documentation
- Deleted obsolete service architecture templates in both English and Vietnamese to streamline content.
- Updated the Vietnamese architecture documentation with improved Mermaid diagrams for better visual clarity.
- Enhanced color coding in diagrams to improve readability and consistency across documentation.
- Added a new section detailing visual indicators for better understanding of architecture components.
2026-01-10 21:00:02 +07:00

38 lines
1.1 KiB
JavaScript

// EN: ESLint v9 Flat Config for Template Service
// VI: ESLint v9 Flat Config cho Template Service
import goodgoConfig from '@goodgo/eslint-config';
export default [
// EN: Global ignores (must be first and standalone)
// VI: Ignores toàn cục (phải đặt đầu tiên và độc lập)
{
ignores: [
'**/*.test.ts',
'**/*.spec.ts',
'**/*.e2e.ts',
'**/__tests__/**',
'**/tests/**',
'dist/**',
'node_modules/**',
],
},
// EN: Apply base config
// VI: Áp dụng config cơ bản
...goodgoConfig,
// EN: Service-specific configuration
// VI: Cấu hình riêng cho service
{
files: ['src/**/*.ts'],
languageOptions: {
parserOptions: {
tsconfigRootDir: import.meta.dirname,
project: './tsconfig.json',
},
},
rules: {
// EN: Add service-specific rules here
// VI: Thêm rules riêng cho service ở đây
},
},
];