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

refactor: cleaning unused files #614

Merged
merged 14 commits into from
Nov 25, 2024
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
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
const RuleConfigSeverity = require("@commitlint/types").RuleConfigSeverity;
import { RuleConfigSeverity } from '@commitlint/types';

const Configuration = {
/*
* Resolve and load @commitlint/config-conventional from node_modules.
* Referenced packages must be installed
*/
extends: ["@commitlint/config-conventional"],
extends: ['@commitlint/config-conventional'],
/*
* Resolve and load conventional-changelog-atom from node_modules.
* Referenced packages must be installed
*/
parserPreset: "conventional-changelog-conventionalcommits",
parserPreset: 'conventional-changelog-conventionalcommits',
/*
* Resolve and load @commitlint/format from node_modules.
* Referenced package must be installed
*/
formatter: "@commitlint/format",
formatter: '@commitlint/format',
/*
* Any rules defined here will override rules from @commitlint/config-conventional
*/
rules: {
"type-empty": [RuleConfigSeverity.Error, "never"],
'type-empty': [RuleConfigSeverity.Error, 'never'],
},
};

module.exports = Configuration;
export default Configuration;
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
run: |
npm install -g @commitlint/cli@^18
- name: Validate all commits from PR
run: npx commitlint --config .github/config/commitlint.config.js --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
run: npx commitlint --config .github/config/commitlint.config.ts --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
18 changes: 8 additions & 10 deletions .solcover.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
module.exports = {
istanbulReporter: ["html", "lcov"],
providerOptions: {
mnemonic: process.env.MNEMONIC,
},
skipFiles: ["test"],
mocha: {
fgrep: "[skip-on-coverage]",
invert: true,
},
export const istanbulReporter = ["html", "lcov"];
export const providerOptions = {
mnemonic: process.env.MNEMONIC,
};
export const skipFiles = ["test"];
export const mocha = {
fgrep: "[skip-on-coverage]",
invert: true,
};
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ npm run fhevm:start
# in another terminal
npm i
cp .env.example .env
./scripts/faucet.sh
npm run fhevm:faucet:alice
npm run fhevm:faucet:bob
npm run fhevm:faucet:carol
npm test
```

Expand Down
25 changes: 0 additions & 25 deletions ci/scripts/run_ERC20.sh

This file was deleted.

28 changes: 0 additions & 28 deletions ci/scripts/run_ERC20_ci_test.sh

This file was deleted.

28 changes: 0 additions & 28 deletions ci/scripts/run_ERC20_e2e_test.sh

This file was deleted.

18 changes: 0 additions & 18 deletions deploy/deploy.ts

This file was deleted.

32 changes: 0 additions & 32 deletions examples/ACLUpgradedExample.sol

This file was deleted.

32 changes: 0 additions & 32 deletions examples/ACLUpgradedExample2.sol

This file was deleted.

32 changes: 0 additions & 32 deletions examples/FHEPaymentUpgradedExample.sol

This file was deleted.

32 changes: 0 additions & 32 deletions examples/GatewayContractUpgradedExample.sol

This file was deleted.

32 changes: 0 additions & 32 deletions examples/KMSUpgradedExample.sol

This file was deleted.

35 changes: 0 additions & 35 deletions examples/TFHEExecutorUpgradedExample.sol

This file was deleted.

Loading