https://github.com/priv-kweihmann/oelint-vscode
vscode extension for oelint-adv
https://github.com/priv-kweihmann/oelint-vscode
bitbake linter vscode vscode-extension
Last synced: 10 months ago
JSON representation
vscode extension for oelint-adv
- Host: GitHub
- URL: https://github.com/priv-kweihmann/oelint-vscode
- Owner: priv-kweihmann
- License: other
- Created: 2020-04-11T13:22:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-06-06T04:33:13.000Z (about 1 year ago)
- Last Synced: 2025-06-06T05:23:54.983Z (about 1 year ago)
- Topics: bitbake, linter, vscode, vscode-extension
- Language: TypeScript
- Size: 46.9 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oelint-vscode
A vscode extension to lint bitbake files.
Lot of the code actually written by [vscode-protolint](https://github.com/plexsystems/vscode-protolint) -
so 99.9% of the credit go to them
## Note
**requires** `oelint-adv` to be installed locally (run `pip3 install --user oelint-adv`)
**requires** `bitbake` language support installed in vscode
## Usage
- Install the extension and the tool
- Open any `bitbake` document
- On every saving operation the linter will be executed
## Configuration
| key | type | default | description |
| ------------------------------ | ------------- | ------- | --------------------------------------------------- |
| oelint-vscode.run.cache-path | string | '' | Custom path to local caches |
| oelint-vscode.run.cached | boolean | true | run with local caches |
| oelint-vscode.run.constantfile | string | '' | Path to constant file |
| oelint-vscode.run.extra-layer | array[string] | [] | Extra layer constant data to load |
| oelint-vscode.run.fix | boolean | false | Automatically resolve fixable issues |
| oelint-vscode.run.mode | string | fast | Mode to run in (fast or all) |
| oelint-vscode.run.nobackup | boolean | true | Don't create backups files while auto fixing |
| oelint-vscode.run.noinfo | boolean | false | No info level issues |
| oelint-vscode.run.nowarn | boolean | false | No warning level issues |
| oelint-vscode.run.release | string | '' | Yocto project release name to use (default: latest) |
| oelint-vscode.run.rules.custom | array[string] | [] | Additional paths to search for custom rules |
| oelint-vscode.run.rules.nonstd | array[string] | [] | Additional non-standard rulesets to load |
| oelint-vscode.run.suppress | array[string] | [] | Error IDs to suppress automatically |
| oelint-vscode.update.auto | boolean | true | Automatically update oelint-adv tool |
| oelint-vscode.update.user | boolean | true | Update with --user switch |