Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update prettier-plugin-solidity from 1.0.0-beta.24 to 1.0.0 🎉 #282

Merged
merged 5 commits into from
Nov 24, 2022
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
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
- name: Lint
run: yarn lint

- name: Download foundryup
run: curl -L https://foundry.paradigm.xyz | bash

- name: Install foundry
run: ~/.foundry/bin/foundryup

- name: Run server tests
run: yarn run test:codecov

Expand Down
9 changes: 9 additions & 0 deletions client/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@ module.exports = {
project: `${__dirname}/tsconfig.json`,
sourceType: "module",
},
overrides: [
{
files: ["**/*.ts"],
rules: {
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-empty-function": "warn",
},
},
],
};
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"@sentry/node": "6.19.1",
"prettier": "2.5.1",
"prettier-plugin-solidity": "1.0.0-beta.24",
"prettier-plugin-solidity": "1.0.0",
"vscode-languageclient": "^7.0.0"
}
}
4 changes: 4 additions & 0 deletions client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export async function activate(context: ExtensionContext) {
showAnalyticsAllowPopup(extensionState);
// eslint-disable-next-line @typescript-eslint/no-floating-promises
warnOnOtherSolidityExtensions(extensionState);

return {
isReady: () => extensionState?.indexingFinished,
};
}

export function deactivate() {
Expand Down
81 changes: 0 additions & 81 deletions client/src/languageitems/hardhatProject.ts

This file was deleted.

150 changes: 0 additions & 150 deletions client/src/popups/setupIndexingHooks.ts

This file was deleted.

18 changes: 0 additions & 18 deletions client/src/setup/onDidChangeActiveTextEditor.ts

This file was deleted.

3 changes: 2 additions & 1 deletion client/src/setup/setupExtensionState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ export function setupExtensionState(
hardhatTelemetryEnabled:
workspace.getConfiguration("hardhat").get<boolean>("telemetry") ?? false,
globalTelemetryEnabled: env.isTelemetryEnabled,
hardhatConfigStatusItem: null,
projectStatusItems: [],

telemetry,
outputChannel,
commandsOutputChannel,
logger,
hardhatProjects: [],
indexingFinished: false,
};

telemetry.init(extensionState);
Expand Down
Loading