-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add Prettier and ESLint to the CCIP Gateway package
- Loading branch information
Showing
21 changed files
with
408 additions
and
326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
root: true, | ||
env: { browser: false }, | ||
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'], | ||
ignorePatterns: ['dist', '.eslintrc.cjs', 'artifacts', 'cache', 'typechain-types'], | ||
parser: '@typescript-eslint/parser', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
{ | ||
"require": "ts-node/register", | ||
"loader": "ts-node/esm", | ||
"extensions": ["ts", "tsx"], | ||
"spec": ["test/**/*.spec.*"], | ||
"watch-files": ["src"] | ||
"extensions": [ | ||
"ts" | ||
], | ||
"spec": [ | ||
"test/**/*.spec.*" | ||
], | ||
"watch-files": [ | ||
"src" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
dist | ||
node_modules | ||
typechain-types | ||
cache | ||
artifacts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"parser": "typescript" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,59 @@ | ||
{ | ||
"name": "@consensys/linea-ccip-gateway", | ||
"version": "1.1.0", | ||
"main": "dist/index.js", | ||
"author": "Consensys", | ||
"license": "Apache-2.0", | ||
"author": "Consensys", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"start": "node dist/server.js", | ||
"build": "tsc --project tsconfig.json --module commonjs --skipLibCheck true --outDir ./dist", | ||
"build": "tsc --project tsconfig.build.json", | ||
"clean": "rm -fr node_modules dist", | ||
"test": "hardhat compile && mocha test/testVerifier.spec.ts --timeout 20000 --exit", | ||
"compile": "hardhat compile" | ||
"compile": "hardhat compile", | ||
"lint": "eslint . --ext ts --report-unused-disable-directives --max-warnings 0", | ||
"prettier": "prettier --check '**/*.ts'", | ||
"prettier:fix": "prettier --write '**/*.ts'", | ||
"start": "node dist/server.js", | ||
"test": "hardhat compile && mocha test/testVerifier.spec.ts --timeout 20000 --exit" | ||
}, | ||
"dependencies": { | ||
"@chainlink/ccip-read-server": "^0.2.1", | ||
"@consensys/linea-state-verifier": "^1.0.1", | ||
"@ethersproject/abi": "^5.4.7", | ||
"@ethersproject/bytes": "^5.7.0", | ||
"@chainlink/ccip-read-server": "^0.2.1", | ||
"commander": "^11.0.0", | ||
"cors": "^2.8.5", | ||
"dotenv": "^16.0.3", | ||
"ethers": "^6.11.1", | ||
"express": "^4.19.2", | ||
"@consensys/linea-state-verifier": "^1.0.1", | ||
"tsdx": "^0.14.1", | ||
"tslib": "^2.6.2", | ||
"winston": "^3.9.0", | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.4.5", | ||
"winston": "^3.9.0" | ||
}, | ||
"devDependencies": { | ||
"typechain": "^8.2.0", | ||
"@typechain/ethers-v6": "^0.4.0", | ||
"ts-node": "^10.9.2", | ||
"supertest": "^6.3.3", | ||
"eslint": "^8.56.0", | ||
"mocha": "^10.3.0", | ||
"@openzeppelin/contracts": "^4.9.3", | ||
"hardhat-gas-reporter": "^1.0.8", | ||
"solidity-coverage": "^0.8.1", | ||
"hardhat": "^2.21.0", | ||
"@typescript-eslint/eslint-plugin": "^7.1.0", | ||
"@typescript-eslint/parser": "^7.1.0", | ||
"chai": "^4.2.0", | ||
"@typechain/hardhat": "^8.0.0", | ||
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0", | ||
"@nomicfoundation/hardhat-ethers": "^3.0.0", | ||
"@nomicfoundation/hardhat-network-helpers": "^1.0.0", | ||
"@nomicfoundation/hardhat-toolbox": "^3.0.0", | ||
"@nomicfoundation/hardhat-verify": "^1.0.0", | ||
"@openzeppelin/contracts": "^4.9.3", | ||
"@typechain/ethers-v6": "^0.4.0", | ||
"@typechain/hardhat": "^8.0.0", | ||
"@types/chai": "^4.2.0", | ||
"@types/express": "^4.17.18", | ||
"@types/mocha": ">=9.1.0", | ||
"@types/node": "12.0.0", | ||
"@types/supertest": "^2.0.14", | ||
"nyc": "^15.1.0" | ||
"@typescript-eslint/eslint-plugin": "^7.6.0", | ||
"@typescript-eslint/parser": "^7.6.0", | ||
"chai": "^4.2.0", | ||
"eslint": "^8.57.0", | ||
"hardhat": "^2.21.0", | ||
"hardhat-gas-reporter": "^1.0.8", | ||
"mocha": "^10.3.0", | ||
"nyc": "^15.1.0", | ||
"solidity-coverage": "^0.8.1", | ||
"supertest": "^6.3.3", | ||
"ts-node": "^10.9.2", | ||
"typechain": "^8.2.0" | ||
} | ||
} |
Oops, something went wrong.