Skip to content

Commit 5b5ff9a

Browse files
committed
chore: enforce file naming convention check in eslint
1 parent 828e9b7 commit 5b5ff9a

11 files changed

Lines changed: 3 additions & 3 deletions

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default defineConfig([
102102

103103
// **************** enforece kebab-case for filenames ****************
104104
"react-naming-convention/filename": [
105-
"warn",
105+
"error",
106106
{
107107
rule: "kebab-case",
108108
},

packages/core/test/InteractionOutputTest.ts renamed to packages/core/test/interaction-output-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import promised from "chai-as-promised";
1919
import { expect, use } from "chai";
2020
import { Readable } from "stream";
2121
import { InteractionOutput, ActionInteractionOutput } from "../src/interaction-output";
22-
import { Content } from "..";
22+
import { Content } from "../dist/core";
2323
import { fail } from "assert";
2424

2525
use(promised);
File renamed without changes.

packages/core/test/ProtocolHelpersTest.ts renamed to packages/core/test/protocol-helpers-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import { suite, test } from "@testdeck/mocha";
2424
import { Form } from "../src/thing-description";
2525
import { expect } from "chai";
26-
import { ProtocolHelpers } from "..";
26+
import { ProtocolHelpers } from "../dist/core";
2727
import { ActionElement, EventElement, PropertyElement } from "wot-thing-description-types";
2828

2929
@suite("Protocol Helpers")
File renamed without changes.

0 commit comments

Comments
 (0)