Skip to content

Commit

Permalink
Update package.json and eslint.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kKahina committed Oct 24, 2024
1 parent cceb350 commit 5968007
Show file tree
Hide file tree
Showing 4 changed files with 648 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
- name: compile shield contracts and circuits
run: |
npm i solc@^0.8.0 -g
chmod +x ./test/test-zapp-actions.sh
TERM=xterm bash ./test/test-zapp-actions.sh
Expand Down
31 changes: 31 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import pluginTs from "@typescript-eslint/eslint-plugin";


export default [
{
languageOptions: {
globals: globals.browser,
parser: "@typescript-eslint/parser", }},
pluginJs.configs.recommended,
{
rules: {
"no-underscore-dangle": "off",
"no-console": "warn",
"no-plusplus": "error",
"import/extensions": "off",
"no-restricted-syntax": "off",
"no-restricted-globals": "off",
"no-cond-assign": "off",
"semi": ["error", "always"],
"quotes": ["error", "double"],
"@typescript-eslint/no-unused-vars": ["warn"],
},
},
{
plugins: {
"@typescript-eslint": pluginTs,
},
}
];
Loading

0 comments on commit 5968007

Please sign in to comment.