Commit 7c25dfe
authored
🩹 [Patch]: Update linter and git configuration (#2)
## Description
This pull request includes several changes to configuration files and
the license file. The most important changes include adding a new
configuration file for `jscpd`, updating the `PSScriptAnalyzer`
settings, and modifying the `Linter.yml` workflow to disable JSON
Prettier validation.
Configuration updates:
* Added a new configuration file `.jscpd.json` to set up `jscpd` with a
threshold of 0, console reporting, and ignoring test files.
* Updated the `.powershell-psscriptanalyzer.psd1` file to enable
specific rules for PowerShell script analysis, such as
`PSAlignAssignmentStatement`, `PSAvoidLongLines`, and
`PSProvideCommentHelp`, among others.
* Modified the `.github/workflows/Linter.yml` file to disable JSON
Prettier validation by setting `VALIDATE_JSON_PRETTIER` to `false`.
License update:
* Updated the `LICENSE` file to reflect the new copyright year, changing
it from 2024 to 2025.
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] 1 parent dc3c344 commit 7c25dfe
6 files changed
Lines changed: 585 additions & 15 deletions
File tree
- .github
- linters
- workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 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 | | - | |
| 53 | + | |
| 54 | + | |
12 | 55 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 56 | | |
0 commit comments