Skip to content

Commit

Permalink
Merge pull request #614 from PacificYield/cleanup
Browse files Browse the repository at this point in the history
refactor: cleaning unused files
  • Loading branch information
PacificYield authored Nov 25, 2024
2 parents 2ff952e + 674916d commit aeec384
Show file tree
Hide file tree
Showing 47 changed files with 42 additions and 2,304 deletions.
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

0 comments on commit aeec384

Please sign in to comment.