Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit a951880

Browse files
committed
fix: eslint and esbuild
1 parent d222162 commit a951880

3 files changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/dev/packup.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export const buildEntries = async (entries, metaMap) => {
7171
const buildResult = await esbuild.build({
7272
...config,
7373
entryPoints: entries,
74-
incremental: true,
7574
});
7675
buildResult.outputFiles.forEach((out) => {
7776
const outKey = out.path.replace(path.resolve(DISTNATION_DIRECTORY), SOURCE_DIRECTORY).replace(`/plugins/${pluginTitle}`, '');

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class ExampleWidget extends Widget {
2121
const containerElement = document.createElement('div');
2222
containerElement.textContent = 'Hello world!';
2323
this.domNodes.push(containerElement);
24-
// eslint-disable-next-line unicorn/prefer-dom-node-append
2524
parent.appendChild(containerElement);
2625
}
2726
}

tsconfig.eslint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"noEmit": true
55
},
66
"include": [
7+
"node_modules/tw5-typed/**/*.ts",
78
"src/**/*.ts",
89
"test/**/*.ts",
910
"src/**/*.js",

0 commit comments

Comments
 (0)