priv-kweihmann / oelint-vscode Goto Github PK
View Code? Open in Web Editor NEWvscode extension for oelint-adv
License: Other
vscode extension for oelint-adv
License: Other
Lines 84 to 92 in e53c867
Needs to use backticks to enable template strings:
for (var opt of config.get("oelint-vscode.run.constmodadd")) {
res.push(`--constantmods=+${opt}`);
}
for (var opt of config.get("oelint-vscode.run.constmodrem")) {
res.push(`--constantmods=-${opt}`);
}
for (var opt of config.get("oelint-vscode.run.constmodovr")) {
res.push(`--constantmods=${opt}`);
}
Make the linter run from the given workspace dir, so it could automatically find the recently introduced user configuration from that path
#4 adds a few options that are missing in the README - add them
I am using the oelint-adv and the vscode plugin since end 2023 during reviews of different yocto recipes. The plugin stopped to work after an update of vs-code, to V1.88.1 . I assume the issue is caused from the vscode extension "BitBake language support" which is marked as deprecated in that version.
Can someone check it and give me recommendation how to fix it?
Best Regards
Steffen
Latest oelint added additional options, add them to the addin
Like
Add options for the lately introduced --constantmod
CLI switch
On startup the tool shall auto-update/auto-install the tool.
Maybe introduce a config variable to control the behavior
Current update check does pip3 install --user --upgrade ...
which is a problem when the user is root, as it's likely that root doesn't have the necessary directories (like home) setup - this for instance can be seen in some docker containers.
So to enable these use cases make the --user
argument in the call configurable
I suspect a similar changes as in priv-kweihmann/meta-sca#1163 needs to be applied
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.