Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .eslintrc.json

This file was deleted.

34 changes: 34 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript"],
"categories": {
"correctness": "error"
},
"env": {
"node": true,
"es2023": true
},
"rules": {
"no-var": "error",
"eqeqeq": "error",
"prefer-const": [
"error",
{
"destructuring": "all"
}
],
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true
}
],
"typescript/no-explicit-any": "error",
"typescript/no-inferrable-types": "error",
"typescript/no-non-null-assertion": "warn",
"typescript/no-require-imports": "off"
},
"ignorePatterns": ["lib/", "node_modules/", "vendor/", "spec/fixtures/"]
}
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"build": "tsc",
"docs": "typedoc",
"prepare": "npm run build",
"lint": "eslint --ext .ts src spec",
"lint": "oxlint src spec",
"lint:fix": "oxlint --fix src spec",
"ava": "ava --timeout=60s",
"test": "npm run lint && npm run ava",
"tdd": "ava --watch"
Expand All @@ -39,11 +40,8 @@
"@types/fs-extra": "^5.0.5",
"@types/lodash": "^4.17.0",
"@types/node": "^20.6.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"ava": "^5.1.1",
"eslint": "^8.49.0",
"eslint-plugin-ava": "^14.0.0",
"oxlint": "1.81.0",
"ts-node": "^10.9.1",
"typedoc": "0.25.13",
"typescript": "~5.4.5"
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ export async function createWindowsInstaller(options: SquirrelWindowsOptions): P
log(`Using Wine: '${wineExe}'`);
}

// eslint-disable-next-line prefer-const
let { appDirectory, outputDirectory, loadingGif } = options;
outputDirectory = path.resolve(outputDirectory || 'installer');

Expand Down
Loading