Skip to content

Commit

Permalink
fix reviewdog
Browse files Browse the repository at this point in the history
  • Loading branch information
kenohassler committed Apr 16, 2024
1 parent b6c1456 commit 6b545b3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,21 @@
# SPDX-FileCopyrightText: 2019 haya14busa

name: reviewdog

on: [pull_request]

env:
ESLINT_USE_FLAT_CONFIG: false

jobs:
eslint:
name: runner / eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
- run: npm install eslint eslint-plugin-jsdoc -D
- uses: reviewdog/action-eslint@v1
with:
Expand Down
2 changes: 0 additions & 2 deletions src/nvidiautil@ethanwharris/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ function init() {

/**
* Construct the individual widget for an individual setting
*
* @param {string} setting Key from the SETTINGS dictionary
* @returns {object} GTK box for this single setting
*/
Expand Down Expand Up @@ -145,7 +144,6 @@ function buildSettingWidget(setting) {

/**
* Construct the entire widget for the settings dialog
*
* @returns {object} GTK box containing the entire settings dialog
*/
function buildPrefsWidget() {
Expand Down
1 change: 0 additions & 1 deletion src/nvidiautil@ethanwharris/processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ var OPTIMUS = 2;

/**
* Utility function to perform one function and then another
*
* @param {Function} first The function executed first
* @param {Function} second The function executed second
* @returns {Function} A function that runs both given functions
Expand Down
2 changes: 0 additions & 2 deletions src/nvidiautil@ethanwharris/subprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const {Gio, GLib} = imports.gi;
* Execute a command asynchronously and check the exit status.
*
* If given, @cancellable can be used to stop the process before it finishes.
*
* @param {string[]} argv - a list of string arguments
* @param {Gio.Cancellable} [cancellable] - optional cancellable object
* @returns {Promise<boolean>} - The process success
Expand Down Expand Up @@ -58,7 +57,6 @@ async function execCheck(argv, cancellable = null) {
*
* If given, @input will be passed to `stdin` and @cancellable can be used to
* stop the process before it finishes.
*
* @param {string[]} argv - a list of string arguments
* @param {string} [input] - Input to write to `stdin` or %null to ignore
* @param {Gio.Cancellable} [cancellable] - optional cancellable object
Expand Down

0 comments on commit 6b545b3

Please sign in to comment.