Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaredWilcurt committed Dec 21, 2023
1 parent aa48df7 commit 9e4fb4a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
jest: true
},
globals: {
nw: true,
vi: true
},
extends: [
Expand Down
3 changes: 3 additions & 0 deletions nw-testing/manual-testing.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ const semver = require('semver');

const library = require('../index.js');

/**
* Manual testing.
*/
function manualTesting () {
let options = {
autoUpdate: {
Expand Down
8 changes: 4 additions & 4 deletions nw-testing/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions nw-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"scripts": {
"start": "nw ."
},
"dependencies": {
"semver": "^7.5.4"
},
"devDependencies": {
"nw": "0.82.0-sdk"
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Tool to automate checking for updates and downloading newer versions for NW.js apps",
"main": "index.js",
"scripts": {
"lint": "eslint --config=.eslintrc.js index.js src tests manual-testing.js",
"fix": "eslint --fix --config=.eslintrc.js index.js src tests manual-testing.js",
"lint": "eslint --config=.eslintrc.js index.js src tests nw-testing",
"fix": "eslint --fix --config=.eslintrc.js index.js src tests nw-testing",
"manual": "cd nw-testing && npm start",
"test": "vitest --coverage"
},
Expand Down

0 comments on commit 9e4fb4a

Please sign in to comment.