Skip to content

Commit 4545811

Browse files
committed
chore: remove formating from plopfile
1 parent e99fa99 commit 4545811

File tree

3 files changed

+0
-39
lines changed

3 files changed

+0
-39
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@
185185
"npm-run-all2": "^6.0.0",
186186
"patch-package": "^8.0.0",
187187
"pinst": "^3.0.0",
188-
"plop": "^4.0.1",
189188
"prettier": "^3.0.0",
190189
"prettier-plugin-package": "^1.3.0",
191190
"pretty-bytes": "^6.1.1",
Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +0,0 @@
1-
/*
2-
Copyright 2024 Adobe. All rights reserved.
3-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
4-
you may not use this file except in compliance with the License. You may obtain a copy
5-
of the License at http://www.apache.org/licenses/LICENSE-2.0
6-
7-
Unless required by applicable law or agreed to in writing, software distributed under
8-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9-
OF ANY KIND, either express or implied. See the License for the specific language
10-
governing permissions and limitations under the License.
11-
*/
12-
13-
/* This is where you'd put any Spectrum CSS variables and rules */

projects/templates/plopfile.js

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -50,31 +50,6 @@ module.exports = function (plop) {
5050
}
5151
});
5252

53-
plop.setActionType('format files', function (answers) {
54-
try {
55-
// Run formatters separately so one failing doesn't block the others
56-
execSync(
57-
`cd ../../ && yarn prettier --write packages/${answers.name}`
58-
);
59-
} catch (error) {
60-
// Continue if prettier fails
61-
}
62-
try {
63-
execSync(
64-
`cd ../../ && yarn eslint --fix -f pretty packages/${answers.name}`
65-
);
66-
} catch (error) {
67-
// Continue if eslint fails
68-
}
69-
try {
70-
execSync(
71-
`cd ../../ && yarn stylelint --fix packages/${answers.name}/src/*.css`
72-
);
73-
} catch (error) {
74-
// Continue if stylelint fails
75-
}
76-
});
77-
7853
plop.setGenerator('component', {
7954
description: 'application controller logic',
8055
prompts: [

0 commit comments

Comments
 (0)