102 Commits
Author SHA1 Message Date
Rebbecca Bishop 07ceb81d1f Fix the year
Node.js build / build (20.x) (push) Waiting to run
Node.js build / build (22.x) (push) Waiting to run
Node.js build / build (24.x) (push) Waiting to run
2026-08-02 10:56:53 -05:00
saberzero1 23c165fd36 chore: bumped eslint plugin version 2026-06-30 23:58:57 +02:00
saberzero1 f8667cee6b feat: modernize sample plugin
Check whether the target version key already exists in versions.json
instead of whether the minAppVersion value exists. The old check
incorrectly skipped writing a new entry when a prior version mapped
to the same minAppVersion.

Modernize TypeScript and esbuild configuration

- Set target to ES2021 (Obsidian runs on modern Electron/Chromium)
- Replace individual strict flags with strict: true
- Update lib to ES2021 + DOM
- Remove importHelpers and allowJs
- Add skipLibCheck, forceConsistentCasingInFileNames,
noFallthroughCasesInSwitch
- Align esbuild target to es2021

Update dependencies

- Bump @types/node from ^16.11.6 to ^22.15.17 (Node 16 is EOL)
- Bump eslint-plugin-obsidianmd from 0.1.9 to 0.2.4
- Bump globals from 14.0.0 to 16.1.0
- Bump typescript-eslint from 8.35.1 to 8.32.1
- Remove tslib (no longer needed without importHelpers)

Fix code issues and update minimum app version

- Prefix unused parameters with _ (evt, view)
- Use definite assignment assertion on settings property
- Fix editorCallback parameter type (MarkdownView | MarkdownFileInfo)
- Replace document/window with activeDocument/activeWindow
- Replace let with const in SampleModal.onOpen
- Bump minAppVersion from 0.15.0 to 1.0.0
- Update eslint config for obsidianmd plugin 0.2.4 compatibility

Update documentation

- Fix entry point references (main.ts -> src/main.ts)
- Update minimum Node.js version to v18
- Replace outdated eslint instructions with npm run lint
- Update code examples for strict mode and activeWindow
- Remove yarn as alternative to npm

Update eslint configuration

Bump to eslint 10

Return to eslint 9

chore: formatting

feat: add release CI

chore: bumped obsidian eslint plugin to latest version

chore: cleanup redundant code

chore: moved obsidian to devDependencies

fix: apply ignore patterns before rulesets

docs: updated AGENTS.md to match codebase

fix: set quote_style to single

chore: formatting
2026-05-29 19:15:56 +02:00
Lishid dc2fa22c4d Fix typo in ESLint plugin link 2025-12-30 13:09:48 -05:00
Johannes Theiner 2323eddbb1 Merge pull request #164 from joethei/master
Include eslint config
2025-12-18 11:53:40 +01:00
Johannes Theiner 911b773800 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	README.md
#	src/main.ts
2025-11-14 15:24:54 +01:00
Johannes Theiner 123fc4a870 update eslint plugin version
remove builtin-modules external dependency
2025-11-14 14:28:33 +01:00
Johannes Theiner 0eca98adda update package.json 2025-11-10 22:27:46 +01:00
Johannes Theiner 92cba25647 update sample plugin with eslint instructions 2025-11-10 12:26:07 +01:00
Johannes Theiner 9984b040b6 remove testing code 2025-10-17 12:36:26 +02:00
Johannes Theiner e2a64e0534 Merge pull request #151 from adamu/main
Prefix unused variables with _
2025-09-17 18:12:44 +02:00
Johannes Theiner 8933f6ce64 Merge pull request #142 from johannrichard/declutter-version-bump
build: only write new minAppVersion requirements to `versions.json`
2025-09-17 17:54:33 +02:00
Steph Ango db97f5f629 Merge pull request #155 from obsidianmd/agents-md
AGENTS.md
2025-09-05 09:12:10 -07:00
Steph Ango 9673533aa9 language 2025-09-05 09:10:47 -07:00
Steph Ango 33075ecd13 use forward slashes for cross OS compatibility 2025-09-05 09:04:04 -07:00
Steph Ango 188bb6120f small copy tweaks 2025-09-05 09:01:58 -07:00
Steph Ango a4398b8ecc Corrections based on feedback 2025-09-05 08:58:49 -07:00
Steph Ango ce4fc8c209 First pass 2025-09-04 15:28:25 -07:00
Adam Millerchip f16c1401b3 Prefix unused variables with _ 2025-08-28 14:38:40 +09:00
Johannes Theiner fa2fac56be Remove node 18 from action 2025-07-04 13:29:58 +02:00
Johannes Theiner e0485eb3ba add lock file to repo 2025-07-04 13:28:27 +02:00
Johannes Theiner dbc9096f81 Add lint action 2025-07-04 13:27:53 +02:00
Johannes Theiner 90290a8af5 Update to use released eslint plugin 2025-07-03 12:00:06 +02:00
Johannes Theiner 68ab547f2c Update to use released eslint plugin 2025-06-02 12:10:29 +02:00
Johann Richard 3fe07677b5 build: only write new minAppVersion requirements to versions.json
Only add a new version requirements if `minAppVersion` is not already in `versions.json`. Should declutter `versions.json`.
2025-04-28 08:38:38 +02:00
Johannes Theiner 6d09ce3e39 Add license, fixes #98 2025-01-27 21:38:01 +00:00
Johannes Theiner ba04056938 Merge remote-tracking branch 'origin/master' 2025-01-02 16:48:30 +01:00
Johannes Theiner 55f5080882 Add linting of dependencies, throwing errors when including using telemetry libraries 2025-01-02 16:48:03 +01:00
Johannes Theiner 20002ffc65 Merge branch 'obsidianmd:master' into master 2024-11-20 17:02:47 +01:00
Johannes Theiner ee04e2f81f Merge pull request #120 from claremacrae/fix-readme-api-comment
Remove statement that API is unstable
2024-11-11 21:25:18 +01:00
Clare Macrae 92050ad841 Remove statement that API is unstable 2024-11-11 19:58:31 +00:00
Steph Ango daa0cba23c Merge pull request #78 from aleksey-rowan/patch-1
Minify production build
2024-08-21 11:22:30 -07:00
Johannes Theiner fa15a2558e Merge remote-tracking branch 'origin/master'
# Conflicts:
#	tsconfig.json
2024-07-31 23:00:52 +02:00
Johannes Theiner 15e343739e Add stylelint and configure eslint to add custom plugin.
- Split up main.ts into multiple files.
2024-07-31 22:59:59 +02:00
Johannes Theiner bfa0145644 Merge pull request #91 from revolter/patch-1
Fix inconsistent indentation
2024-07-31 22:06:34 +02:00
Johannes Theiner 893e489e84 Merge pull request #92 from revolter/patch-2
Fix incorrect TypeScript spelling
2024-07-31 21:47:47 +02:00
Johannes Theiner d05f42d8c5 Merge pull request #95 from tobiasvl/patch-1
Update README.md
2024-07-31 20:18:53 +02:00
Tobias V. Langhoff 47ec36c11e Update README.md
Update link to plugin guidelines
2024-03-02 22:30:14 +01:00
Johannes Theiner b9a0e401e0 configure eslint 2024-02-29 13:18:14 +01:00
iulianOnofrei (U-lee-aan) de770934b2 Fix incorrect TypeScript spelling 2024-01-21 15:20:39 +02:00
iulianOnofrei (U-lee-aan) f4debcda6b Fix inconsistent indentation 2024-01-19 21:14:58 +02:00
Aleksey Rowan 7330e7499a build: minify prod build
closes #70
2023-11-15 14:10:43 -05:00
Aleksey Rowan e60294b950 Update manifest description (#77) 2023-11-15 12:17:04 -05:00
Lishid 7112f01bc6 Update README.md 2023-07-25 15:17:26 -04:00
Johannes Theiner e8f03522bc Adapt to plugin guidelines (#65)
- remove header in settings
- remove logging of changed settings value
2023-07-17 12:36:25 -04:00
Erica Xu 9be2b5d748 Update manifest.json 2023-07-11 11:37:36 -04:00
Alexander Pozdneev 2aee08d3d5 Remove old info about styles.css (#56) 2023-05-01 14:48:46 -04:00
Tim Rogers 0b5e5a2f6e Upgrade esbuild to v0.17.x (#47) 2023-01-25 13:49:50 -05:00
INOUE Takuya 49fba8aa1f fix .eslintignore (#48) 2023-01-19 10:06:51 -05:00
Erica Xu 747672e2f8 Merge pull request #42 from obsidianmd/funding-url
Add funding URL documentation
2022-12-05 15:57:04 -05:00