diff --git a/eslint.config.js b/eslint.config.js index 9be1be3..9a3dbe5 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,2 +1,19 @@ import { configApp } from '@adonisjs/eslint-config' -export default configApp() + +export default [ + ...configApp(), + { + // Legacy CWMP protocol version files (cwmp-1-0.ts ... cwmp-1-4.ts, cwmp-events.ts): + // filenames and type names mirror the TR-069 spec version numbers (e.g. Cwmp_1_0, + // EventCode_1_1). Renaming would be a large, risky refactor across the protocol + // layer for no functional benefit, so these naming rules are relaxed here. + files: [ + 'app/protocol/cwmp-1-*.ts', + 'app/utils/cwmp-events.ts', + ], + rules: { + '@unicorn/filename-case': 'off', + '@typescript-eslint/naming-convention': 'off', + }, + }, +]