Skip to content

Commit

Permalink
🩹 [Patch]: Simplify source code structure (#9)
Browse files Browse the repository at this point in the history
## Description

- Simplify source code structure

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
  • Loading branch information
MariusStorhaug authored Mar 30, 2024
1 parent 8267a6e commit 8555463
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 36 deletions.
17 changes: 17 additions & 0 deletions .github/linters/.powershell-psscriptanalyzer.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#Documentation: https://github.com/PowerShell/PSScriptAnalyzer/blob/master/docs/Cmdlets/Invoke-ScriptAnalyzer.md#-settings
@{
#CustomRulePath='path\to\CustomRuleModule.psm1'
#RecurseCustomRulePath='path\of\customrules'
#Severity = @(
# 'Error'
# 'Warning'
#)
#IncludeDefaultRules=${true}
ExcludeRules = @(
'PSMissingModuleManifestField'
)
#IncludeRules = @(
# 'PSAvoidUsingWriteHost',
# 'MyCustomRuleName'
#)
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Fonts
# PublicIP

This is a PowerShell module for getting information about your public IP.
It uses the APIs of [IPInfo](https://ipinfo.io) and [MyIP](https://www.myip.com/) to get this data.
Expand Down
32 changes: 0 additions & 32 deletions src/PublicIP/PublicIP.psm1

This file was deleted.

4 changes: 1 addition & 3 deletions src/PublicIP/PublicIP.psd1 → src/manifest.psd1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@{
ModuleVersion = '0.0.1'
PrivateData = @{
PrivateData = @{
PSData = @{
Tags = @(
'PublicIP'
Expand All @@ -12,4 +11,3 @@
}
}
}

File renamed without changes.
File renamed without changes.

0 comments on commit 8555463

Please sign in to comment.