diff --git a/eslint.config.js b/eslint.config.js index 844959e..f282c79 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -5,7 +5,15 @@ export default config({}, [ { files: ["src/**/*.ts"], rules: { - "@typescript-eslint/naming-convention": "off", + "@typescript-eslint/naming-convention": [ + // a better exention mechanism is needed + ...config.tsTypeChecked().rules["@typescript-eslint/naming-convention"], + { + selector: ["typeProperty"], + filter: { match: true, regex: "^__rec$" }, + format: null, + }, + ], "@typescript-eslint/no-unused-vars": ["error", { varsIgnorePattern: "^_" }], }, },