diff --git a/Models/MovingRule.ts b/Models/MovingRule.ts index 48d6b05..d2d203a 100644 --- a/Models/MovingRule.ts +++ b/Models/MovingRule.ts @@ -1,16 +1,16 @@ export class MovingRule { - /** - * This filed is used for defining the regex with its group matchers - */ - public regex: string; - /** - * This field is used for defining the folder to which the files will be moved - * It can use the previously defined groups to create folders with the same name - */ - public folder: string; + /** + * This filed is used for defining the regex with its group matchers + */ + public regex: string; + /** + * This field is used for defining the folder to which the files will be moved + * It can use the previously defined groups to create folders with the same name + */ + public folder: string; - constructor(regex?: string, folder?: string) { - this.regex = regex || ""; - this.folder = folder || ""; - } + constructor(regex?: string, folder?: string) { + this.regex = regex || ""; + this.folder = folder || ""; + } } diff --git a/biome.json b/biome.json index f85e6eb..5765e00 100644 --- a/biome.json +++ b/biome.json @@ -1,31 +1,31 @@ { - "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", - "vcs": { - "enabled": false, - "clientKind": "git", - "useIgnoreFile": false - }, - "files": { - "ignoreUnknown": false, - "ignore": [] - }, - "formatter": { - "enabled": true, - "indentStyle": "space", - "indentWidth": 2 - }, - "organizeImports": { - "enabled": true - }, - "linter": { - "enabled": true, - "rules": { - "recommended": true - } - }, - "javascript": { - "formatter": { - "quoteStyle": "double" - } - } + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "vcs": { + "enabled": false, + "clientKind": "git", + "useIgnoreFile": false + }, + "files": { + "ignoreUnknown": false, + "ignore": [] + }, + "formatter": { + "enabled": true, + "indentStyle": "space", + "indentWidth": 2 + }, + "organizeImports": { + "enabled": true + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + }, + "javascript": { + "formatter": { + "quoteStyle": "double" + } + } } diff --git a/styles.css b/styles.css index fbb9ad2..823ed84 100644 --- a/styles.css +++ b/styles.css @@ -8,58 +8,58 @@ If your plugin does not need CSS, delete this file. */ .moving_rules_container { - padding: 0.75em 0; - border-top: 1px solid var(--background-modifier-border); - display: flex; - flex-direction: column; + padding: 0.75em 0; + border-top: 1px solid var(--background-modifier-border); + display: flex; + flex-direction: column; } .rule { - display: flex; - flex-direction: row; - align-items: center; - margin-bottom: 0.5em; - justify-content: space-evenly; - gap: 0.5em; + display: flex; + flex-direction: row; + align-items: center; + margin-bottom: 0.5em; + justify-content: space-evenly; + gap: 0.5em; } .rule_header { - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; - width: 100%; + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-between; + width: 100%; } .rule_title { - padding: 0.5em; - width: 100%; - font-weight: bold; + padding: 0.5em; + width: 100%; + font-weight: bold; } .rule_input { - width: 100%; - padding: 0.5em; - border: 1px solid var(--background-modifier-border); - border-radius: 0.25em; + width: 100%; + padding: 0.5em; + border: 1px solid var(--background-modifier-border); + border-radius: 0.25em; } .rule_button { - cursor: pointer; + cursor: pointer; } .rule_button:hover { - background-color: var(--color-green); + background-color: var(--color-green); } .rule_button:active { - background-color: var(--background-modifier-active); + background-color: var(--background-modifier-active); } .rule_button_remove:hover { - background-color: var(--color-red) !important; + background-color: var(--color-red) !important; } .rule_button_duplicate:hover { - background-color: var(--color-blue) !important; + background-color: var(--color-blue) !important; }