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
9 changes: 0 additions & 9 deletions .eslintignore

This file was deleted.

209 changes: 0 additions & 209 deletions .eslintrc.json

This file was deleted.

70 changes: 70 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "import", "promise", "oxc"],
"categories": {
"correctness": "error"
},
"rules": {
"no-unused-vars": [
"error",
{
"args": "after-used",
"argsIgnorePattern": "^_",
"ignoreRestSiblings": true,
"vars": "all"
}
],
"sort-imports": [
"error",
{
"ignoreDeclarationSort": true,
"allowSeparatedGroups": true,
"ignoreCase": true
}
],
"import/no-named-as-default": "error",
"typescript/no-explicit-any": "warn",
"typescript/only-throw-error": "error",
"typescript/no-require-imports": "error"
},
"overrides": [
{
"files": ["**/*.ts"],
"rules": {
"no-undef": "off"
}
},
{
"files": ["**/*.cjs", "**/*.js"],
"rules": {
"typescript/no-require-imports": "off"
}
},
{
"files": [
"packages/api/core/spec/**/*.ts",
"packages/maker/*/src/Maker*.ts"
],
"rules": {
"typescript/no-require-imports": "off"
}
},
{
"files": ["packages/plugin/webpack/spec/fixtures/**/*.js"],
"rules": {
"no-undef": "off"
}
}
],
"ignorePatterns": [
"dist",
"docs/",
"node_modules",
"*.d.ts",
"packages/*/*/doc",
"packages/*/*/index.ts",
"packages/**/bad.js",
"tmpl",
"packages/api/core/spec/fixture/api-tester/"
]
}
16 changes: 4 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"build:watch": "tsc -b packages --watch",
"docs": "yarn build && typedoc",
"lerna:version": "./tools/version.sh",
"lint:js": "prettier --check . --experimental-cli && eslint . --cache",
"lint:js": "prettier --check . --experimental-cli && oxlint",
"lint:markdown": "markdownlint-cli2 \"**/*.md\"",
"lint:markdown-js": "lint-roller-markdown-standard --root . --ignore-path .markdownlintignore --semi \"**/*.md\"",
"lint:markdown-links": "lint-roller-markdown-links --root . --ignore-path .markdownlintignore \"**/*.md\"",
"lint": "npm run lint:js && npm run lint:markdown && npm run lint:markdown-js && npm run lint:markdown-links",
"lint:fix": "prettier --write . --experimental-cli && eslint --fix . --cache",
"lint:fix": "prettier --write . --experimental-cli && oxlint --fix",
"prepack": "yarn build",
"test": "xvfb-maybe vitest run --project fast --project slow --project slow-verdaccio",
"test:fast": "xvfb-maybe vitest run --project fast",
Expand Down Expand Up @@ -93,18 +93,9 @@
"@types/node": "^22.10.7",
"@types/semver": "^7.3.4",
"@types/which": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@yarnpkg/types": "^4.0.1",
"electron": "^39.2.6",
"electron-installer-common": "^0.10.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^10.0.1",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-tsdoc": "^0.4.0",
"fork-ts-checker-webpack-plugin": "^7.2.13",
"husky": "^7.0.1",
"lerna": "^9.0.0",
Expand All @@ -113,6 +104,7 @@
"markdownlint-cli2": "^0.19.1",
"minimist": "^1.2.6",
"msw": "^2.7.0",
"oxlint": "^1.51.0",
"prettier": "^3.6.2",
"ref-napi": "^3.0.3",
"typedoc": "0.25.13",
Expand All @@ -136,7 +128,7 @@
"*.{html,json,md,yml}": "prettier --write --experimental-cli",
"*.{js,ts, cjs, mjs, cts, mts}": [
"prettier --write --experimental-cli",
"eslint --fix --cache"
"oxlint --fix"
]
},
"prettier": {
Expand Down
5 changes: 0 additions & 5 deletions packages/api/cli/.eslintrc.json

This file was deleted.

6 changes: 0 additions & 6 deletions packages/api/core/spec/.eslintrc

This file was deleted.

1 change: 0 additions & 1 deletion packages/publisher/base/src/Publisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export default abstract class Publisher<C> implements IForgePublisher {
public config: C,
protected platformsToPublishOn?: ForgePlatform[],
) {
this.config = config;
Object.defineProperty(this, '__isElectronForgePublisher', {
value: true,
writable: false,
Expand Down
9 changes: 0 additions & 9 deletions tools/.eslintrc.json

This file was deleted.

Loading
Loading