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
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

10 changes: 0 additions & 10 deletions .eslintrc.cjs

This file was deleted.

6 changes: 6 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import tsconfigs from 'eslint-config-salesforce-typescript';
import plugin from 'eslint-plugin-sf-plugin';

const configs = [...tsconfigs, ...plugin.configs.recommended];

export default configs;
17 changes: 12 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"enableO11y": true,
"o11yUploadEndpoint": "https://794testsite.my.site.com/byolwr/webruntime/log/metrics",
"dependencies": {
"@salesforce/core": "^9.1.9",
"@salesforce/core": "^9.1.11",
"@salesforce/kit": "^4.0.0",
"@salesforce/sf-plugins-core": "^13.0.4",
"got": "^13.0.0",
Expand All @@ -16,12 +16,18 @@
"devDependencies": {
"@oclif/plugin-command-snapshot": "^6.0.0",
"@salesforce/cli-plugins-testkit": "^5.3.66",
"@salesforce/dev-scripts": "^11.0.4",
"@salesforce/plugin-command-reference": "^3.1.132",
"eslint-plugin-sf-plugin": "^1.20.33",
"@salesforce/dev-scripts": "^14.0.0",
"@salesforce/plugin-command-reference": "^3.1.133",
"@types/chai": "^4.3.17",
"@types/mocha": "^10.0.10",
"@types/node": "^18",
"@types/sinon": "^10.0.20",
"eslint": "^10.4.0",
"eslint-config-salesforce-typescript": "^6.0.0",
"eslint-plugin-sf-plugin": "^3.0.0",
"oclif": "^5.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
"typescript": "^6.0.0"
},
"engines": {
"node": ">=22.0.0"
Expand Down Expand Up @@ -119,6 +125,7 @@
"src/**/*.ts",
"test/**/*.ts",
"messages/**",
"**/eslint.config.*",
"**/.eslint*",
"**/tsconfig.json"
],
Expand Down
2 changes: 1 addition & 1 deletion src/shared/discoverQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const query = async (packages: string[]): Promise<Array<[NpmInfo, StarInf
),
]);

results.push(result as [NpmInfo, StarInfo, SearchInfo]);
results.push(result);
// Add a small delay between packages to avoid rate limiting
// eslint-disable-next-line no-await-in-loop
await sleep(100);
Expand Down
25 changes: 0 additions & 25 deletions test/.eslintrc.cjs

This file was deleted.

3 changes: 2 additions & 1 deletion test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "@salesforce/dev-config/tsconfig-test-strict-esm",
"include": ["./**/*.ts"],
"compilerOptions": {
"skipLibCheck": true
"skipLibCheck": true,
"types": ["mocha"]
}
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"outDir": "lib",
"rootDir": "src",
"skipLibCheck": true
"skipLibCheck": true,
"types": ["mocha"]
},
"include": ["./src/**/*.ts"]
}
Loading
Loading