Formatting

This commit is contained in:
Al0cam 2025-04-13 11:12:30 +02:00
parent 2b8dd104e3
commit d615af51e1
3 changed files with 69 additions and 69 deletions

View file

@ -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 || "";
}
}

View file

@ -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"
}
}
}

View file

@ -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;
}