Skip to content

Commit

Permalink
Template structure refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Apr 25, 2024
1 parent 35e8d5d commit 9732dc0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
File renamed without changes.
28 changes: 19 additions & 9 deletions deno.json
Original file line number Diff line number Diff line change
@@ -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\""
Expand Down Expand Up @@ -32,10 +32,6 @@
"./index.d.ts"
]
},
"fmt": {
"singleQuote": true,
"lineWidth": 120
},
"lint": {
"rules": {
"tags": [
Expand All @@ -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
}
}
2 changes: 1 addition & 1 deletion src/client/_components/hello_name.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 9732dc0

Please sign in to comment.