Commit 1fd648f
authored
🩹 [Patch]: Update linter and git configuration (#97)
## Description
This pull request includes several updates to configuration files and
scripts, primarily focusing on code quality and compliance improvements.
The most significant changes include updating linter configurations,
modifying PowerShell script settings, and updating the license year.
### Linter Configuration Updates:
* Added a new `.jscpd.json` configuration file to set up code
duplication detection with specific thresholds and ignore patterns.
* Updated `.powershell-psscriptanalyzer.psd1` to enable specific rules
and adjust settings for PowerShell script analysis.
* Updated `.github/workflows/Linter.yml` to disable JSON Prettier
validation.
### PowerShell Script Updates:
* Added `SuppressMessageAttribute` to suppress specific PSScriptAnalyzer
rules in `Resolve-PSModuleDependency.ps1` and `Test-PSModule.ps1`.
[[1]](diffhunk://#diff-48557b471e7d62a89be3627235334ab8a39eb6119174abb61714b92d844508e2R21-R25)
[[2]](diffhunk://#diff-2100eb52126417766eeb5b98f9c6a0da1dd10302b3b7c05d476295e3bd76ce76R12-R15)
* Added `SuppressMessageAttribute` to the main script `main.ps1` to
suppress the `PSAvoidUsingWriteHost` rule.
### License Update:
* Updated the license year in the `LICENSE` file from 2024 to 2025.
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] 1 parent 49dd4d7 commit 1fd648f
File tree
9 files changed
+600
-25
lines changed- .github
- linters
- workflows
- scripts
- helpers
9 files changed
+600
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
10 | 52 | | |
11 | | - | |
12 | | - | |
| 53 | + | |
| 54 | + | |
13 | 55 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 56 | | |
0 commit comments