Skip to content

Commit

Permalink
fix typos! improvements to linting and spell-checking
Browse files Browse the repository at this point in the history
  • Loading branch information
emma-sg committed Nov 27, 2023
1 parent 9bb2d72 commit cac3824
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ module.exports = {
"no-restricted-globals": [2, "event", "error"],
"linebreak-style": ["error", "unix"],
},
ignorePatterns: ["ruffle/**/*", "build/**/*"],
ignorePatterns: ["ruffle/**/*", "build/**/*", "/sw.js", "/ui.js"],
reportUnusedDisableDirectives: true,
};
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"runem.lit-plugin",
"streetsidesoftware.code-spell-checker"
]
}
63 changes: 63 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"cSpell.languageSettings": [
{
"languageId": "typescript",
"allowCompoundWords": true,
"dictionaries": ["typescript", "node", "html", "fonts", "css"]
},
{
"languageId": "javascript",
"allowCompoundWords": true,
"dictionaries": ["typescript", "node", "html", "fonts", "css"]
},
{
"languageId": "markdown",
"allowCompoundWords": true,
"dictionaries": ["typescript", "node", "html", "fonts", "css"]
}
],
"cSpell.words": [
"authed",
"browsertrix",
"Bulma",
"canonicalization",
"cdxj",
"Collec",
"colls",
"electronuserland",
"flexsearch",
"gapi",
"gauth",
"gdrive",
"iframes",
"indexeddb",
"inited",
"ipfs",
"ival",
"kiwix",
"ndjson",
"pmarsceill",
"popd",
"pushd",
"pywb",
"reauth",
"recalc",
"replaybase",
"replayweb.page",
"sesh",
"Strs",
"surt",
"svgs",
"swmanager",
"swonly",
"Unfullscreen",
"unrewriting",
"wabac",
"WACZ",
"WARC",
"warcio",
"webrecorder",
"wrlogo"
],
"cSpell.ignorePaths": ["node_modules", ".git", "*.lock", "package.json"]
}
10 changes: 6 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!-- cSpell:ignoreRegExp @\w+ -->

## CHANGES

v1.8.11
Expand Down Expand Up @@ -72,7 +74,7 @@ v1.8.0

- UI: Add 'Show All Pages' option to show non-seed pages that are previously only available via search
- Embeds: add 'swName' option to allow customizing 'sw.js' to a different filename
- Dependencies: Update to wabac.js 2.16.1 -- varioues loading improvements related to surt
- Dependencies: Update to wabac.js 2.16.1 -- various loading improvements related to surt
- Dependencies: Update to electron 25.5.1, ruffle 2023-06-14

v1.7.15
Expand Down Expand Up @@ -149,7 +151,7 @@ v1.7.4
v1.7.3

- Fidelity: Misc fidelity improvements via latest wombat + wabac.js
- Dependecies: wabac.js 2.13.8, wombat 3.3.11, auto-js-ipfs 1.5.1
- Dependencies: wabac.js 2.13.8, wombat 3.3.11, auto-js-ipfs 1.5.1
- Loading: Fix occasional loading issues with multiple embeds loading on the same page

v1.7.2
Expand Down Expand Up @@ -292,7 +294,7 @@ v1.5.2

v1.5.1

- Library usage: Simplfy download options in editable mode, add warc/1.0 download opt (for archiveweb.page)
- Library usage: Simplify download options in editable mode, add warc/1.0 download opt (for archiveweb.page)
- Library usage: Allow custom service worker init path on app init (or none)
- Library usage: Ensure page title reflects current app
- UI: Refresh UI after half second while waiting for service worker to load, instead of every 5.
Expand Down Expand Up @@ -338,7 +340,7 @@ v1.4.4

v1.4.3

- Loading: Various fixes to index loading for compessed WACZ index
- Loading: Various fixes to index loading for compressed WACZ index
- Fidelity: Fix edge-case POST-to-get conversion - binary, empty and text/plain POST payloads now handled same way here (via wabac.js/warcio.js) as in other tools (pywb, cdxj-indexer)
- Customization: Support for automated redirect to live page on not found (via embed options)
- UI: Updated page not found message
Expand Down
2 changes: 1 addition & 1 deletion src/pageentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class PageEntry extends LitElement {
width: 100%;
}
/* Overrde Bulma to add the tiniest margin, so the focus indicator isn't obscured */
/* Override Bulma to add the tiniest margin, so the focus indicator isn't obscured */
.columns {
margin-top: calc(-0.75rem + 2px);
}
Expand Down

0 comments on commit cac3824

Please sign in to comment.