diff --git a/build/build.ts b/config/build.ts similarity index 100% rename from build/build.ts rename to config/build.ts diff --git a/deno.json b/deno.json index bf28a0b..64ee58a 100644 --- a/deno.json +++ b/deno.json @@ -1,9 +1,9 @@ { "tasks": { - "build": "deno run -A ./build/build.ts", - "build:watch": "deno run -A ./build/build.ts --watch", - "build:dev": "deno run -A ./build/build.ts --develope", - "build:dev:watch": "deno run -A ./build/build.ts --develope --watch", + "build": "deno run -A ./config/build.ts", + "build:watch": "deno run -A ./config/build.ts --watch", + "build:dev": "deno run -A ./config/build.ts --develope", + "build:dev:watch": "deno run -A ./config/build.ts --develope --watch", "serve": "", "lint": "deno lint", "test": "deno test -A --check --reload --doc --allow-none --junit-path=\"./reports/report.xml\"" @@ -32,10 +32,6 @@ "./index.d.ts" ] }, - "fmt": { - "singleQuote": true, - "lineWidth": 120 - }, "lint": { "rules": { "tags": [ @@ -48,13 +44,27 @@ "explicit-function-return-type", "explicit-module-boundary-types", "guard-for-in", + "no-const-assign", "no-eval", + "no-external-import", + "no-non-null-asserted-optional-chain", + "no-non-null-assertion", + "no-self-compare", "no-sparse-arrays", - "prefer-ascii" + "no-sync-fn-in-async-fn", + "no-throw-literal", + "no-undef", + "prefer-ascii", + "single-var-declarator", + "verbatim-module-syntax" ], "exclude": [ "no-inferrable-types" ] } + }, + "fmt": { + "singleQuote": true, + "lineWidth": 120 } } diff --git a/src/client/_components/hello_name.ts b/src/client/_components/hello_name.ts index f0af114..9e8717c 100644 --- a/src/client/_components/hello_name.ts +++ b/src/client/_components/hello_name.ts @@ -1,5 +1,5 @@ import { customElement, property } from '../../../deps/lit/decorators.ts'; -import { LitElement, TemplateResult, html } from '../../../deps/lit.ts'; +import { LitElement, type TemplateResult, html } from '../../../deps/lit.ts'; // @deno-types="../../../types/scss.d.ts" import styles from './hello_name.scss'