- Updated docker-compose.tools.yml to mount source code at /src and set working directory for backend tools, ensuring proper Go module caching. - Modified Dockerfile.tools to install the latest golangci-lint version compatible with Go 1.24 and adjusted working directory for build-time operations. - Enhanced Makefile to build backend tools before running tests and linting, ensuring dependencies are up-to-date and improving overall workflow efficiency. - Refactored test and handler files to include error handling for database operations, enhancing reliability and debugging capabilities.
15 lines
418 B
JavaScript
15 lines
418 B
JavaScript
// @ts-check
|
|
import withNuxt from './.nuxt/eslint.config.mjs'
|
|
|
|
export default withNuxt(
|
|
{ ignores: ['eslint.config.mjs'] },
|
|
{
|
|
rules: {
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
'@typescript-eslint/no-unused-vars': 'warn',
|
|
'@typescript-eslint/consistent-type-imports': ['warn', { prefer: 'type-imports' }],
|
|
'@typescript-eslint/no-require-imports': 'off',
|
|
},
|
|
},
|
|
)
|