add isDesktopOnly + lint config fix

This commit is contained in:
marc-f 2025-04-13 12:03:37 +02:00
parent 60ca770a86
commit b821af6926
4 changed files with 11 additions and 8 deletions

View file

@ -6,13 +6,14 @@ import globals from 'globals';
export default [
js.configs.recommended,
{
files: ['**/*.ts'],
files: ['**/*.ts', '**/*.mjs'],
languageOptions: {
parser: tsParser,
sourceType: 'module',
globals: {
...globals.browser,
...globals.node
...globals.node,
process: "readonly"
}
},
plugins: {

View file

@ -1,10 +1,11 @@
{
"id": "filename-styler",
"name": "FileName Styler",
"version": "1.0.0",
"version": "1.0.1",
"minAppVersion": "1.8.9",
"description": "Customize and style file names in the file explorer using patterns, prefixes, suffixes, colors, and icons.",
"author": "Marc Feininger",
"authorUrl": "https://github.com/marc-f/obsidian-file-name-styler",
"main": "main.js"
"main": "main.js",
"isDesktopOnly": false
}

View file

@ -1,6 +1,6 @@
{
"name": "filename-styler",
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"description": "An Obsidian plugin to style filenames based on ID patterns, colors, icons, and more.",
"main": "main.js",
@ -8,7 +8,7 @@
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"version": "node version-bump.mjs && git add manifest.json versions.json",
"lint": "eslint . --ext .ts"
"lint": "eslint \"**/*.ts\" \"*.mjs\""
},
"keywords": [
"obsidian",

View file

@ -1,3 +1,4 @@
{
"1.0.0": "1.8.9"
}
"1.0.0": "1.8.9",
"1.0.1": "1.8.9"
}