Skip to content

Commit e5ed64e

Browse files
fix: build issues
1 parent dcdfdab commit e5ed64e

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@eslint-types/unicorn": "^52.0.0",
6565
"@eslint/compat": "^1.1.0",
6666
"@isentinel/dict-rbxts": "^1.0.1",
67-
"@isentinel/dict-roblox": "^1.0.0",
67+
"@isentinel/dict-roblox": "^1.0.2",
6868
"@isentinel/eslint-plugin-comment-length": "^1.7.3",
6969
"@shopify/eslint-plugin": "^45.0.0",
7070
"@stylistic/eslint-plugin": "^2.1.0",

pnpm-lock.yaml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/configs/jsdoc.ts

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export async function jsdoc(options: OptionsStylistic = {}): Promise<Array<Typed
99
name: "style:jsdoc",
1010
plugins: {
1111
jsdoc: await interopDefault(import("eslint-plugin-jsdoc")),
12-
"jsdoc-prettier": await interopDefault(import("prettier-plugin-jsdoc")),
1312
},
1413
rules: {
1514
"jsdoc/check-access": "warn",

src/configs/prettier.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { createRequire } from "module";
12
import type { Options as PrettierOptions } from "prettier";
23
import { GLOB_SRC } from "src";
34

@@ -10,6 +11,8 @@ import type {
1011
TypedFlatConfigItem,
1112
} from "../types";
1213

14+
const require = createRequire(import.meta.url);
15+
1316
export async function prettier(
1417
options?: { prettierOptions?: PrettierOptions } & OptionsComponentExtensions &
1518
OptionsFiles &
@@ -31,7 +34,7 @@ export async function prettier(
3134
arrowParens: "avoid",
3235
jsdocPreferCodeFences: true,
3336
jsdocPrintWidth: 80,
34-
plugins: ["prettier-plugin-jsdoc"],
37+
plugins: [require.resolve("prettier-plugin-jsdoc")],
3538
printWidth: 100,
3639
semi: true,
3740
singleQuote: false,

src/configs/roblox.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ export async function roblox(
5959
"roblox/no-any": "off",
6060
"roblox/no-array-pairs": "warn",
6161
"roblox/no-enum-merging": "error",
62-
"roblox/no-export-assignment-let": "error",
62+
// TODO: Enable this rule when it's fixed
63+
// "roblox/no-export-assignment-let": "error",
6364
"roblox/no-for-in": "error",
6465
"roblox/no-function-expression-id": "error",
6566
"roblox/no-getters-or-setters": "error",

0 commit comments

Comments
 (0)