Skip to content

Commit 7c64d91

Browse files
committed
feat: add Trunk support for improved code quality and update version to 1.6.1
1 parent df15c28 commit 7c64d91

10 files changed

+84
-2
lines changed

.trunk/.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*out
2+
*logs
3+
*actions
4+
*notifications
5+
*tools
6+
plugins
7+
user_trunk.yaml
8+
user.yaml
9+
tmp

.trunk/configs/.markdownlint.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Prettier friendly markdownlint config (all formatting rules disabled)
2+
extends: markdownlint/style/prettier

.trunk/configs/.yamllint.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
rules:
2+
quoted-strings:
3+
required: only-when-needed
4+
extra-allowed: ["{|}"]
5+
key-duplicates: {}
6+
octal-values:
7+
forbid-implicit-octal: true

.trunk/configs/svgo.config.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
plugins: [
3+
{
4+
name: "preset-default",
5+
params: {
6+
overrides: {
7+
removeViewBox: false, // https://github.com/svg/svgo/issues/1128
8+
sortAttrs: true,
9+
removeOffCanvasPaths: true,
10+
},
11+
},
12+
},
13+
],
14+
};

.trunk/trunk.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This file controls the behavior of Trunk: https://docs.trunk.io/cli
2+
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
3+
version: 0.1
4+
cli:
5+
version: 1.22.8
6+
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
7+
plugins:
8+
sources:
9+
- id: trunk
10+
ref: v1.6.5
11+
uri: https://github.com/trunk-io/plugins
12+
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
13+
runtimes:
14+
enabled:
15+
16+
17+
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
18+
lint:
19+
enabled:
20+
21+
22+
- git-diff-check
23+
24+
25+
26+
27+
28+
29+
30+
actions:
31+
disabled:
32+
- trunk-announce
33+
- trunk-check-pre-push
34+
- trunk-fmt-pre-commit
35+
enabled:
36+
- trunk-upgrade-available

.vscodeignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ vsc-extension-quickstart.md
1212
**/*.map
1313
**/*.ts
1414
**/.vscode-test.*
15+
.trunk/**

CHANGELOG.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,19 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
66

77
## [Unreleased]
88

9-
## [1.6.0] - 2023-10-07
9+
## [1.6.1] - 2024-12-08
10+
11+
### Added
12+
13+
- Added Trunk Support to improve Code Quality
14+
15+
### Changed
16+
17+
- Changed `README.md` with latest features
18+
- Changed Extension Logo
19+
- Changed Changelog Dates for 1.6.0 Release Date
20+
21+
## [1.6.0] - 2024-12-07
1022

1123
### Added
1224

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ The Magento Log Viewer extension for Visual Studio Code provides a convenient wa
1616
- Status bar showing total log entries
1717
- Real-time log file monitoring
1818
- Badge in the tree view showing the total number of log entries
19+
- Improved report file titles by parsing content for better readability
1920

2021
## Setup
2122

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento-log-viewer",
33
"displayName": "Magento Log Viewer",
44
"description": "A Visual Studio Code extension to view and manage Magento log files.",
5-
"version": "1.6.0",
5+
"version": "1.6.1",
66
"publisher": "MathiasElle",
77
"icon": "resources/logo.png",
88
"repository": {

resources/logo.png

756 KB
Loading

0 commit comments

Comments
 (0)