Skip to content

Commit 1f4f4ab

Browse files
committed
chore: updates from devScripts
1 parent 75fdffb commit 1f4f4ab

8 files changed

Lines changed: 996 additions & 1722 deletions

File tree

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.cjs

Lines changed: 0 additions & 4 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from 'eslint-config-salesforce-typescript';

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@
1212
"devDependencies": {
1313
"@oclif/plugin-command-snapshot": "^5.2.3",
1414
"@salesforce/cli-plugins-testkit": "^5.3.20",
15-
"@salesforce/dev-scripts": "^11.0.4",
15+
"@salesforce/dev-scripts": "^14.0.0",
16+
"@types/chai": "^4.3.17",
17+
"@types/mocha": "^10.0.10",
18+
"@types/node": "^18",
19+
"@types/sinon": "^10.0.20",
20+
"eslint": "^10.4.0",
21+
"eslint-config-salesforce-typescript": "^6.0.0",
1622
"eslint-plugin-sf-plugin": "^1.18.8",
1723
"oclif": "^4.14.0",
1824
"ts-node": "^10.9.2",
19-
"typescript": "^5.5.4"
25+
"typescript": "^6.0.0"
2026
},
2127
"engines": {
2228
"node": ">=18.0.0"
@@ -118,6 +124,7 @@
118124
"src/**/*.ts",
119125
"test/**/*.ts",
120126
"messages/**",
127+
"**/eslint.config.*",
121128
"**/.eslint*",
122129
"**/tsconfig.json"
123130
],

test/.eslintrc.cjs

Lines changed: 0 additions & 19 deletions
This file was deleted.

test/commands/data-code-extension/deploy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ describe('data-code-extension deploy', () => {
339339
} catch (error: unknown) {
340340
expect(error).to.be.instanceOf(Error);
341341
// The framework may wrap the thrown SfError as a cause on the command error.
342-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
342+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
343343
const cause = (error as any).cause;
344344
if (cause) {
345345
expect(cause).to.be.instanceOf(SfError);

test/commands/data-code-extension/run.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ describe('data-code-extension run', () => {
180180
} catch (error: unknown) {
181181
expect(error).to.be.instanceOf(Error);
182182
// The framework may wrap the thrown SfError as a cause on the command error.
183-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
183+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
184184
const cause = (error as any).cause;
185185
if (cause) {
186186
expect(cause).to.be.instanceOf(SfError);

0 commit comments

Comments
 (0)