Comments (8)
Should the name of the switch be -Recurse? I feel like if we add this support for Get-ScriptAnalyzerRule, then we may eventually add something similar for Invoke-ScriptAnalyzer (customized rule path) as well.
from psscriptanalyzer.
That's a good point. I think we should use some other names, eg: -GetAllRules to prevent confusions for Invoke-ScriptAnalyzer?
from psscriptanalyzer.
I think -GetAllRules is a bit misleading.
from psscriptanalyzer.
I'm trying to come up with a better name that only applies to getting rules from customized rules.
from psscriptanalyzer.
Is there a possibility of using parameter sets? we can brainstorm during scrum..
from psscriptanalyzer.
We will need more input from other community members.
from psscriptanalyzer.
-RecurseRulePath
from psscriptanalyzer.
Get-ScriptAnalyzerRule -CustomRulePath . -RecurseCustomRulePath
from psscriptanalyzer.
Related Issues (20)
- Invoke-Formatter - Custom rules? HOT 1
- Always return a `RuleSuppressionID` HOT 2
- Linux Build for PSScriptAnalyzer Module HOT 2
- Missing approved verbs HOT 3
- Rules for Rules HOT 1
- Halo HOT 1
- Add a pre-commit hook for psscriptanalyzer HOT 2
- PSAvoidAssignmentToAutomaticVariable Errors on validateset HOT 4
- Rule PSReservedParams generates Warning instead of Error HOT 2
- Revert or Redo PossibleIncorrectUsageOfRedirectionOperator HOT 1
- Indentation breaks using anything other than pipelineIndentationStyle: None using a second pipe within parenthesis HOT 3
- Proposal: Signal invalid syntax in switch statement condition HOT 2
- Adds whitespace around operators with `whitespaceAroundOperator` set to false in some cases HOT 3
- Include release asset for v1.22.0 HOT 3
- Testing PSSA Warning Rules.PSUseLiteralInitializerForHashtable HOT 2
- add warning or error when using bigint with floating point types HOT 1
- The PSAvoidTrailingWhitespace rule is not applied when using Invoke-Formatter HOT 6
- Unable to format document in special circumstances HOT 7
- Rule request: `AvoidSecureStringDisclosure` HOT 2
- Rule request: Use Ascii HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psscriptanalyzer.