Skip to content

Commit e275ee9

Browse files
committed
Revert "run prettier"
This reverts commit c1d8970.
1 parent b95b253 commit e275ee9

File tree

113 files changed

+1381
-1371
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+1381
-1371
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
ref: ${{ github.ref }}
1717
fetch-depth: 0
1818

19-
- name: 'Setup node'
19+
- name: "Setup node"
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 'lts/*'
22+
node-version: "lts/*"
2323
#cache: "npm"
2424

2525
- name: Install Salesforce CLI + Scanner

.github/workflows/Package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version: 'lts/*'
21+
node-version: ">=20"
2222

2323
- name: Install sf cli
2424
run: |

.prettierrc

Lines changed: 3 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,15 @@
11
{
2-
"arrowParens": "avoid",
3-
"bracketSpacing": true,
4-
"bracketSameLine": true,
5-
"printWidth": 100,
6-
"semi": true,
7-
"singleQuote": true,
2+
"plugins": ["prettier-plugin-apex"],
83
"trailingComma": "none",
9-
"endOfLine": "lf",
10-
"apexInsertFinalNewline": false,
114
"useTabs": true,
125
"overrides": [
136
{
147
"files": "**/lwc/**/*.html",
158
"options": { "parser": "lwc" }
169
},
17-
{
18-
"files": "*.{cls,trigger}",
19-
"options": { "parser": "apex", "tabWidth": 2, "useTabs": true }
20-
},
21-
{
22-
"files": "*.trigger",
23-
"options": { "printWidth": 200 }
24-
},
2510
{
2611
"files": "*.{cmp,page,component}",
27-
"options": {
28-
"parser": "html",
29-
"useTabs": true,
30-
"htmlWhitespaceSensitivity": "css"
31-
}
32-
},
33-
{
34-
"files": "*.{apex,soql}",
35-
"options": { "parser": "apex-anonymous" }
36-
},
37-
{
38-
"files": "*.{yml,yaml}",
39-
"options": { "parser": "yaml", "tabWidth": 2, "useTabs": false }
40-
},
41-
{
42-
"files": ".prettier*",
43-
"options": { "parser": "json", "printWidth": 80, "useTabs": true }
44-
},
45-
{
46-
"files": "*.xml",
47-
"options": {
48-
"parser": "xml",
49-
"useTabs": true,
50-
"singleQuote": false,
51-
"xmlSelfClosingSpace": true
52-
}
53-
},
54-
{
55-
"files": ["**/pmd/*.xml", "*ruleset*.xml", "config/**/*.xml"],
56-
"options": {
57-
"parser": "xml",
58-
"xmlSelfClosingSpace": true,
59-
"xmlWhitespaceSensitivity": "ignore"
60-
}
61-
},
62-
{
63-
"files": "*meta.xml",
64-
"options": {
65-
"parser": "xml",
66-
"useTabs": false,
67-
"xmlSelfClosingSpace": false
68-
}
69-
},
70-
{
71-
"files": "*.json",
72-
"options": {
73-
"parser": "json-stringify",
74-
"useTabs": false,
75-
"tabWidth": 2
76-
}
12+
"options": { "parser": "html" }
7713
}
78-
],
79-
"plugins": ["prettier-plugin-apex", "@prettier/plugin-xml"],
80-
"$schema": "https://json.schemastore.org/prettierrc"
14+
]
8115
}

config/project-scratch-def.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"orgName": "Demo company",
3-
"edition": "Developer",
4-
"features": []
2+
"orgName": "Demo company",
3+
"edition": "Developer",
4+
"features": []
55
}
Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
# DML Finalizer
22

33
## API Name
4-
54
`DML_Finalizer__mdt`
65

76
## Fields
8-
97
### Apex Class Name
10-
118
**Required**
129

1310
Enter the name of the Apex Class which defines the action to be taken
@@ -18,10 +15,9 @@ Enter the name of the Apex Class which defines the action to be taken
1815

1916
**Type**
2017

21-
_Text_
18+
*Text*
2219

2320
---
24-
2521
### Bypass Execution
2622

2723
Set this to true to bypass this Trigger Action from being called
@@ -32,10 +28,9 @@ Set this to true to bypass this Trigger Action from being called
3228

3329
**Type**
3430

35-
_Checkbox_
31+
*Checkbox*
3632

3733
---
38-
3934
### Bypass Permission
4035

4136
Optional. Enter the API name of a permission. If this field has a value, then the triggers on this object will be bypassed if the running user has the custom permission identified.
@@ -46,12 +41,10 @@ Optional. Enter the API name of a permission. If this field has a value, then th
4641

4742
**Type**
4843

49-
_Text_
44+
*Text*
5045

5146
---
52-
5347
### Order
54-
5548
**Required**
5649

5750
**API Name**
@@ -60,18 +53,17 @@ _Text_
6053

6154
**Type**
6255

63-
_Number_
56+
*Number*
6457

6558
---
66-
6759
### Required Permission
6860

69-
Optional. Enter the API name of a permission. If this field has a value, then the triggers on this object will only execute if the running user has the custom permission identified.
61+
Optional. Enter the API name of a permission. If this field has a value, then the triggers on this object will only execute if the running user has the custom permission identified.
7062

7163
**API Name**
7264

7365
`Required_Permission__c`
7466

7567
**Type**
7668

77-
_Text_
69+
*Text*

docs/custom-objects/Trigger_Action__mdt.md

Lines changed: 17 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# Trigger Action
22

33
## API Name
4-
54
`Trigger_Action__mdt`
65

76
## Fields
8-
97
### After Delete
108

119
Enter the name of the sObject you want to have this action execute on during the after delete context
@@ -16,10 +14,9 @@ Enter the name of the sObject you want to have this action execute on during the
1614

1715
**Type**
1816

19-
_MetadataRelationship_
17+
*MetadataRelationship*
2018

2119
---
22-
2320
### After Insert
2421

2522
Enter the name of the sObject you want to have this action execute on during the after insert context
@@ -30,10 +27,9 @@ Enter the name of the sObject you want to have this action execute on during the
3027

3128
**Type**
3229

33-
_MetadataRelationship_
30+
*MetadataRelationship*
3431

3532
---
36-
3733
### After Undelete
3834

3935
Enter the name of the sObject you want to have this action execute on during the after undelete context
@@ -44,10 +40,9 @@ Enter the name of the sObject you want to have this action execute on during the
4440

4541
**Type**
4642

47-
_MetadataRelationship_
43+
*MetadataRelationship*
4844

4945
---
50-
5146
### After Update
5247

5348
Enter the name of the sObject you want to have this action execute on during the after update context
@@ -58,10 +53,9 @@ Enter the name of the sObject you want to have this action execute on during the
5853

5954
**Type**
6055

61-
_MetadataRelationship_
56+
*MetadataRelationship*
6257

6358
---
64-
6559
### Allow Flow Recursion?
6660

6761
Check this box to allow the flow to execute recursively
@@ -72,12 +66,10 @@ Check this box to allow the flow to execute recursively
7266

7367
**Type**
7468

75-
_Checkbox_
69+
*Checkbox*
7670

7771
---
78-
7972
### Apex Class Name
80-
8173
**Required**
8274

8375
Enter the name of the Apex Class which defines the action to be taken
@@ -88,10 +80,9 @@ Enter the name of the Apex Class which defines the action to be taken
8880

8981
**Type**
9082

91-
_Text_
83+
*Text*
9284

9385
---
94-
9586
### Before Delete
9687

9788
Enter the name of the sObject you want to have this action execute on during the before delete context
@@ -102,10 +93,9 @@ Enter the name of the sObject you want to have this action execute on during the
10293

10394
**Type**
10495

105-
_MetadataRelationship_
96+
*MetadataRelationship*
10697

10798
---
108-
10999
### Before Insert
110100

111101
Enter the name of the sObject you want to have this action execute on during the before insert context
@@ -116,10 +106,9 @@ Enter the name of the sObject you want to have this action execute on during the
116106

117107
**Type**
118108

119-
_MetadataRelationship_
109+
*MetadataRelationship*
120110

121111
---
122-
123112
### Before Update
124113

125114
Enter the name of the sObject you want to have this action execute on during the before update context
@@ -130,10 +119,9 @@ Enter the name of the sObject you want to have this action execute on during the
130119

131120
**Type**
132121

133-
_MetadataRelationship_
122+
*MetadataRelationship*
134123

135124
---
136-
137125
### Bypass Execution
138126

139127
Set this to true to bypass this Trigger Action from being called
@@ -144,10 +132,9 @@ Set this to true to bypass this Trigger Action from being called
144132

145133
**Type**
146134

147-
_Checkbox_
135+
*Checkbox*
148136

149137
---
150-
151138
### Bypass Permission
152139

153140
Optional. Enter the API name of a permission. If this field has a value, then the triggers on this object will be bypassed if the running user has the custom permission identified.
@@ -158,10 +145,9 @@ Optional. Enter the API name of a permission. If this field has a value, then th
158145

159146
**Type**
160147

161-
_Text_
148+
*Text*
162149

163150
---
164-
165151
### Description
166152

167153
**API Name**
@@ -170,10 +156,9 @@ _Text_
170156

171157
**Type**
172158

173-
_LongTextArea_
159+
*LongTextArea*
174160

175161
---
176-
177162
### Entry Criteria
178163

179164
Formula which if evaluated to true for a given record during trigger processing, then this trigger action will be processed for that record.
@@ -184,10 +169,9 @@ Formula which if evaluated to true for a given record during trigger processing,
184169

185170
**Type**
186171

187-
_LongTextArea_
172+
*LongTextArea*
188173

189174
---
190-
191175
### Flow Name
192176

193177
Enter the API name of the flow you would like to execute.
@@ -198,12 +182,10 @@ Enter the API name of the flow you would like to execute.
198182

199183
**Type**
200184

201-
_Text_
185+
*Text*
202186

203187
---
204-
205188
### Order
206-
207189
**Required**
208190

209191
**API Name**
@@ -212,18 +194,17 @@ _Text_
212194

213195
**Type**
214196

215-
_Number_
197+
*Number*
216198

217199
---
218-
219200
### Required Permission
220201

221-
Optional. Enter the API name of a permission. If this field has a value, then the triggers on this object will only execute if the running user has the custom permission identified.
202+
Optional. Enter the API name of a permission. If this field has a value, then the triggers on this object will only execute if the running user has the custom permission identified.
222203

223204
**API Name**
224205

225206
`Required_Permission__c`
226207

227208
**Type**
228209

229-
_Text_
210+
*Text*

0 commit comments

Comments
 (0)