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

Commit

Permalink
fix: eslint and esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Mar 5, 2023
1 parent d222162 commit a951880
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion scripts/dev/packup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export const buildEntries = async (entries, metaMap) => {
const buildResult = await esbuild.build({
...config,
entryPoints: entries,
incremental: true,
});
buildResult.outputFiles.forEach((out) => {
const outKey = out.path.replace(path.resolve(DISTNATION_DIRECTORY), SOURCE_DIRECTORY).replace(`/plugins/${pluginTitle}`, '');
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class ExampleWidget extends Widget {
const containerElement = document.createElement('div');
containerElement.textContent = 'Hello world!';
this.domNodes.push(containerElement);
// eslint-disable-next-line unicorn/prefer-dom-node-append
parent.appendChild(containerElement);
}
}
Expand Down
1 change: 1 addition & 0 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"noEmit": true
},
"include": [
"node_modules/tw5-typed/**/*.ts",
"src/**/*.ts",
"test/**/*.ts",
"src/**/*.js",
Expand Down

0 comments on commit a951880

Please sign in to comment.