Skip to content

Commit

Permalink
eslint adding in main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kKahina committed Oct 22, 2024
1 parent 4cca03e commit 7c3787f
Show file tree
Hide file tree
Showing 6 changed files with 220 additions and 244 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- name: compile shield contracts and circuits
run: |
npm init @eslint/config@latest
npm i solc@^0.8.0 -g
chmod +x ./test/test-zapp-actions.sh
TERM=xterm bash ./test/test-zapp-actions.sh
Expand Down
3 changes: 0 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";


export default [
{files: ["**/*.{js,mjs,cjs,ts}"]},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];
Loading

0 comments on commit 7c3787f

Please sign in to comment.