Commit graph

108 commits

Author SHA1 Message Date
Aiday Marlen Kyzy
858668dec2
Merge branch 'master' of https://github.com/aiday-mar/code-style-keys 2026-06-14 11:28:22 +02:00
Aiday Marlen Kyzy
9ccd254352
increasing version 2026-06-14 11:28:20 +02:00
Aiday Marlen Kyzy
42ebe7ba43
removing authorurl and fundingurl 2026-06-14 11:27:52 +02:00
Aiday Marlen Kyzy
2c8429de20
Update README.md 2026-06-14 11:26:12 +02:00
Aiday Marlen Kyzy
3c9ac18ded
adding readme and license file 2026-06-14 11:16:15 +02:00
Aiday Marlen Kyzy
86e0e66c34
updating tsconfig.json 2026-06-14 00:38:41 +02:00
Aiday Marlen Kyzy
9b9a595ed5
adding changes 2026-06-14 00:37:47 +02:00
Aiday Marlen Kyzy
6c3b6c193c
Handle backtick wrapping without extra trailing character 2026-06-14 00:27:34 +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