Skip to content

Commit

Permalink
Exclude interfaces from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder committed Dec 20, 2024
1 parent 9f5ad9b commit fac51d7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eng/tools/eslint-plugin-tsv/src/eslint-plugin-tsv.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import parser from "yaml-eslint-parser";
import { NamedESLint } from "./named-eslint.js";
import { NamedESLint } from "./interfaces/named-eslint.js";
import kebabCaseOrg from "./rules/kebab-case-org.js";

const plugin: NamedESLint.Plugin = {
Expand Down
2 changes: 1 addition & 1 deletion eng/tools/eslint-plugin-tsv/src/rules/kebab-case-org.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from "path";
import { NamedRule } from "../named-eslint.js";
import { NamedRule } from "../interfaces/named-eslint.js";

export const rule: NamedRule.RuleModule = {
name: "kebab-case-org",
Expand Down
2 changes: 1 addition & 1 deletion eng/tools/eslint-plugin-tsv/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default defineConfig({
test: {
coverage: {
include: ["src"],
exclude: ["src/named-eslint.ts"],
exclude: ["src/interfaces"],
},
},
});

0 comments on commit fac51d7

Please sign in to comment.