Skip to content

Commit 9d25773

Browse files
authored
Revert to correct LF
1 parent e612163 commit 9d25773

File tree

3 files changed

+193
-193
lines changed

3 files changed

+193
-193
lines changed

.vscode/analyzersettings.psd1

Lines changed: 110 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1,110 +1,110 @@
1-
@{
2-
CustomRulePath = @(
3-
'./output/RequiredModules/DscResource.AnalyzerRules'
4-
'./output/RequiredModules/Indented.ScriptAnalyzerRules'
5-
)
6-
IncludeDefaultRules = $true
7-
IncludeRules = @(
8-
# DSC Community style guideline rules from the module ScriptAnalyzer.
9-
'PSAvoidDefaultValueForMandatoryParameter'
10-
'PSAvoidDefaultValueSwitchParameter'
11-
'PSAvoidInvokingEmptyMembers'
12-
'PSAvoidNullOrEmptyHelpMessageAttribute'
13-
'PSAvoidUsingCmdletAliases'
14-
'PSAvoidUsingComputerNameHardcoded'
15-
'PSAvoidUsingDeprecatedManifestFields'
16-
'PSAvoidUsingEmptyCatchBlock'
17-
'PSAvoidUsingInvokeExpression'
18-
'PSAvoidUsingPositionalParameters'
19-
'PSAvoidShouldContinueWithoutForce'
20-
'PSAvoidUsingWMICmdlet'
21-
'PSAvoidUsingWriteHost'
22-
'PSDSCReturnCorrectTypesForDSCFunctions'
23-
'PSDSCStandardDSCFunctionsInResource'
24-
'PSDSCUseIdenticalMandatoryParametersForDSC'
25-
'PSDSCUseIdenticalParametersForDSC'
26-
'PSMisleadingBacktick'
27-
'PSMissingModuleManifestField'
28-
'PSPossibleIncorrectComparisonWithNull'
29-
'PSProvideCommentHelp'
30-
'PSReservedCmdletChar'
31-
'PSReservedParams'
32-
'PSUseApprovedVerbs'
33-
'PSUseCmdletCorrectly'
34-
'PSUseOutputTypeCorrectly'
35-
'PSAvoidGlobalVars'
36-
'PSAvoidUsingConvertToSecureStringWithPlainText'
37-
'PSAvoidUsingPlainTextForPassword'
38-
'PSAvoidUsingUsernameAndPasswordParams'
39-
'PSDSCUseVerboseMessageInDSCResource'
40-
'PSShouldProcess'
41-
'PSUseDeclaredVarsMoreThanAssignments'
42-
'PSUsePSCredentialType'
43-
44-
# Additional rules from the module ScriptAnalyzer
45-
'PSUseConsistentWhitespace'
46-
'UseCorrectCasing'
47-
'PSPlaceOpenBrace'
48-
'PSPlaceCloseBrace'
49-
'AlignAssignmentStatement'
50-
'AvoidUsingDoubleQuotesForConstantString'
51-
'UseShouldProcessForStateChangingFunctions'
52-
53-
# Rules from the modules DscResource.AnalyzerRules
54-
'Measure-*'
55-
56-
# Rules from the module Indented.ScriptAnalyzerRules
57-
'AvoidCreatingObjectsFromAnEmptyString'
58-
'AvoidDashCharacters'
59-
'AvoidEmptyNamedBlocks'
60-
'AvoidFilter'
61-
'AvoidHelpMessage'
62-
'AvoidNestedFunctions'
63-
'AvoidNewObjectToCreatePSObject'
64-
'AvoidParameterAttributeDefaultValues'
65-
'AvoidProcessWithoutPipeline'
66-
'AvoidSmartQuotes'
67-
'AvoidThrowOutsideOfTry'
68-
'AvoidWriteErrorStop'
69-
'AvoidWriteOutput'
70-
'UseSyntacticallyCorrectExamples'
71-
)
72-
73-
# TODO: This is not excluded correctly, see test QA/ScriptAnalyzer.Tests.ps1 for more information.
74-
ExcludeRules = @(
75-
'TypeNotFound'
76-
)
77-
78-
Rules = @{
79-
PSUseConsistentWhitespace = @{
80-
Enable = $true
81-
CheckOpenBrace = $true
82-
CheckInnerBrace = $true
83-
CheckOpenParen = $true
84-
CheckOperator = $false
85-
CheckSeparator = $true
86-
CheckPipe = $true
87-
CheckPipeForRedundantWhitespace = $true
88-
CheckParameter = $false
89-
}
90-
91-
PSPlaceOpenBrace = @{
92-
Enable = $true
93-
OnSameLine = $false
94-
NewLineAfter = $true
95-
IgnoreOneLineBlock = $false
96-
}
97-
98-
PSPlaceCloseBrace = @{
99-
Enable = $true
100-
NoEmptyLineBefore = $true
101-
IgnoreOneLineBlock = $false
102-
NewLineAfter = $true
103-
}
104-
105-
PSAlignAssignmentStatement = @{
106-
Enable = $true
107-
CheckHashtable = $true
108-
}
109-
}
110-
}
1+
@{
2+
CustomRulePath = @(
3+
'./output/RequiredModules/DscResource.AnalyzerRules'
4+
'./output/RequiredModules/Indented.ScriptAnalyzerRules'
5+
)
6+
IncludeDefaultRules = $true
7+
IncludeRules = @(
8+
# DSC Community style guideline rules from the module ScriptAnalyzer.
9+
'PSAvoidDefaultValueForMandatoryParameter'
10+
'PSAvoidDefaultValueSwitchParameter'
11+
'PSAvoidInvokingEmptyMembers'
12+
'PSAvoidNullOrEmptyHelpMessageAttribute'
13+
'PSAvoidUsingCmdletAliases'
14+
'PSAvoidUsingComputerNameHardcoded'
15+
'PSAvoidUsingDeprecatedManifestFields'
16+
'PSAvoidUsingEmptyCatchBlock'
17+
'PSAvoidUsingInvokeExpression'
18+
'PSAvoidUsingPositionalParameters'
19+
'PSAvoidShouldContinueWithoutForce'
20+
'PSAvoidUsingWMICmdlet'
21+
'PSAvoidUsingWriteHost'
22+
'PSDSCReturnCorrectTypesForDSCFunctions'
23+
'PSDSCStandardDSCFunctionsInResource'
24+
'PSDSCUseIdenticalMandatoryParametersForDSC'
25+
'PSDSCUseIdenticalParametersForDSC'
26+
'PSMisleadingBacktick'
27+
'PSMissingModuleManifestField'
28+
'PSPossibleIncorrectComparisonWithNull'
29+
'PSProvideCommentHelp'
30+
'PSReservedCmdletChar'
31+
'PSReservedParams'
32+
'PSUseApprovedVerbs'
33+
'PSUseCmdletCorrectly'
34+
'PSUseOutputTypeCorrectly'
35+
'PSAvoidGlobalVars'
36+
'PSAvoidUsingConvertToSecureStringWithPlainText'
37+
'PSAvoidUsingPlainTextForPassword'
38+
'PSAvoidUsingUsernameAndPasswordParams'
39+
'PSDSCUseVerboseMessageInDSCResource'
40+
'PSShouldProcess'
41+
'PSUseDeclaredVarsMoreThanAssignments'
42+
'PSUsePSCredentialType'
43+
44+
# Additional rules from the module ScriptAnalyzer
45+
'PSUseConsistentWhitespace'
46+
'UseCorrectCasing'
47+
'PSPlaceOpenBrace'
48+
'PSPlaceCloseBrace'
49+
'AlignAssignmentStatement'
50+
'AvoidUsingDoubleQuotesForConstantString'
51+
'UseShouldProcessForStateChangingFunctions'
52+
53+
# Rules from the modules DscResource.AnalyzerRules
54+
'Measure-*'
55+
56+
# Rules from the module Indented.ScriptAnalyzerRules
57+
'AvoidCreatingObjectsFromAnEmptyString'
58+
'AvoidDashCharacters'
59+
'AvoidEmptyNamedBlocks'
60+
'AvoidFilter'
61+
'AvoidHelpMessage'
62+
'AvoidNestedFunctions'
63+
'AvoidNewObjectToCreatePSObject'
64+
'AvoidParameterAttributeDefaultValues'
65+
'AvoidProcessWithoutPipeline'
66+
'AvoidSmartQuotes'
67+
'AvoidThrowOutsideOfTry'
68+
'AvoidWriteErrorStop'
69+
'AvoidWriteOutput'
70+
'UseSyntacticallyCorrectExamples'
71+
)
72+
73+
# TODO: This is not excluded correctly, see test QA/ScriptAnalyzer.Tests.ps1 for more information.
74+
ExcludeRules = @(
75+
'TypeNotFound'
76+
)
77+
78+
Rules = @{
79+
PSUseConsistentWhitespace = @{
80+
Enable = $true
81+
CheckOpenBrace = $true
82+
CheckInnerBrace = $true
83+
CheckOpenParen = $true
84+
CheckOperator = $false
85+
CheckSeparator = $true
86+
CheckPipe = $true
87+
CheckPipeForRedundantWhitespace = $true
88+
CheckParameter = $false
89+
}
90+
91+
PSPlaceOpenBrace = @{
92+
Enable = $true
93+
OnSameLine = $false
94+
NewLineAfter = $true
95+
IgnoreOneLineBlock = $false
96+
}
97+
98+
PSPlaceCloseBrace = @{
99+
Enable = $true
100+
NoEmptyLineBefore = $true
101+
IgnoreOneLineBlock = $false
102+
NewLineAfter = $true
103+
}
104+
105+
PSAlignAssignmentStatement = @{
106+
Enable = $true
107+
CheckHashtable = $true
108+
}
109+
}
110+
}

CHANGELOG.md

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
1-
# Change log for DscResource.Base
2-
3-
The format is based on and uses the types of changes according to [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5-
6-
## [Unreleased]
7-
8-
### Fixed
9-
10-
- Correcting module manifest and help file description.
11-
- Update build pipeline to use GitVersion v5.
12-
13-
## [1.1.1] - 2024-06-11
14-
15-
### Fixed
16-
17-
- DscResource.Base
18-
- Test results is now found for the HQRM tests when run in the pipeline.
19-
- `ResourceBase`
20-
- Fixed style changed.
21-
22-
### Changed
23-
24-
- DscResource.Base
25-
- Move code coverage task in the pipeline to use task `PublishCodeCoverageResults@2`.
26-
- `Get-LocalizedDataRecursive`
27-
- Move strings to localized versions ([issue #7](https://github.com/dsccommunity/DscResource.Base/issues/7)).
28-
- Fix various formatting issues
29-
30-
## [1.1.0] - 2023-02-26
31-
32-
### Added
33-
34-
- DscResource.Base
35-
- A new private function `ConvertFrom-Reason` was added which takes an
36-
array of `[Reason]` and coverts it to an array of `[System.Collections.Hashtable]`.
37-
38-
### Changed
39-
40-
- DscResource.Base
41-
- Enable Pester's new code coverage method.
42-
- The private function `ConvertTo-Reason` was renamed `Resolve-Reason`.
43-
- `ResourceBase`
44-
- The property `Reasons` in derived class-based resources is now expected
45-
to use the type `[System.Collections.Hashtable[]]` ([issue #4](https://github.com/dsccommunity/DscResource.Base/issues/4)).
46-
47-
### Fixed
48-
49-
- DscResource.Base
50-
- Correct pipeline definition id for status badges in README.md.
51-
- `ResourceBase`
52-
- Increased code coverage.
53-
54-
## [1.0.0] - 2022-12-31
55-
56-
### Added
57-
58-
- Added the first version of `ResourceBase`.
1+
# Change log for DscResource.Base
2+
3+
The format is based on and uses the types of changes according to [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5+
6+
## [Unreleased]
7+
8+
### Fixed
9+
10+
- Correcting module manifest and help file description.
11+
- Update build pipeline to use GitVersion v5.
12+
13+
## [1.1.1] - 2024-06-11
14+
15+
### Fixed
16+
17+
- DscResource.Base
18+
- Test results is now found for the HQRM tests when run in the pipeline.
19+
- `ResourceBase`
20+
- Fixed style changed.
21+
22+
### Changed
23+
24+
- DscResource.Base
25+
- Move code coverage task in the pipeline to use task `PublishCodeCoverageResults@2`.
26+
- `Get-LocalizedDataRecursive`
27+
- Move strings to localized versions ([issue #7](https://github.com/dsccommunity/DscResource.Base/issues/7)).
28+
- Fix various formatting issues
29+
30+
## [1.1.0] - 2023-02-26
31+
32+
### Added
33+
34+
- DscResource.Base
35+
- A new private function `ConvertFrom-Reason` was added which takes an
36+
array of `[Reason]` and coverts it to an array of `[System.Collections.Hashtable]`.
37+
38+
### Changed
39+
40+
- DscResource.Base
41+
- Enable Pester's new code coverage method.
42+
- The private function `ConvertTo-Reason` was renamed `Resolve-Reason`.
43+
- `ResourceBase`
44+
- The property `Reasons` in derived class-based resources is now expected
45+
to use the type `[System.Collections.Hashtable[]]` ([issue #4](https://github.com/dsccommunity/DscResource.Base/issues/4)).
46+
47+
### Fixed
48+
49+
- DscResource.Base
50+
- Correct pipeline definition id for status badges in README.md.
51+
- `ResourceBase`
52+
- Increased code coverage.
53+
54+
## [1.0.0] - 2022-12-31
55+
56+
### Added
57+
58+
- Added the first version of `ResourceBase`.
Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
TOPIC
2-
about_DscResource.Base
3-
4-
SHORT DESCRIPTION
5-
Contains standard classes for class-based resource development.
6-
7-
LONG DESCRIPTION
8-
This module contains common classes that can be used for class-based DSC resources development.
9-
10-
EXAMPLES
11-
PS C:\> using module 'DscResource.Base'
12-
13-
NOTE:
14-
Thank you to the DSC Community contributors who contributed to this module by
15-
writing code, sharing opinions, and provided feedback.
16-
17-
TROUBLESHOOTING NOTE:
18-
Go to the Github repository for read about issues, submit a new issue, and read
19-
about new releases. https://github.com/dsccommunity/DscResource.Base
20-
21-
SEE ALSO
22-
- https://github.com/dsccommunity/DscResource.Base
23-
24-
KEYWORDS
25-
DSC, DscResource, Classes
1+
TOPIC
2+
about_DscResource.Base
3+
4+
SHORT DESCRIPTION
5+
Contains standard classes for class-based resource development.
6+
7+
LONG DESCRIPTION
8+
This module contains common classes that can be used for class-based DSC resources development.
9+
10+
EXAMPLES
11+
PS C:\> using module 'DscResource.Base'
12+
13+
NOTE:
14+
Thank you to the DSC Community contributors who contributed to this module by
15+
writing code, sharing opinions, and provided feedback.
16+
17+
TROUBLESHOOTING NOTE:
18+
Go to the Github repository for read about issues, submit a new issue, and read
19+
about new releases. https://github.com/dsccommunity/DscResource.Base
20+
21+
SEE ALSO
22+
- https://github.com/dsccommunity/DscResource.Base
23+
24+
KEYWORDS
25+
DSC, DscResource, Classes

0 commit comments

Comments
 (0)