Comments (11)
That would be really nice. When there are errors/false positives in these code analyzers, then it becomes very difficult to distinguish real warnings from errors and makes the LinterCop inoperable.
Would be nice to have preview versions for which we could provide you (and others) with feedback. 😊
from businesscentral.lintercop.
100%
But to prepare for this, I will need to implement a branching strategy and need to adjust the pipeline.
Another thought I had, was to introduce new rules as info
or even as disabled
first.
Testers can activate the rule via ruleset and report any issues.
That would work with less overhead and preparation.
from businesscentral.lintercop.
I would vote for a new branching strategy with a "preview" branch.
The other approach would work on new rules, but for changes in existing rules you would still risk to mess with a lot of users if a bug sneaks in.
I believe that the majority of developers would value stable and correct (now what that is 😉) code cop rules higher than smoking new changes and additions.
But for some people, as myself, like to work with new things and want to help to make our developer experience the best it can be - and for those, some kind of "preview" feature would be great.
from businesscentral.lintercop.
I will think about how to change branching strategy and pipeline, as well as a possibility to get auto update for preview releases 👍
from businesscentral.lintercop.
Super!
Just let me know if you need help brainstorming about that or if I should test something out.
from businesscentral.lintercop.
I made changes to the pipeline, branches and to the vs code extension.
add "linterCop.load-pre-releases": true
to the settings and you will get the pre-releases automatically 💪
from businesscentral.lintercop.
Cool @StefanMaron !
I just updated the extension and configured this - but how do I know if it works? 😉
I didn't see any new "Downloaded BC DLL" dialogue, not even after restart. And if I execute "BC: Download Linter cop" nothing happens either (from what I can see at least)
from businesscentral.lintercop.
Normally a dialog should show up. You can check the version of the dll in the file details.
I will think about a better way, maybe an indicator somewhere to show the current file version
from businesscentral.lintercop.
I got dll v0.21.9.0 - Where do I find the current release and prerelease version in the repo?
from businesscentral.lintercop.
You will get an overview of all releases by clicking here on Releases
:
from businesscentral.lintercop.
Ofcourse, where else! 😀
Well done!
Case closed, have a beer and a super weekend!
from businesscentral.lintercop.
Related Issues (20)
- BusinessCentral.LinterCop.Design.Rule0052InternalProceduresNotReferencedAnalyzer' threw an exception of type 'System.InvalidCastException'
- LC0044 false positive HOT 1
- Rule0032ClearCodeunitSingleInstance' threw an exception of type 'System.InvalidCastException' HOT 5
- [Question] How to compile repository code? HOT 8
- Rule LC0054 - Interface should start with captial I - Proposal: Ignore spaces between affix and name HOT 4
- False positive for LC0033 HOT 6
- LC0035 - Table Extension Fields HOT 1
- LC0054 'BusinessCentral.LinterCop.Design.Rule0054FollowInterfaceObjectNameGuide' threw an exception of type 'System.NullReferenceException' HOT 3
- LC0064 - False positive on page controls not using Rec. HOT 1
- AD0001 in specific app.json HOT 8
- LC0033 HOT 3
- LC0063 - false positive for global variable HOT 2
- Howto run test in VS Code? HOT 9
- LC0035 - False Positive FlowField HOT 6
- LC0027: Handle on Variant as Table, with Supported Page
- LC0004 - False Positive for Page with property SourceTableTemporary = true; HOT 1
- Artifacts `.current.dll` and `.next.dll` will become obsolete in the future
- LC0067 - false positve for Journal Template Tables HOT 3
- LC0033 false positives HOT 2
- Rule0005VariableCasingShouldNotDifferFromDeclaration NullReferenceException
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 businesscentral.lintercop.