Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,5 +368,29 @@ module.exports = {
"@typescript-eslint/no-unused-expressions": "off",
},
},
{
// xml-tools was integrated with these rules relaxed for the migrated code.
// TODO: clean up violations and tighten incrementally.
files: ["projects/xml-tools/**"],
rules: {
"eslint-comments/require-description": "off",
// chevrotain-generated parser sources use generator syntax without yield
// and switch/case lexical declarations.
"require-yield": "off",
"no-case-declarations": "off",
"no-useless-escape": "off",
},
},
{
// Additional TypeScript rules for xml-tools packages (api.d.ts type surfaces).
// Legacy code migrated as-is; relaxed to match historical behaviour.
// TODO: clean up violations and tighten incrementally.
files: ["projects/xml-tools/**/*.ts"],
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
},
},
],
};
Loading
Loading