Skip to content

Commit

Permalink
feat: update ESLint configuration and add lint script in solidity/pac…
Browse files Browse the repository at this point in the history
…kage.json
  • Loading branch information
ljankovic-txfusion committed Feb 3, 2025
1 parent d84da15 commit 17cf30d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions solidity/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ export default [
...MonorepoDefaults,
{
ignores: [
'./test/**/*',
'./dist/**/*',
'**/test/**/*',
'**/dist/**/*',
'**/typechain/**/*',
'.solcover.js',
'generate-artifact-exports.mjs',
],
},
];
2 changes: 1 addition & 1 deletion solidity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"build": "yarn version:update && yarn hardhat-esm compile && tsc && ./exportBuildArtifact.sh",
"build:zk": "yarn hardhat-zk compile && tsc && ts-node generate-artifact-exports.mjs && ZKSYNC=true ./exportBuildArtifact.sh",
"prepublishOnly": "yarn build && yarn build:zk",
"lint": "solhint contracts/**/*.sol",
"lint": "solhint contracts/**/*.sol && eslint -c ./eslint.config.mjs",
"clean": "yarn hardhat-esm clean && yarn hardhat-zk clean && rm -rf ./dist ./cache ./cache-zk ./types ./coverage ./out ./forge-cache ./fixtures",
"coverage": "yarn fixtures && ./coverage.sh",
"docs": "forge doc",
Expand Down

0 comments on commit 17cf30d

Please sign in to comment.