Skip to content

Commit

Permalink
feat!: bump scaffold, parse prefs.js
Browse files Browse the repository at this point in the history
  • Loading branch information
northword committed Jan 10, 2025
1 parent 20d1074 commit 1a262d9
Show file tree
Hide file tree
Showing 9 changed files with 1,594 additions and 5,587 deletions.
14 changes: 10 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
build
logs
# dot files
.DS_Store

# Node.js
node_modules
pnpm-lock.yaml
yarn.lock
.DS_Store
.env

# Scaffold
.env
.scaffold
build
logs
4 changes: 2 additions & 2 deletions addon/content/preferences.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<label><html:h2 data-l10n-id="pref-title"></html:h2></label>
<checkbox
id="zotero-prefpane-__addonRef__-enable"
preference="extensions.zotero.__addonRef__.enable"
preference="enable"
data-l10n-id="pref-enable"
/>
<hbox>
Expand All @@ -18,7 +18,7 @@
<html:input
type="text"
id="zotero-prefpane-__addonRef__-input"
preference="extensions.zotero.__addonRef__.input"
preference="input"
></html:input>
</hbox>
<hbox class="virtualized-table-container" flex="1" height="300px">
Expand Down
4 changes: 2 additions & 2 deletions addon/prefs.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/* eslint-disable no-undef */
pref("__prefsPrefix__.enable", true);
pref("__prefsPrefix__.input", "This is input");
pref("enable", true);
pref("input", "This is input");
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import tseslint from "typescript-eslint";

export default tseslint.config(
{
ignores: ["build/**", "dist/**", "node_modules/**", "scripts/"],
ignores: ["build/**", ".scaffold/**", "node_modules/**", "scripts/"],
},
{
extends: [eslint.configs.recommended, ...tseslint.configs.recommended],
Expand Down
Loading

0 comments on commit 1a262d9

Please sign in to comment.