Compare commits
No commits in common. "main" and "cleanup-workflows" have entirely different histories.
main
...
cleanup-wo
5 changed files with 2024 additions and 1832 deletions
41
.eslintrc.json
Normal file
41
.eslintrc.json
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended"
|
||||
],
|
||||
"overrides": [
|
||||
],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module"
|
||||
},
|
||||
"plugins": [
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"rules": {
|
||||
"indent": [
|
||||
"error",
|
||||
2,
|
||||
{
|
||||
"SwitchCase": 1
|
||||
}
|
||||
],
|
||||
"linebreak-style": [
|
||||
"error",
|
||||
"unix"
|
||||
],
|
||||
"quotes": [
|
||||
"error",
|
||||
"single"
|
||||
],
|
||||
"semi": [
|
||||
"error",
|
||||
"always"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
import typescriptEslint from "@typescript-eslint/eslint-plugin";
|
||||
import globals from "globals";
|
||||
import tsParser from "@typescript-eslint/parser";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import js from "@eslint/js";
|
||||
import { FlatCompat } from "@eslint/eslintrc";
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
const compat = new FlatCompat({
|
||||
baseDirectory: __dirname,
|
||||
recommendedConfig: js.configs.recommended,
|
||||
allConfig: js.configs.all
|
||||
});
|
||||
|
||||
export default [
|
||||
...compat.extends("eslint:recommended", "plugin:@typescript-eslint/recommended"),
|
||||
{
|
||||
plugins: {
|
||||
"@typescript-eslint": typescriptEslint,
|
||||
},
|
||||
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.browser,
|
||||
},
|
||||
|
||||
parser: tsParser,
|
||||
ecmaVersion: "latest",
|
||||
sourceType: "module",
|
||||
},
|
||||
|
||||
rules: {
|
||||
indent: ["error", 2, {
|
||||
SwitchCase: 1,
|
||||
}],
|
||||
|
||||
"linebreak-style": ["error", "unix"],
|
||||
quotes: ["error", "single"],
|
||||
semi: ["error", "always"],
|
||||
},
|
||||
},
|
||||
];
|
|
@ -2,6 +2,7 @@
|
|||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<script defer data-domain="interval-timer.wbrawner.com" src="https://plausible.wbrawner.com/js/plausible.js"></script>
|
||||
<meta charset="utf-8" />
|
||||
<title>Trainterval</title>
|
||||
<base href="/" />
|
||||
|
@ -30,10 +31,6 @@
|
|||
);
|
||||
}
|
||||
</script>
|
||||
<noscript>
|
||||
<img src="https://shy.wbrawner.com/ingress/e94519dc-97db-49c4-9ba8-73b73bd6c92a/pixel.gif">
|
||||
</noscript>
|
||||
<script defer src="https://shy.wbrawner.com/ingress/e94519dc-97db-49c4-9ba8-73b73bd6c92a/script.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
3749
package-lock.json
generated
3749
package-lock.json
generated
File diff suppressed because it is too large
Load diff
17
package.json
17
package.json
|
@ -15,7 +15,7 @@
|
|||
"author": "William Patrick Brawner <me@wbrawner.com>",
|
||||
"license": "AGPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@vaadin/router": "^2.0.0",
|
||||
"@vaadin/router": "^1.7.5",
|
||||
"idb": "^8.0.0",
|
||||
"lit": "^3.1.4",
|
||||
"workbox-build": "^7.1.1",
|
||||
|
@ -24,16 +24,15 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@types/dom-screen-wake-lock": "^1.0.3",
|
||||
"@types/node": "^22.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
||||
"@types/node": "^20.14.2",
|
||||
"@typescript-eslint/eslint-plugin": "^7.13.0",
|
||||
"c8": "^10.1.2",
|
||||
"eslint": "^9.0.0",
|
||||
"globals": "^15.8.0",
|
||||
"jsdom": "^25.0.0",
|
||||
"eslint": "^8.57.0",
|
||||
"jsdom": "^24.1.0",
|
||||
"typescript": "^5.4.5",
|
||||
"vite": "^6.0.0",
|
||||
"vite-plugin-pwa": "^0.21.0",
|
||||
"vitest": "^2.0.0"
|
||||
"vite": "^5.3.1",
|
||||
"vite-plugin-pwa": "^0.20.0",
|
||||
"vitest": "^1.6.0"
|
||||
},
|
||||
"prettier": {
|
||||
"tabWidth": 2,
|
||||
|
|
Loading…
Reference in a new issue